httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <>
Subject RE: File parsing problems
Date Wed, 07 Aug 2002 15:41:44 GMT

Without knowing more specifics I would say that you have two issues here.
First, the web server is serving up files that are not called exactly by the
URL.  Generally this is something that is done by mod_speling.  This mod
will serve up a file that doesn't exactly match the URL but comes the
closest.  Many people find this a plus since it takes care of some
accidental 404's (especially those annoying case-sensitive problems).  If
you turn off this mod it should take care of that.  Also look for a...

 CheckSpelling On

...line somewhere.

The second problem is that the server is parsing all files.  Try looking
around for the...

 AddType application/x-httpd-php .php

...line.  Make sure that you only have the ".php" extension listed.  You may
also want to check your mime.types file.  You should also look for...

 AddHandler server-parsed .shtml

Make sure that you only have extensions listed that you want the server to

Let me know if this is helpful.

 ~ Robert

-----Original Message-----
From: Matthew Daubenspeck []
Sent: Tuesday, August 06, 2002 8:28 AM
Subject: File parsing problems

For some reason, apache is parsing any files automatically no matter
what their extension.

Meaning, if I try http://domain/foo or http://domain/foo.php, both
work and neither give an error, and the file is actually foo.php

It does the same with .htm or .html files as well.

It is no real big deal, more of a nuisance. Any ideas how I can change

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message