Broken htaccess


#1

Hi,

I’ve just found out that Dreamhost have moved me to another server for reasons unknown but now all my .htaccess isn’t working and I’m not sure why?

I would like to parse .jpeg files as .php and the below has worked fine for years but now it doesn’t, could anyone help?

<Files *.jpeg>
ForceType application/x-httpd-php

Thank you!


#2

[quote]I would like to parse .jpeg files as .php and the below has worked fine for years but now it doesn’t, could anyone help?

<Files *.jpeg>
ForceType application/x-httpd-php
[/quote]
Try changing that to php5-cgi instead of application/x-httpd-php.

Customer since 2000 :cool: openvein.org


#3

Hi Atropos7,

Thanks for your quick reply. I’ve done that and it works.

Cheers.