[thelist] Enquiry handling

john at johnallsopp.co.uk john at johnallsopp.co.uk
Sat Sep 3 11:52:29 CDT 2005


Yes, thanks, that works a treat. I wasn't sure if I needed to rebot
the server (I don't). The only thing to note was the file needs to be
called p1, not p1.php4. Obvious, but it took me a second to realise.

Great, thanks for the help.

J

> djn wrote:
> I'm not sure if this is what you're asking for, but it works on my
> server (putting it into the .htaccess file):
>
> <FilesMatch "^p1$">
>      SetHandler application/x-httpd-php
> </FilesMatch>
>
> This forces a file to be parsed by the PHP engine no matter the
> extension. You can use common regex patterns between the ^ and the $.

> john at johnallsopp.co.uk wrote:
>> Can I make www.abcdefghijklmnop.co.uk/p1 work? How?



More information about the thelist mailing list