Re: Apache odd behavior

From: Date: Mon, 16 Feb 2009 10:25:28 +0000
Subject: Re: Apache odd behavior
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-288309@lists.php.net to get a copy of this message
Paul M Foster wrote:
I'm submitting a url like this: http://mysite.com/index.php/alfa/bravo/charlie/delta
Why would you want to do such a thing? If you want parameters in the filename without using get, use mod_rewrite and explode the page name - and use a delimiter or than a / - IE use an underscore, dash, upper case vs lower, etc to indicate your different variables. / has a special meaning in a URL string, I don't understand the motive of wanting to use it as a delimiter in a filename. That calls all kinds of weird issues (like the one you are experiencing, which is because the browser has no way to know index.php is a page - and the browser resolves relative URL's - that's not an apache issue)

« previous php.general (#288309) next »