----- Original Message ----
From: Joost de Heer <[email protected]>
To: [email protected]
Sent: Fri, 4 February, 2011 8:47:44 PM
Subject: Re: [users@httpd] permissions problem on my webserver
On Fri, February 4, 2011 16:08, 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."
> What should I do in this situation?
Add the proper DirectoryIndex
(http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex).
Joost
---------------------------------------------------------------------
Yes this came to my mind also so I did the new vhost configuration as
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory /var/www>
DirectoryIndex index.html index.php
Options Indexes FollowSymLinks
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
but this still did not helped.
I checked this link also
http://onlamp.com/pub/a/apache/2004/04/22/apacheckbk.html
I tried in vhost above
Options +Indexes FollowSymLinks
but this also did not helped me much.
Any more suggestions?
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]