Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] apache: Directory index forbidden by Options directive
Date: Mon, 08 Oct 2007 13:43:30
Message-Id: 20071008152523.393591d3@lx-arnau.pic.es
In Reply to: Re: [gentoo-user] apache: Directory index forbidden by Options directive by Steve Dommett
1 On Mon, 8 Oct 2007 13:52:41 +0100
2 Steve Dommett wrote:
3
4 > On Monday 08 October 2007, Arnau Bria wrote:
5 > > My apache2 worked fine until lasta Friday I update it to 2.2.6.
6 > > Now, when I try to access my drupal site, I see this error in
7 > > firefox:
8 >
9 > I'm just guessing, but Apache 2.2.6 removed "index.htm" from the list
10 > of default index files. It may be possible to restore the use of
11 > your site by following the advice
12 > in /etc/apache2/modules.d/00_default_settings.conf in the
13 > DirectoryIndex setting.
14 You're right, I needed index.php... but now php does not work!!!
15
16 I'm looking for some info in gentoo wiki and I think I have all fine:
17
18 APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D PHP5"
19 in conf.d/apache
20
21 [ebuild R ] dev-lang/php-5.2.4_p20070914-r2 USE="apache2 berkdb cgi cli crypt ctype gdbm iconv imap mysql ncurses nls pcre readline session snmp spl ssl truetype unicode xml zlib -adabas -bcmath -birdstep -bzip2 -calendar -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -reflection -sapdb -sharedext -sharedmem -simplexml -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB
22
23 [ebuild R ] www-servers/apache-2.2.6 USE="ssl -debug -doc -ldap -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux) -static-modules -threads" 0 kB
24
25 But:
26
27 afrodita apache2-php5 # pwd
28 /etc/php/apache2-php5
29 afrodita apache2-php5 # ls -lsa *
30 48 -rw-r--r-- 1 root root 45251 oct 4 20:53 php.ini
31
32 ext:
33 total 8
34 4 drwxr-xr-x 2 root root 4096 oct 4 20:54 .
35 4 drwxr-xr-x 4 root root 4096 oct 5 13:40 ..
36
37 ext-active:
38 total 8
39 4 drwxr-xr-x 2 root root 4096 oct 4 20:54 .
40 4 drwxr-xr-x 4 root root 4096 oct 5 13:40 ..
41
42
43 not sure if all those dir should be empty...
44 could you please confirm?
45
46 > Personally I just symlinked index.html to index.htm.
47 Why so many changes in this upgrade?¿?
48
49 TIA,
50 --
51 Arnau Bria
52 http://blog.emergetux.net
53 Bombing for peace is like fucking for virginity
54 --
55 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] apache: Directory index forbidden by Options directive Steve Dommett <steve@×××××.net>
Re: [gentoo-user] apache: Directory index forbidden by Options directive Randy Barlow <randy@×××××××××××××××××.com>
Re: [gentoo-user] apache: Directory index forbidden by Options directive Hans-Werner Hilse <hilse@×××.de>