X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=conf%2Fcocanwiki.conf;h=874a94b18e9888d516dad2f6d16901daddacc168;hb=7a02751aeab9d8fca3ab5cad76f364951cf2c272;hp=17e2b1806ded7033257a0b488be6a83d3830694e;hpb=8d82e370518cb6d936682c6550d0c0bf0b0e0b35;p=cocanwiki.git diff --git a/conf/cocanwiki.conf b/conf/cocanwiki.conf index 17e2b18..874a94b 100644 --- a/conf/cocanwiki.conf +++ b/conf/cocanwiki.conf @@ -1,5 +1,5 @@ # Apache configuration for COCANWIKI. -# $Id: cocanwiki.conf,v 1.9 2004/09/24 16:41:16 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,8 +57,10 @@ 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] RewriteRule ^/_ml_unsub$ /_bin/mailing_list_unsubscribe.cmo [PT,L,QSA] RewriteRule ^/_pe_confirm$ /_bin/page_email_confirm.cmo [PT,L,QSA] @@ -73,6 +80,7 @@ RewriteRule ^/_dist/ / [R] RewriteRule ^/([^_].*)/diff$ /_bin/diff.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/edit$ /_bin/edit.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/editcss$ /_bin/edit_page_css_form.cmo?page=$1 [PT,L,QSA] +RewriteRule ^/([^_].*)/edittitle$ /_bin/edit_page_title_form.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/history$ /_bin/history.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/index.rss$ /_bin/rss.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/stats$ /_bin/stats.cmo?page=$1 [PT,L,QSA]