debianmacno-cupsweb
Last change
on this file since 8bcbc70e was
8bcbc70e,
checked in by Edward Z. Yang <edwardzyang@…>, 16 years ago
|
Fine-tune htaccess for production.
Signed-off-by: Edward Z. Yang <edwardzyang@…>
|
-
Property mode set to
100755
|
File size:
671 bytes
|
Line | |
---|
1 | AddDefaultCharset utf-8 |
---|
2 | |
---|
3 | Options +FollowSymLinks +ExecCGI |
---|
4 | |
---|
5 | # It's very useful to run dispatch.fcgi as a regular CGI module when |
---|
6 | # doing development work, as useful error messages are then dumped |
---|
7 | # to error.log |
---|
8 | #AddHandler cgi-script .fcgi |
---|
9 | #AddHandler fastcgi-script .fcgi |
---|
10 | |
---|
11 | RewriteEngine On |
---|
12 | RewriteRule ^(dispatch\.fcgi/.*)$ - [L] |
---|
13 | RewriteRule ^(static/.*)$ - [L] |
---|
14 | RewriteRule ^toscawidgets/resources/(sipbmp3web/public/.*)$ $1 |
---|
15 | RewriteRule ^sipbmp3web/.*$ - [L] |
---|
16 | RewriteRule ^(.*)$ dispatch\.fcgi/$1 [L] |
---|
17 | |
---|
18 | ExpiresActive On |
---|
19 | ExpiresByType image/png "access plus 1 month" |
---|
20 | ExpiresByType application/x-javascript "access plus 1 month" |
---|
21 | ExpiresByType text/css "access plus 1 month" |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.