Welcome to WebmasterWorld Guest from 54.205.20.160

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache 2.0 and Files Directive

my .htaccess from Apache 1.3 won't work with 2.0

   
5:32 pm on Dec 11, 2002 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hi all,

This worked with Apache 1.3 as a .htaccess


<Files artikler>
ForceType application/x-httpd-php
</Files>

but does nothing in Apache 2.0

I checked out the manual to no avail, does anyone know what the difference is and how to deal with it?

Many thanks...

Nick

6:38 pm on Dec 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's [phpwiki.sourceforge.net] some discussion about resolving a similar problem. If that doesn't do it for you, this search [google.com] will provide plenty of promising links.
7:06 pm on Dec 11, 2002 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Perfect! Thanks dave, adding this line:

AcceptPathInfo on

Works perfectly.

PS, thanks for embarrassing me with the Google Search! ;);)

Nick

7:12 pm on Dec 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>PS, thanks for embarrassing me with the Google Search!

"... but teach a man to fish..." :)

Sorry Nick. I just couldn't pass it up! :) :)