Page 1 of 1

Strange url redirect

PostPosted: 29. April 2004 12:00
by alainc
Xampp is working fine in every day usage, but I found a strange behavior : trying to explain it clearly !

image you have the following directory structure :

/mysite/mysub/
|------ myprocess.php

if you try http://servername/mysite/myprocess/fakedir/dumb.php
I'm waiting for a 404 error...

but you get :

http://servername/mysite/myprocess.php/fakedir/dumb.php
where fakedir/dumb.php are passed as $_GET string.

it seems to work as if a hidden rewrite rule have been set, but I can't find it neither in httpd.conf nor a .htaccess.

Any idea ?

Re: Strange url redirect

PostPosted: 29. April 2004 14:15
by Wiedmann
it seems to work as if a hidden rewrite rule have been set, but I can't find it neither in httpd.conf nor a .htaccess.

You can determine this behavior if:
LoadModule negotiation_module modules/mod_negotiation.so
is set in the httpd.conf and
Options +MultiViews
is set for a directory in the httpd.conf or .htaccess

Re: Strange url redirect

PostPosted: 29. April 2004 23:43
by alainc
That's it !
I've learned something new today !
thanks for your fast reply. :)