httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] permissions problem on my webserver
Date Fri, 04 Feb 2011 15:46:54 GMT

----- "James Godrej" <jamesgodrej@yahoo.in> wrote:

> I just installed lamp on Ubuntu 10.04.
> So all files are default and when I check http://localhost
> I see the index page of Ubuntu which says It works!!
> So upto here the installation was very smooth.
> Now comes the problem I download a lms known as ilias from web
> and put it in /var/www extract it so it is some thing now
> 
> /var/www/
> /var/www/ilias/
> /var/www/ilias/rest/of/the/files
> 
> permissions
> root@james:/var/www# ls -l
> total 4
> drwxr-xr-x 15 www-data www-data 4096 2010-06-14 22:05 ilias
> 
> when I go to a browser then rather than seeing the index page what I
> see is the
> directory starts getting downloaded.(Now I see a permissions denied
> error)
> "You don't have permission to access / on this server."
> 
> Following is my vhost
> 
> <VirtualHost *:80>
>         ServerAdmin webmaster@localhost
>         DocumentRoot /var/www
>         ErrorLog /var/log/apache2/error.log
>         LogLevel warn
>         CustomLog /var/log/apache2/access.log combined
> </VirtualHost>
> 
> and following line I see in log
> 192.168.43.1 - - [04/Feb/2011:20:31:08 +0530] "GET / HTTP/1.1" 403 261
> "-"
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027
> Ubuntu/10.04 (lucid) Firefox/3.6.12"
> 
> and in error.log
> 
> [Fri Feb 04 20:30:23 2011] [error] [client 192.168.43.1] Directory
> index
> forbidden by Options directive: /var/www/
> [Fri Feb 04 20:31:08 2011] [error] [client 192.168.43.1] Directory
> index
> forbidden by Options directive: /var/www/
> 
> What should I do in this situation?

See:
http://onlamp.com/pub/a/apache/2004/04/22/apacheckbk.html

For all cases that cause a "forbidden" error in the frontend.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message