|
Posted by Csaba Gabor on 12/21/05 02:33
dylan wrote:
> Can anyone tell me if it's possible to enter a URL such as
>
> http://www.streetfish.co.uk/1234
On Apache, there is an AcceptPathInfo=on directive, which should do
what you want (the corresponding variable in PHP is PATH_INFO - see
http://php.net/reserved.variables). Only it doesn't. I logged this as
a bug at: http://issues.apache.org/bugzilla/show_bug.cgi?id=8880 but it
was denied (they suggest a workaround at the bottom of the report). I
never did understand why they didn't want to do fix it.
I also didn't implement their suggestion because I now (as I suspect
most others) use url rewriting, a little of which is described at:
http://www.codecomments.com/archive227-2005-8-574178.html (of course,
there is more documentation at
http://httpd.apache.org/docs/2.0/urlmapping.html and
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html)
By the way, notice that PHP address above. It's doing the same thing
you want done. Don't know what to tell you for non Apache.
Csaba Gabor from Vienna
Navigation:
[Reply to this message]
|