#! -*- mode:apache-conf-generic -*- # BANNING happens in the config file! # about 50MB should be enough (reading log files and all that) # but only works for Apache 2.0 in .htaccess # RLimitMEM 50000000 # C-x h M-| wikiput -u AlexSchroeder -s "update" "http://www.communitywiki.org/en/.htaccess" RedirectMatch permanent ^/[-a-z]*password http://www.emacswiki.org/pwd.html RedirectMatch permanent ^/[a-z]*/visitors http://www.emacswiki.org/visitors.html RedirectMatch permanent ^/cw-([a-z][a-z].*) http://www.communitywiki.org/$1 RedirectMatch permanent ^/odd/MarkDilley(.*) http://www.communitywiki.org/mark$1 RedirectMatch permanent ^/odd(.*) http://www.oddwiki.org/odd$1 RewriteEngine on RewriteRule ^favicon.ico /pics/favicon.png [last,type=image/png] # http://www.communitywiki.org/ RewriteRule ^$ /cgi-bin/cw.pl [last] # http://www.communitywiki.org/green.css # http://www.communitywiki.org/pics/ # http://www.communitywiki.org/pics/Community.png RewriteCond %{REQUEST_FILENAME} -f [ornext] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .* - [last] # http://www.communitywiki.org/cw/rss # http://www.communitywiki.org/cw/atom RewriteRule ^cw/rss /cgi-bin/cw-en.pl?action=rss [last] RewriteRule ^cw/atom /cgi-bin/cw-en.pl?action=atom [last] # http://www.communitywiki.org/cw/HowTo RewriteRule ^cw(.*) /cgi-bin/cw.pl$1 [last] # http://www.communitywiki.org/de/HowTo # http://www.communitywiki.org/de/ # http://www.communitywiki.org/de # http://www.communitywiki.org/de/raw/HowTo (ist allerdings unnuetz) RewriteRule ^(de|en|fr)/(.+) /cgi-bin/cw-$1.pl/$2 [last] RewriteRule ^(de|en|fr)/?$ /cgi-bin/cw-$1.pl [last] # http://www.communitywiki.org/odd # http://www.communitywiki.org/odd/ # http://www.communitywiki.org/odd/Setup RewriteRule ^mark/?$ /cgi-bin/mark.pl [last] RewriteRule ^mark(.*) /cgi-bin/mark.pl$1 [last] RewriteRule ^zen/?$ /cgi-bin/zen.pl [last] RewriteRule ^zen(.*) /cgi-bin/zen.pl$1 [last] # http://www.communitywiki.org/raw/HowTo # http://www.communitywiki.org/HowTo RewriteRule ^(.+)$ /cgi-bin/cw.pl/$1 [last] AddDefaultCharset utf-8