Re: permissions problem on my webserver

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

 






----- Original Message ----
From: James Godrej <jamesgodrej@xxxxxxxx>
To: users@xxxxxxxxxxxxxxxx; joost@xxxxxxxxxxxxxxxxx
Sent: Fri, 4 February, 2011 10:06:20 PM
Subject: Re:  permissions problem on my webserver





----- Original Message ----
From: Joost de Heer <joost@xxxxxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Fri, 4 February, 2011 8:47:44 PM
Subject: Re:  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?




---------------------------------------------------------------------
I further want some thing to this situation

Here is apache log when I access the site on machine where it actually is as 
http://localhost

127.0.0.1 - - [04/Feb/2011:22:18:29 +0530] "GET 
/ilias/templates/default/images/ButtonsBack.gif HTTP/1.1" 304 - 
"http://localhost/ilias/templates/default/delos.css"; "Mozilla/5.0 (X11; U; Linux 
i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8"

but when I do http://192.168.43.129/ilias/

I do not see any entry in /var/log/apache2/access.log . The most surprising part 
of this problem is I have installed Ubuntu in a Vmware running on a Laptop. So 
no question of gateway etc.The IP of Guest Ubuntu is 192.168.43.129 and that of 
host Ubuntu is 192.168.1.3

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