Hi,
could anyone tell me why the following url doesn't
generate a "page not found" ?
http://www.php.net/manual/en/function.checkdnsrr.php/manual/
you can try with a longer url after the last .php.
I tried with ../manual instead of manual and this produces a 404.
I checked with www.php.net because my own site does the same and I
wanted to be sure it didn't come from my config.
thanks
Nicolas Figaro
tg-php@xxxxxxxxxxxxxxxxxxxxxx wrote:
The other thing that could happen is they could be
using something like the Apache mod_rewrite (some
info at http://www.modrewrite.com/ among others) which
can dynamically change the requested URL to a more
standard URL before sending back to the user.
Something like this:
http://www.testserver.com/tgryffyn/homepage/middlesection
Could be turned into something like:
http://www.testserver.com/userpage.php?user=tgryffyn&page=home#middleanchor
But to the user requesting the page, it'll always look like the first URL.
Forgive me if I got any syntax or capability of mod_rewrite wrong,
never used it myself just know that's the general sort of thing that it does.
Pretty good thoughts, there. Some years ago, Tim Perdue
(of PHPBuilder and SourceForge fame) had a popular
article on "Search Engine Friendly URL's" (or some such),
in which he described use of the Apache ForceLocal
directive to make a site just One Big Script, parsing
the slashed portions of the query string as variables
(instead of GET, a la "?section=man&term=foo") so that
the browser appears to be accessing documents in subfolders,
but it's really just telling the server to grab a page with certain
values defined in the URI.
It sure looks like a possibility of this or similar magic in
this case. Of course, I could be way off my tree...
Kevin Kinsey
--
Byte your tongue.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php