[JDEV] jabberstudio has some bugs
Ralph Siemsen
ralphs at blueairnetworks.com
Wed Dec 18 16:09:22 CST 2002
Richard Dobson wrote:
> I still dont understand what you are on about here, these silent apache
> redirects have nothing to do with PHP since they happen at a higher level in
> the server before PHP will even be executed.
We've headed way off topic here ;) My point was simply that PHP might
be issuing redirects in the same way that Apache does when given an URL
without the trailing slash. I don't know if PHP does this, but I
imagine it is possible, especially if using existing libraries of other
people's PHP code...
One case where I could see this happening is when PHP is used to
format/display a heirarchy of data - eg. you have a script living at
http://myserver.com/phpscript and you sent a request for
http://myserver.com/phpscript/foo/bar. Then the script runs with
PATH_INFO set to "/foo/bar"... but maybe bar is a directory, and the PHP
routine might chose to return a redirect to the full URL instead:
http://myserver.com/phpscript/foo/bar/file.xml
-Ralph
More information about the JDev
mailing list