X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=conf%2Fcocanwiki.conf;h=874a94b18e9888d516dad2f6d16901daddacc168;hb=290d91a2a24f690f1b974debf08c4c2857a4a9f4;hp=80265f39afd645b156e719f56f42f7b9428bb4dc;hpb=9e0988fe1a998f361d44eb7f40062245a5f9ccb2;p=cocanwiki.git
diff --git a/conf/cocanwiki.conf b/conf/cocanwiki.conf
index 80265f3..874a94b 100644
--- a/conf/cocanwiki.conf
+++ b/conf/cocanwiki.conf
@@ -1,5 +1,5 @@
# Apache configuration for COCANWIKI.
-# $Id: cocanwiki.conf,v 1.6 2004/09/23 09:48:45 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,11 +57,16 @@ 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]
+RewriteRule ^/_pe_unsub$ /_bin/page_email_unsubscribe.cmo [PT,L,QSA]
RewriteRule ^/_recent$ /_bin/recent.cmo [PT,L,QSA]
RewriteRule ^/_sitemap$ /_bin/sitemap.cmo [PT,L,QSA]
-RewriteRule ^/_stats$ /_bin/stats.cmo [PT,L,QSA]
RewriteRule ^/_users$ /_bin/users.cmo [PT,L,QSA]
# Image and file downloads.
@@ -70,8 +80,10 @@ 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]
RewriteRule ^/([^_].*)/styles.css$ /_bin/pagestyle.cmo?page=$1 [PT,L,QSA]
# Serve pages.