[thelist] "/index.html" appended to request (mod_negotiation)

hpoe evolt at webmediaconception.com
Fri Jun 28 05:29:01 CDT 2002

Hi list,

before you all head off into the weekend, here's a little something that's
turned out to be a Big Bad Problem for me.

I've been at it for about a week now and I (as well as my ISP) just can't
figure it out.
Any help, hints, hands much appreciated! :)

On two separate sites (same ISP) that use Content Negotiation
(mod_negotiation), upon requesting "somefile" (w/o extension) all of a
sudden instead of serving up e.g. "somefile.en.html" for an English
browser, I get an error message telling me "somefile/index.html" couldn't
be found.

Content Negotiation as such does work. Regular HTML files are not affected,
and are served as expected. The problem sets in when the file is sent to a
PHP script via "Action application/x-httpd-parse "parser.php?file=".

Headers (Content-Location: somefile.en.html) seem to indicate that
negotiation takes place even when the file is passed to the PHP script.
However PHP wants to append "/index.html" to the original request...

This behavior started a week ago after working just fine for 3 months!

My ISP's support can't (or won't) say if anything was changed...

Apache/1.3.22 (Unix) with PHP 4.1.1
Apache/1.3.26 (Unix) with PHP 4.1.1


Henning Poerschke:  http://webmediaconception.com

More information about the thelist mailing list