Strange url redirect

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Strange url redirect

Postby alainc » 29. April 2004 12:00

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 ?
alainc
 
Posts: 2
Joined: 26. April 2004 09:55
Location: France

Re: Strange url redirect

Postby Wiedmann » 29. April 2004 14:15

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
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Strange url redirect

Postby alainc » 29. April 2004 23:43

That's it !
I've learned something new today !
thanks for your fast reply. :)
alainc
 
Posts: 2
Joined: 26. April 2004 09:55
Location: France


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests