source: gutenbach-web/.htaccess @ 8bcbc70e

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
RevLine 
[973dd91]1AddDefaultCharset utf-8
2
3Options +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
11RewriteEngine On
12RewriteRule ^(dispatch\.fcgi/.*)$ - [L]
13RewriteRule ^(static/.*)$ - [L]
[8bcbc70e]14RewriteRule ^toscawidgets/resources/(sipbmp3web/public/.*)$ $1
15RewriteRule ^sipbmp3web/.*$ - [L]
[973dd91]16RewriteRule ^(.*)$ dispatch\.fcgi/$1 [L]
[8bcbc70e]17
18ExpiresActive On
19ExpiresByType image/png "access plus 1 month"
20ExpiresByType application/x-javascript "access plus 1 month"
21ExpiresByType text/css "access plus 1 month"
22
Note: See TracBrowser for help on using the repository browser.