So, is there any way to force a 404 error when someone uses /something ? -----Original Message----- From: Nick Kew [mailto:nick@xxxxxxxxxxxx] Sent: Friday, February 15, 2008 1:31 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: Apache handles filename/something On Fri, 15 Feb 2008 13:26:50 +0200 "john" <isofroni@xxxxxxxxx> wrote: > Hi all > > When I type http://server/index.php i can see the index.php > But when I type http://server/index.php/1234 i can also see the > index.php The term you're looking for in TFM is PATH_INFO. > I assume that Apache handles index.php as a directory or alias and > does not give the 404 error code but 304 or 200. In the case of a script, the script gets to decide. But yes, it defaults to 200 if it runs successfully. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx