Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Mon, 8 Oct 2007 09:42:20 -0500 Dan Farrell wrote: > On Mon, 8 Oct 2007 16:27:16 +0200 > Arnau Bria <[EMAIL PROTECTED]> wrote: > PHP should get working fine though, have no fear. Yesterday, after a reboot, apache & php start working. I did not check, but I'm pretty sure apache process did not die and restart when I did it. Thanks to all for your replies. Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
Hi, On Mon, 8 Oct 2007 15:25:23 +0200 Arnau Bria <[EMAIL PROTECTED]> wrote: > You're right, I needed index.php... but now php does not work!!! > > I'm looking for some info in gentoo wiki and I think I have all fine: > > APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D PHP5" > in conf.d/apache And you have Apache config files that actually still uses those Defines? (i.e. those that were installed with the new Apache) -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
Arnau Bria wrote: > You're right, I needed index.php... but now php does not work!!! I actually just did this upgrade as well, and also found php not to work (and revdep-rebuild didn't catch it). Re-emerge php and look in /etc/apache2/modules.d for the mod_php file. If you've got that and you've reinstalled php should work again! -- Randy Barlow http://electronsweatshop.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Mon, 8 Oct 2007 16:27:16 +0200 Arnau Bria <[EMAIL PROTECTED]> wrote: > > > Why so many changes in this upgrade?¿? > > You'd best ask the Apache devs. I thought the changelog for 2.2.6 > > was quite short myself. > Well, it was more a rhetorical question, but thanks for your reply :-) A number of module names changed as well, as their functions were restructured. That also caused me some head ache. PHP should get working fine though, have no fear. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Mon, 8 Oct 2007 14:43:08 +0100 Steve Dommett wrote: > On Monday 08 October 2007, Arnau Bria wrote: > > You're right, I needed index.php... but now php does not work!!! > Have you run revdep-rebuild, or even simply manually re-emerged PHP > after updating Apache? Both, I always do a revdep-rebuild after an update. > > not sure if all those dir should be empty... > > could you please confirm? > I have only php.ini, as do you. thanks. > > Why so many changes in this upgrade?¿? > You'd best ask the Apache devs. I thought the changelog for 2.2.6 > was quite short myself. Well, it was more a rhetorical question, but thanks for your reply :-) Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Monday 08 October 2007, Arnau Bria wrote: > You're right, I needed index.php... but now php does not work!!! Have you run revdep-rebuild, or even simply manually re-emerged PHP after updating Apache? > not sure if all those dir should be empty... > could you please confirm? I have only php.ini, as do you. > Why so many changes in this upgrade?¿? You'd best ask the Apache devs. I thought the changelog for 2.2.6 was quite short myself. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Mon, 8 Oct 2007 13:52:41 +0100 Steve Dommett wrote: > On Monday 08 October 2007, Arnau Bria wrote: > > 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: > > I'm just guessing, but Apache 2.2.6 removed "index.htm" from the list > of default index files. It may be possible to restore the use of > your site by following the advice > in /etc/apache2/modules.d/00_default_settings.conf in the > DirectoryIndex setting. You're right, I needed index.php... but now php does not work!!! I'm looking for some info in gentoo wiki and I think I have all fine: APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D PHP5" in conf.d/apache [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 [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 But: afrodita apache2-php5 # pwd /etc/php/apache2-php5 afrodita apache2-php5 # ls -lsa * 48 -rw-r--r-- 1 root root 45251 oct 4 20:53 php.ini ext: total 8 4 drwxr-xr-x 2 root root 4096 oct 4 20:54 . 4 drwxr-xr-x 4 root root 4096 oct 5 13:40 .. ext-active: total 8 4 drwxr-xr-x 2 root root 4096 oct 4 20:54 . 4 drwxr-xr-x 4 root root 4096 oct 5 13:40 .. not sure if all those dir should be empty... could you please confirm? > Personally I just symlinked index.html to index.htm. Why so many changes in this upgrade?¿? TIA, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache: Directory index forbidden by Options directive
On Monday 08 October 2007, Arnau Bria wrote: > 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: I'm just guessing, but Apache 2.2.6 removed "index.htm" from the list of default index files. It may be possible to restore the use of your site by following the advice in /etc/apache2/modules.d/00_default_settings.conf in the DirectoryIndex setting. Personally I just symlinked index.html to index.htm. -- [EMAIL PROTECTED] mailing list