Re: permissions problem on my webserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "James Godrej" <jamesgodrej@xxxxxxxx> 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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux