2015-06-06, 05:15 PM
There are couple of other threads asking about this, but no answer. I tried a couple of different scripts, but different issue each time. First, can't login, then can't post in threads because says that thread doesn't exist even though it does, although every time, .php is removed. Here is current script:
It's active right now, so maybe you can check error, board URL: http://spamheaven.com
If need test account... well, .m. and Euan T, you both already have access, but if anyone else who wants to help needs it, I will PM details to you.
Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
## don't touch /forum URIs
RewriteRule ^forums/ - [L,NC]
## hide .php extension snippet
# To externally redirect /dir/foo.php to /dir/foo
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L]
# To internally forward /dir/foo to /dir/foo.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [L]
It's active right now, so maybe you can check error, board URL: http://spamheaven.com
If need test account... well, .m. and Euan T, you both already have access, but if anyone else who wants to help needs it, I will PM details to you.