Browse Source

More cleanup.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/web/trunk@4086 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 15 years ago
parent
commit
55aea8e250
2 changed files with 0 additions and 57 deletions
  1. +0
    -57
      www/.htaccess
  2. +0
    -0
      www/static/stitch.png

+ 0
- 57
www/.htaccess View File

@@ -1,57 +0,0 @@
# $Id$

# Activated modules
RewriteEngine on

# We talk utf8 here
AddDefaultCharset utf-8

# Disallowed files: .htaccess, .htpasswd, .svn etc.
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

<Files ~ "^\.svn">
Order allow,deny
Deny from all
</Files>

# MIME Types
<IfModule mod_action.c>
AddType application/x-cgi-php .html
Action application/x-cgi-php /cgi-bin/php5
</IfModule>
<IfModule !mod_action.c>
AddType application/x-httpd-php .html
</IfModule>
AddType text/css .css
AddType application/octet-stream .TAP

# Redirects for disallowed stuff
RewriteRule ^.git/.* /.git/ [L]
RewriteRule ^.svn/.* /.svn/ [L]
RewriteRule (.*)/.svn/.* /$1/.svn/ [L]

# Redirects for manual and lists
RewriteRule ^manual/$ /manual.html?page=index [L]
RewriteRule ^manual/(.*)[.]html /manual.html?page=$1 [L]
RewriteRule ^list/$ /list.html?page=threads [L]
RewriteRule ^list/(.*)[.]html /list.html?page=$1 [L]
RewriteRule ^list-svn/$ /list-svn.html?page=threads [L]
RewriteRule ^list-svn/(.*)[.]html /list-svn.html?page=$1 [L]
RewriteRule ^list-trac/$ /list-trac.html?page=threads [L]
RewriteRule ^list-trac/(.*)[.]html /list-trac.html?page=$1 [L]

# Misc. redirects
RewriteRule ^([^/]*).(gz|bz2|zip) /files/$1.$2 [R=permanent,L]
RewriteRule ^images/(.*) /img/$1 [R=permanent,L]
RewriteRule ^labs/img2oric.html /img2oric/ [R=permanent,L]
RewriteRule ^devel.html /wiki [R=permanent,L]
RewriteRule ^cgi-bin/viewcvs.cgi /browser [R=permanent,L]

# Redirects for Trac - FIXME
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /cgi-bin/trac.cgi/$1 [PT,L,E=SCRIPT_NAME:/]


www/stitch.png → www/static/stitch.png View File


Loading…
Cancel
Save