A few questions
Nuno Magalhães
nunomagalhaes at eu.ipp.pt
Wed Jul 15 02:07:02 MSD 2009
On Tue, Jul 14, 2009 at 22:17, Luka Horvatic<lists at ruby-forum.com> wrote:
> First,for some reason virtual host which i create,i always get error
> 403. [...]
About your first paragraph:
The HTTP 403 Forbidden, as you've already undoubtedly searched, means
the server won't let the client access that resource. One common issue
is permissions indeed: did you try to 777 everything, including the
pertaining directory? Another problem is accessing directories
(domain.com/foo/) that do not have an index.* file. If the server is
configured not to list the contents of that directory, it'll send 403.
server {
listen 81;
server_name www.domain.com *.domain.com ;
You don't need the *.
location / {
root bla;
Should be root /bla, starting from your system's /
RTFM the rest
--
() ascii ribbon campaign - against html e-mail
/\ ascii-rubanda kampajno - kontraŭ html-a retpoŝto
More information about the nginx
mailing list