htaccess caused folder to request save as
Posted by: Kajico (---.sw.biz.rr.com)
Date: October 13, 2008 09:22PM

I downloaded an updated .htaccess from my host for a particular folder to enable it to use a different version of PHP

after removing the .htaccess acess from my local folder which I use WAMP to test before uploading to the remote server, every time I try and access that particular folder i get a prompt to save a file.

In firefox it appears as

"You have chosen to open:

which is a: application/x-httpd-php

from: [localhost];

whenever I save it, it just saves it as a part file.

all that was in that old htaccess was this

AddHandler application/x-httpd-php5 .php .php5 .php4 .php3

but even after removing that line
deleting the htaccess

i still get prompted to save this unkown blank file

i've restarted WAMP several time already and I just don't know what else to do.

it's just in WAMP because on the remote server i don't get this problem, remote server is a LAMP install.

Options: ReplyQuote
Re: htaccess caused folder to request save as
Posted by: toivo (---.nsw.bigpond.net.au)
Date: October 13, 2008 09:52PM

Hi,

There is already a line in your httpd.conf which is all you need to process PHP scripts:

AddType application/x-httpd-php .php

Regards,

Options: ReplyQuote
Re: htaccess caused folder to request save as
Posted by: Kajico (---.sw.biz.rr.com)
Date: October 17, 2008 06:31PM

There is already a line in your httpd.conf which is all you need to process PHP scripts:

AddType application/x-httpd-php .php

i know this, that's not my issue. Even after deleting the .htaccess file from my local directory so that it only stays on the remote server (which my host requires me to have in order to work with PHP5)

i can't get it back to just processing the php properly

Options: ReplyQuote


Sorry, only registered users may post in this forum.