Fixed issue 73 - .htaccess file should turn on required features.

- Added handler for x-httpd-php to prevent the browser from asking you to save the index.html file when the server isn't configured properly.

- Added option to turn on FollowSymLinks which is required by the Rewrite engine.
This commit is contained in:
Kin Blas 2010-09-30 09:23:51 -07:00
parent f148dbdd69
commit a0702bf2f6

View file

@ -1,7 +1,13 @@
# some servers don't handle x-httpd-php by default, so add a handler
AddHandler x-httpd-php .php .htm .html
<Files index.html>
ForceType application/x-httpd-php
</Files>
# the rewrite engine requires the ability to follow sym links
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^css/all combine.php?type=css
RewriteRule ^js/all combine.php?type=javascript