All pastes #14314 Raw Edit

Astro73

public text v1 · immutable
#14314 ·published 2005-06-13 16:47 UTC
rendered paste body
# close the php security hole... 
#  not actually needed but probablly a good idea anyway
php_flag register_globals off

<IfModule mod_rewrite.c>
# first, enable the processing - Unless your ISP has it enabled
# already.  That might cause weird errors.
RewriteEngine on


# do the rewrite
RewriteRule ^wiki5(.*)$ w5/index.php$1 [L]
RewriteRule ^wiki(.*)$ w/index.php$1 [L]



RewriteRule ^wysi(.*): wysi/index.xhtml [L,T=application/xhtml+xml]
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} -d 
RewriteRule ^wysi(.*)$ wysi/index.xhtml [L,T=application/xhtml+xml]

#RewriteCond %{REQUEST_FILENAME} -f
#RewriteRule ^web(.*)$ web/index.php$1 [last,nocase,qsappend]

</IfModule>