Symfony uses exactly this method for pretty urls. Check it out. Maybe it has
everything you want :). Have a look at symfony's .htaccess rewrite rules at
least. You have a few possibilities here: You can make ur own rewrite for
urls that contain index.php or rewrite<>as and other urls...

Or in your framework or cms or whatever have helper functions to get the
right urls for images etc. Paths like simply putting <img
src="/images/myimg.png" alt="my img" /> shouldnt be too hard either.

Tim-Hinnerk Heuer
Mike Ditka  - "If God had wanted man to play soccer, he wouldn't have given
us arms."

2009/2/16 Michael A. Peters <>

> Paul M Foster wrote:
> > I'm submitting a url like this:
> >
> >
> 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)
> --
> PHP General Mailing List (
> To unsubscribe, visit:

Reply via email to