mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-12 10:21:02 +00:00
Edited the PHP combiner and .htaccess logic to accommodate this change, as well as allowing manifest files to use a "../" when referencing files, which will be handy when adding themes that don't include structural files yet. Modified all HTML files to point to /themes/default for their theme.
16 lines
455 B
ApacheConf
16 lines
455 B
ApacheConf
# the rewrite engine requires the ability to follow sym links
|
|
Options +FollowSymLinks
|
|
|
|
RewriteEngine On
|
|
RewriteRule ^themes/([a-zA-Z\-\_\0-9]+)\/$ combine.php?type=css&theme=$1
|
|
RewriteRule ^js/all combine.php?type=javascript
|
|
|
|
# Turn on Expires and set default to 0
|
|
ExpiresActive On
|
|
ExpiresDefault "access"
|
|
|
|
|
|
# cache text, css, and javascript files for one week
|
|
<FilesMatch ".(html|png|jpg|gif|js|css)$">
|
|
Header set Cache-Control "max-age=1"
|
|
</FilesMatch>
|