order allow,deny deny from all #AddHandler phpFive .php #Action phpFive /cgi-bin/php.cgi DirectoryIndex forum/portal.php forum/index.php forum/index.html index.php RewriteEngine On RewriteBase / ErrorDocument 400 /error/400 ErrorDocument 401 /error/401 ErrorDocument 403 /error/403 ErrorDocument 404 /error/404 ErrorDocument 500 /error/500 RewriteRule ^convo.txt - [L] RewriteRule .* index.html [L] RewriteRule wishlist - [L,NC] RewriteRule ^admin(.*)$ forum/admin$1 [L,NC] RewriteRule ^archive(.*)$ forum/archive$1 [L,NC] RewriteRule ^images(.*)$ forum/images$1 [L,NC] RewriteRule ^inc(.*)$ forum/inc$1 [L,NC] RewriteRule ^install(.*)$ forum/install$1 [L,NC] RewriteRule ^jscripts(.*)$ forum/jscripts$1 [L,NC] RewriteRule ^uploads(.*)$ forum/uploads$1 [L,NC] RewriteRule ^projects/(.+)/(.+)?/$ forum/projects.php?project=$1&mode=$2 [L,NC] RewriteRule ^projects/(.+)/$ forum/projects.php?project=$1 [L,NC] RewriteRule ^projects/>$ forum/projects.php [L,NC] RewriteRule ^about\.php(.*)$ forum/about.php$1 [L,NC] RewriteRule ^announcements\.php(.*)$ forum/announcements.php$1 [L,NC] RewriteRule ^attachment\.php(.*)$ forum/attachment.php$1 [L,NC] RewriteRule ^calendar\.php(.*)$ forum/calendar.php$1 [L,NC] RewriteRule ^captcha\.php(.*)$ forum/captcha.php$1 [L,NC] RewriteRule ^css\.php(.*)$ forum/css.php$1 [L,NC] RewriteRule ^editpost\.php(.*)$ forum/editpost.php$1 [L,NC] RewriteRule ^forumdisplay\.php(.*)$ forum/forumdisplay.php$1 [L,NC] RewriteRule ^global\.php(.*)$ forum/global.php$1 [L,NC] RewriteRule ^index\.php(.*)$ forum/index.php$1 [L,NC] RewriteRule ^managegroup\.php(.*)$ forum/managegroup.php$1 [L,NC] RewriteRule ^member\.php(.*)$ forum/member.php$1 [L,NC] RewriteRule ^memberlist\.php(.*)$ forum/memberlist.php$1 [L,NC] RewriteRule ^misc\.php(.*)$ forum/misc.php$1 [L,NC] RewriteRule ^moderation\.php(.*)$ forum/moderation.php$1 [L,NC] RewriteRule ^newreply\.php(.*)$ forum/newreply.php$1 [L,NC] RewriteRule ^newthread\.php(.*)$ forum/newthread.php$1 [L,NC] RewriteRule ^online\.php(.*)$ forum/online.php$1 [L,NC] RewriteRule ^personal\.php(.*)$ forum/personal.php$1 [L,NC] RewriteRule ^polls\.php(.*)$ forum/polls.php$1 [L,NC] RewriteRule ^portal\.php(.*)$ forum/portal.php$1 [L,NC] RewriteRule ^printthread\.php(.*)$ forum/printthread.php$1 [L,NC] RewriteRule ^private\.php(.*)$ forum/private.php$1 [L,NC] RewriteRule ^projects\.php(.*)$ forum/projects.php$1 [L,NC] RewriteRule ^ratethread\.php(.*)$ forum/ratethread.php$1 [L,NC] RewriteRule ^report\.php(.*)$ forum/report.php$1 [L,NC] RewriteRule ^reputation\.php(.*)$ forum/reputation.php$1 [L,NC] RewriteRule ^rss\.php(.*)$ forum/rss.php$1 [L,NC] RewriteRule ^search\.php(.*)$ forum/search.php$1 [L,NC] RewriteRule ^sendthread\.php(.*)$ forum/sendthread.php$1 [L,NC] RewriteRule ^showteam\.php(.*)$ forum/showteam.php$1 [L,NC] RewriteRule ^showthread\.php(.*)$ forum/showthread.php$1 [L,NC] RewriteRule ^stats\.php(.*)$ forum/stats.php$1 [L,NC] RewriteRule ^syndication\.php(.*)$ forum/syndication.php$1 [L,NC] RewriteRule ^usercp2\.php(.*)$ forum/usercp2.php$1 [L,NC] RewriteRule ^usercp\.php(.*)$ forum/usercp.php$1 [L,NC] RewriteRule ^xmlhttp\.php(.*)$ forum/xmlhttp.php$1 [L,NC] RewriteRule ^sig\.php(.*)$ forum/sig.php$1 [L,NC,QSA] RewriteCond %{REQUEST_FILENAME} -d RewriteRule (.+) dir/$1 [R,NC]