httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Godrej <>
Subject Re: [users@httpd] permissions problem on my webserver
Date Fri, 04 Feb 2011 17:45:32 GMT

----- Original Message ----
From: Sander Temme <>
Sent: Fri, 4 February, 2011 11:01:56 PM
Subject: Re: [users@httpd] permissions problem on my webserver

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.  


> 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 
> - - [04/Feb/2011:20:31:08 +0530] "GET / HTTP/1.1" 403 261 "-" 
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 
> Ubuntu/10.04 (lucid) Firefox/3.6.12"
> and in error.log 
> [Fri Feb 04 20:30:23 2011] [error] [client] Directory index 
> forbidden by Options directive: /var/www/
> [Fri Feb 04 20:31:08 2011] [error] [client] Directory index 
> forbidden by Options directive: /var/www/

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

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


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

View my availability:

I do not agree to what you said.I have 9 more Content management system in 
similar configuration.I created directories for each of them 

in /var/www
and I did not had to do any thing special to reach them.
I am trying this experiment on my local machine and once this works I have to 
deploy it to a production machine.
Which has all those 9 lmses running.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message