Broken htaccess

Broken htaccess

Posted by: alexalex09
Posted on: 2009-10-01 03:01:00

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
</Files>

Thank you!

Re: Broken htaccess

Posted by: Atropos7
Posted on: 2009-10-01 03:22:00

In reply to:

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
</Files>


Try changing that to php5-cgi instead of application/x-httpd-php.


Customer since 2000 cool openvein.org

Re: Broken htaccess

Posted by: alexalex09
Posted on: 2009-10-01 03:27:00

Hi Atropos7,

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

Cheers.

Tags: jpeg filesdreamhosthtaccess