X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform%2Fhtaccess;h=317f925fd3d2226d7fcf3afcd510c0dab2ff34ac;hb=f3f1c7b8837433a9770043afb80cbd4d19494eaf;hp=82d409b4c92b285616038dd5fea46912073bdbc1;hpb=2015165c8daf71246969bc1f6e5a1989ea2d207b;p=wfpl.git diff --git a/metaform/htaccess b/metaform/htaccess index 82d409b..317f925 100644 --- a/metaform/htaccess +++ b/metaform/htaccess @@ -7,7 +7,7 @@ AddDefaultCharset UTF-8 # You should rename your images and css files when you change them so they can # be cached forever - + ExpiresActive On ExpiresDefault A31536000 @@ -16,7 +16,7 @@ AddDefaultCharset UTF-8 # stylesheet without actually renaming it all the time. This is needed even if # you don't set a long cache period on stylesheets, because Safari will check # for a new html, but not check for a new css. -RewriteRule ^style_[0-9]*.css$ /style.css [L] +RewriteRule ^style_[0-9]*.less$ /style.less [L] # To enable larger uploads, you'll need both of these: @@ -24,7 +24,7 @@ RewriteRule ^style_[0-9]*.css$ /style.css [L] # php_value upload_max_filesize 200M -############ START OF PRETTY URLS SETTINGS +############ START OF PRETTY URLS SETTINGS ############ # This section contains directives to enable pretty URLs, and instruct apache # to run wfpl on them. This runs code/config.php if it exists, then loads # templates, then loads the php file, and call's it's main function. See @@ -42,9 +42,9 @@ RewriteEngine on # Unfortunately, the rewrite rules only work with absolute paths, so if your # files are not at the top level of the domain, you'll have to customize this # part. Here's the config for running at the top level: -RewriteRule ^[^/.]*$ /run.php +RewriteRule ^[^/.]*$ ./run.php # use this line instead if you have this (.htaccess) file and your php and html # files in the ~form~ directory: #RewriteRule ^[^/.]*$ /~form~/run.php -############ END OF PRETTY URLS SETTINGS +############ END OF PRETTY URLS SETTINGS ############