public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] apache: Directory index forbidden by Options directive
@ 2007-10-08  8:44 Arnau Bria
  2007-10-08 12:52 ` Steve Dommett
  0 siblings, 1 reply; 9+ messages in thread
From: Arnau Bria @ 2007-10-08  8:44 UTC (permalink / raw
  To: gentoo-user

Hi,

My apache2 worked fine until lasta Friday I update it to 2.2.6.
Now, when I try to access my drupal site, I see this error in firefox:

You don't have permission to access / on this server.

and looking error log file:

Directory index forbidden by Options directive: /var/www/www.site.com/htdocs/

That's my apache file in conf.d:

APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D PHP5"

and my vhosts:
# ls
00_default_ssl_vhost.conf  00_default_vhost.conf

# cat 00_default_vhost.conf |grep -v "^#" |grep .
Listen 80
NameVirtualHost *:80
<VirtualHost *:80>
    DocumentRoot "/var/www/localhost/htdocs"
    RewriteEngine on
    RewriteRule ^/(.*) http://www.site.com
        <Directory "/var/www/localhost/htdocs">
                Options FollowSymLinks 
                Order Allow,Deny
                Allow from all
        </Directory>
    <IfModule peruser.c>
        ServerEnvironment apache apache
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>
    <IfModule itk.c>
        AssignUserID apache apache
        MaxClientsVHost 50
    </IfModule>
</VirtualHost>
<VirtualHost *:80>
        DocumentRoot /var/www/www.site.com/htdocs
        ServerName www.site.com
        ServerAdmin arnau@emergetux.net
        ErrorLog /var/log/apache2/error_log
        CustomLog /var/log/apache2/log_access_common combined
        <Directory "/var/www/www.site.com/htdocs">
        Options FollowSymLinks
        AllowOverride None
        Order Allow,Deny
        Allow from all
        </Directory>
</VirtualHost> 

(I have removed default_vhost.include).


I've been looking for the error in gentoo forums, and many people talak
about Allow/Deny in options section, but I don not find any Deny from
all....

 # grep -i -r deny *
modules.d/00_error_documents.conf:      Order allow,deny
modules.d/00_autoindex.conf:    Order allow,deny
modules.d/00_mod_userdir.conf:          Order allow,deny
modules.d/00_mod_userdir.conf:          Order deny,allow
modules.d/00_mod_userdir.conf:          Deny from all
modules.d/00_mod_info.conf:     Order deny,allow
modules.d/00_mod_info.conf:     Deny from all
modules.d/00_mod_info.conf:     Order deny,allow
modules.d/00_mod_info.conf:     Deny from all
modules.d/46_mod_ldap.conf:     Order deny,allow
modules.d/46_mod_ldap.conf:     Deny from all
modules.d/00_default_settings.conf:     Order deny,allow
modules.d/00_default_settings.conf:     Deny from all
modules.d/00_default_settings.conf:     Order allow,deny
modules.d/00_default_settings.conf:     Deny from all
vhosts.d/00_default_vhost.conf:                 Order Allow,Deny
vhosts.d/00_default_vhost.conf: Order Allow,Deny

[I] www-servers/apache
     Available versions:  (2)  2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.6 ~2.2.6-r1
        {apache2 debug doc ldap mpm-event mpm-itk mpm-leader mpm-peruser mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl static-modules threads}
     Installed versions:  2.2.6(2)(18:45:26 05/10/07)(-debug -doc -ldap -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec -selinux ssl -static-modules -threads)



TIA,

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-09  8:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08  8:44 [gentoo-user] apache: Directory index forbidden by Options directive Arnau Bria
2007-10-08 12:52 ` Steve Dommett
2007-10-08 13:25   ` Arnau Bria
2007-10-08 13:43     ` Steve Dommett
2007-10-08 14:27       ` Arnau Bria
2007-10-08 14:42         ` Dan Farrell
2007-10-09  7:42           ` Arnau Bria
2007-10-08 19:17     ` Randy Barlow
2007-10-08 21:29     ` Hans-Werner Hilse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox