.htaccess
Posted by: Joline
Posted on: 2007-02-16 17:49:00
Hi!
Usually I find answers to questions on message boards, but this time I'm totally stumped.
I've written quite a nice little site (given my complete lack of experience) but the last few touches are becoming very difficult.
I'd like to run html pages as php. The best advice I can find on the matter suggests using .htaccess and using the command AddType. Unfortunatley, this upset my php sessions, so I found an alternative, adding AddHandler to the .htaccess file and deleting the AddType line.
This seemed to be working quite fine, until ownership of one of my subfolders was transferred to apache, and I was unable to delete anything.
Other posts and Dreamhost support suggest this is the result of .htaccess calling mod_php. I need access to this subfolder as part of the functionality to the site, so I think this means I shouldn't us .htaccess at all.
Does anyone have any suggestions as to how I could force html pages to execute the php, either not using .htaccess, or how to prevent .htaccess from upsetting my priviledges? - Thanks for your time :)
ps - I originally had this over on general troubleshooting, but on second thought this forum sounded more appropriate - sorry!