X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=conf%2Fcocanwiki.conf;h=874a94b18e9888d516dad2f6d16901daddacc168;hb=7a02751aeab9d8fca3ab5cad76f364951cf2c272;hp=1dd685435874f852baa7ec01c2de5e7862e7b066;hpb=d393f7e88c96b944d447a959935cfe84722a72b7;p=cocanwiki.git diff --git a/conf/cocanwiki.conf b/conf/cocanwiki.conf index 1dd6854..874a94b 100644 --- a/conf/cocanwiki.conf +++ b/conf/cocanwiki.conf @@ -1,5 +1,5 @@ # Apache configuration for COCANWIKI. -# $Id: cocanwiki.conf,v 1.11 2004/09/25 16:05:03 rich Exp $ +# $Id: cocanwiki.conf,v 1.15 2004/10/18 13:34:21 rich Exp $ # Uncomment the following lines if necessary. You will probably need # to adjust the paths to reflect where cocanwiki is really installed. @@ -23,24 +23,29 @@ ExpiresActive On - ExpiresDefault "now plus 1 hour" + ExpiresDefault "now plus 24 hours" ExpiresActive On - ExpiresDefault "now plus 1 hour" + ExpiresDefault "now plus 24 hours" ExpiresActive On - ExpiresDefault "now plus 1 hour" + ExpiresDefault "now plus 24 hours" ExpiresActive On - ExpiresDefault "now plus 1 hour" + ExpiresDefault "now plus 24 hours" +# Error documents. +ErrorDocument 500 /_bin/crash.cmo + +# Start of the rewrite rules. + RewriteEngine on # The robots.txt file needs special treatment. @@ -52,7 +57,8 @@ RewriteRule ^/_contact$ /_bin/contact.cmo [PT,L,QSA] RewriteRule ^/_files$ /_bin/files.cmo [PT,L,QSA] RewriteRule ^/_global.css$ /_bin/hoststyle.cmo [PT,L,QSA] RewriteRule ^/_images$ /_bin/images.cmo [PT,L,QSA] -RewriteRule ^/_login$ /_bin/login_form.cmo [PT,L] +RewriteRule ^/_invite$ /_bin/invite_user_confirm_form.cmo [PT,L,QSA] +RewriteRule ^/_login$ /_bin/login_form.cmo [PT,L,QSA] RewriteRule ^/_logout$ /_bin/logout.cmo [PT,L,QSA] RewriteRule ^/_mailing_list.csv$ /_bin/mailing_list_view.cmo?csv=1 [PT,L] RewriteRule ^/_ml_confirm$ /_bin/mailing_list_confirm.cmo [PT,L,QSA]