DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40102





------- Additional Comments From [EMAIL PROTECTED]  2006-08-03 08:58 -------
It seems that if you place the rules under VirtualHost more things are mangled 
- ie. PATH_INFO. 

For example, for virtual host of test.nebula.intranet and root dir the 
variables are initialized as follows:

$_SERVER['DOCUMENT_ROOT'] = '/var/www/localhost/htdocs/test'
$_SERVER['SCRIPT_FILENAME'] = '/var/www/localhost/htdocs/test/index.php'
$_SERVER['REQUEST_URI'] = '/'
$_SERVER['SCRIPT_NAME'] = ''
$_SERVER['PATH_INFO'] = '/index.html' // OMG!

And now with deeper URL where PATH_INFO should be initialized - (SCRIPT_NAME is 
still wrong):

$_SERVER['DOCUMENT_ROOT'] = '/var/www/localhost/htdocs/test'
$_SERVER['SCRIPT_FILENAME'] = '/var/www/localhost/htdocs/test/index.php'
$_SERVER['REQUEST_URI'] = '/archive/2006/05'
$_SERVER['SCRIPT_NAME'] = ''
$_SERVER['PATH_INFO'] = '/archive/2006/05'

SCRIPT_NAME should be '/index.php' in both of those examples.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to