Date: 07/10/05 (Apache) Keywords: php, html, apache I've set up content negotiation according to http://httpd.apache.org/docs-2.0/conten I have the information for parsing PHP in /etc/apache2/apache2.conf (actually, it was already there; I merely had to uncomment it): The reasoning behind using MultiViews right now instead of type-maps is because I don't want to have to define type-maps for every single file/resource I'm going to provide. If a type-map doesn't exist for a resource, content negotiation will fall back to MultiViews.Am I missing something? Obviously, I am. Why am I being prompted to download the file? Why isn't the file being parsed by the server, like I'm telling it to? NOTE: I had content negotiation working with Apache 1.3. It was only when I upgraded to Apache 2 that it stopped working as expected. NOTE: I've further edited my configuration, and I've noticed something very peculiar. Both my machine's IP address and cparker15.com point to the same place now. If I call phpinfo (without the extension) from cparker15.com, everything works as expected. However, if I swap cparker15.com for the IP address, I get a prompt to download the file. Any ideas? NOTE: Nevermind! I cleared Firefox's cache and tried again and all works now as expected. Thanks go to sub and TBF in #apache on EFnet for their help diagnosing my "problem". cross-posted to cparker
|