Koozali.org: home of the SME Server

ModIndex 0.0.4 + PHP Parsing of HTML = Problem

Ole J

ModIndex 0.0.4 + PHP Parsing of HTML = Problem
« on: December 22, 2003, 12:38:51 AM »
Hi!

Here's a lineout of  my configuration.

I have made a custom template for Apache called 75AddType.html and placed it in the correct custom-templates folder.
In this file i have:
AddType application/x-httpd-php .html

This setting makes Apache parse my .html-files as well and it works like a charm. My html files containing are parsed perfectly.

Now, after installing ModIndex (and of course ModPerl) and Apache has restarted and i access e.g. http://www.myserver.tld/IbayWithNoIndexFile/ my browsers don't show the directory listing, instead a "download" window pops up asking me where I want to save the file "IbayWithNoIndex".

I've tested with both IE and Opera and since they both give the same situation I expect the problem to be with Apache.

Removing ModIndex makes the directory listing work just fine again (#rpm -e gjz-modindex...) and removing my custom-template but keeping ModIndex also fixes the Directory listing, but then I dont have both solutions, which is what I want :)

Anyone out there with an idea as to why this might be occurring?

All help is appreciated