Best unofficial Apache Server developers community |
|
Seems easy, right? Done it a million times, right? Me too. For some reason this isn't working on an A2 hosting configuration. Anyone have any ideas? In .htaccess in "/" directory
test.php which is "Hello World" executes just fine. test.html downloads instead of parsing. I have read lots of Q&As and no luck. What is missing? What other configs can I examine? Thanks.
posted via ServerFault
|
|
 
|
Is the module loaded? E.g. |
|
 
|
I don't know if this is legal or not but I am responding to my own question so the answer is there for others to use in the future. For some reason the default file permissions were all set to 777 or 666 which caused issues with them being served correctly. By adjusting the file permissions to 644, these issues were solved. Of course the .htaccess AddType was also required. |
|
 
|
look if .htaccess is allowed to be read into the directory you have it. into httpd.conf you will need to have AllowOverride for that location see http://httpd.apache.org/docs/2.0/howto/htaccess.html |