mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 09:04:43 +00:00
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:
parent
f148dbdd69
commit
a0702bf2f6
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue