Apache2 conundrum - update

hkb kurth at kurthbemis.com
Wed Dec 17 11:04:40 EST 2008


It's still early yet ( :^) ), but didn't you say that you're getting the
php source in your browser?  If so then httpd isn't parsing php files.
Make sure you are loading the php SO file by issuing

/usr/sbin/httpd -t -D DUMP_MODULES | grep php

should show you if httpd is attempting to load the php SO.

You can also use 

/usr/sbin/httpd -t -D DUMP_VHOSTS

to make sure that your vhost is being processed by httpd.

hth
~kurth

On Wed, 2008-12-17 at 10:40 -0500, Neil Joseph Schelly wrote:
> I think it would help if you found out what index.php code is running when you 
> make the http://sitename/ request.  Try adding something to that doesn't 
> exist (http://sitename/doesntexist/, so that Apache's error log will show you 
> a path to the file it can't find.
> 
> Is it possible that there's a MultiViews configuration in place here that may 
> be directing requests to a less obvious file?  Did the upgrades you had 
> change the Apache configuration with regard to DirectoryIndex options?  Did 
> those upgrades change the lines in the Apache configuration that 
> load/configure mod_php?  
> -N
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/



More information about the gnhlug-discuss mailing list