mod_vhost_alias
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

mod_vhost_alias

From: Andy Jacobs <andy@redcatmedia.net>
Date: Fri Mar 31 2006 - 11:03:21 CEST

Hi all

We have the mod_vhost_alias module installed on our FreeBSD box. This has
screwed up the $_SERVER['DOCUMENT_ROOT'] variable for php as it's set to
/home in httpd.conf.

This is the most contrary thing I've every seen as (probably) 99% of scripts
out there will rely on this to some extent. Does anyone know if there is a
work round for this? We don't want to turn the module off. The
server_path_translated variable is no good without modifying the code to
strip of the actual script file on the end.

Regards

Andy
Received on Mon May 1 02:45:39 2006