Re: permissions problem on my webserver

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

 



On Feb 4, 2011, at 7:08 AM, James Godrej wrote:

> 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."

You must have removed that index.html, and the resultant overlay of the Options statements in your config is that Indexes are forbidden. 

Note that the default vhost on Ubuntu has a <Directory "/" > block, and the main server config doesn't.  

I have never heard of Ilias, but you'll find that http://localhost/ilias/ will give you better results.  

S. 

> 
> 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>

You don't specify Options Indexes for <Directory "/var/www">, so you're working with whatever the server default is.  

> 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/

Options, or lack thereof which means you're working with whatever is the server default.

> What should I do in this situation?

What are you trying to achieve?  The path to the Ilias installation is under the subdirectory, can you get there?  Would you rather have that in the root dir? 

If you want to show content in the root dir, put content in there (you must have removed the default index.html).  If you want to have Ilias in the root dir, unzip it there or make the ilias directory your root.

S.

-- 
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: FC5A 6FC6 2E25 2DFD 8007  EE23 9BB8 63B0 F51B B88A

View my availability: http://tungle.me/sctemme




---------------------------------------------------------------------
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