X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=conf%2Fcocanwiki.conf;h=bcaea26df23887ee49d9214ba6c85a208a7ca300;hb=e828b148d6338765d7f5ca8f10567d5d9ef00548;hp=69ac8323320def9d29c959acbb37dd18730740da;hpb=ec0b2fe822bac60e194044fdb7092156705e4595;p=cocanwiki.git diff --git a/conf/cocanwiki.conf b/conf/cocanwiki.conf index 69ac832..bcaea26 100644 --- a/conf/cocanwiki.conf +++ b/conf/cocanwiki.conf @@ -1,5 +1,5 @@ # Apache configuration for COCANWIKI. -# $Id: cocanwiki.conf,v 1.17 2004/10/27 21:14:05 rich Exp $ +# $Id: cocanwiki.conf,v 1.23 2005/11/23 11:32:37 rich Exp $ # Uncomment the following lines if necessary. You will probably need # to adjust the paths to reflect where cocanwiki is really installed. @@ -18,7 +18,7 @@ # The admin subdirectory contains sensitive scripts, and should # be protected by ACLs and/or passwords. This is just an example: Deny from all - Allow from 10.0.0.249 + Allow from 127.0.0.1 192.168.2.249 @@ -48,7 +48,8 @@ ErrorDocument 500 /_bin/crash.cmo RewriteEngine on -# The robots.txt file needs special treatment. +# The favicon.ico and robots.txt files need special treatment. +RewriteRule ^/favicon.ico /favicon.ico [PT,L] RewriteRule ^/robots.txt /robots.txt [PT,L] # Global scripts. @@ -68,7 +69,10 @@ 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 ^/_recent.rss$ /_bin/recent_rss.cmo [PT,L,QSA] +RewriteRule ^/_search$ /_bin/search.cmo [PT,L,QSA] RewriteRule ^/_sitemap$ /_bin/sitemap.cmo [PT,L,QSA] +RewriteRule ^/sitemap.xml$ /_bin/sitemap_xml.cmo [PT,L,QSA] RewriteRule ^/_userprefs$ /_bin/user_prefs_form.cmo [PT,L,QSA] RewriteRule ^/_users$ /_bin/users.cmo [PT,L,QSA] @@ -83,10 +87,11 @@ 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 ^/([^_].*)/history.rss$ /_bin/history_rss.cmo?page=$1 [PT,L,QSA] +RewriteRule ^/([^_].*)/index.rss$ /_bin/page_rss.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/links$ /_bin/links.cmo?page=$1 [PT,L,QSA] +RewriteRule ^/([^_].*)/rename$ /_bin/rename_page_form.cmo?page=$1 [PT,L,QSA] RewriteRule ^/([^_].*)/source$ /_bin/source.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]