missing SCRIPT_URL with Apache2, mod_php and mod_rewrite
| From: | Neal Katz | Date: | Mon, 30 Aug 2004 06:58:13 +0000 |
| Subject: | missing SCRIPT_URL with Apache2, mod_php and mod_rewrite | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14254@lists.php.net to get a copy of this message | ||
Hi,
I am trying to port over some code that uses the SCRIPT_URL environment
variable - which is exposed by Apache mod_rewrite, but SCRIPT_URL and
SCRIPT_URI are undefined in my environment.
I am running Suse 9.1 with the standard Apache2, mod_php4 and mod_rewrite.
I have tried changing the order that modules are loaded, but that did not
affect anything
Any help would be greatly appreciated.
Thanks
PHP Version 4.3.4
Configure Command './configure' '--prefix=/usr'
'--datadir=/usr/share/php'
'--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share'
'--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib'
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'
'--disable-debug' '--enable-inline-optimization'
'--enable-memory-limit'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild'
'--disable-ctype' '--disable-session' '--without-mysql'
'--disable-cli'
'--without-pear' '--with-openssl'
'--with-apxs2=/usr/sbin/apxs2-prefork'
'i586-suse-linux'
Server API Apache 2.0 Handler