Hi, I've just recently upgraded to vB4. I've set the script to use Mod rewrite friendly URL's. However, once I upload the .htaccess file that came with vBulletin, I'm receiving an internal server error across the site. My server is definitely setup to use mod rewrite as I'm using it on other sites on the server with no problems. Here's what's in the file:
Code:
RewriteEngine on # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. RewriteBase /sims/ # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off. # Options -MultiViews RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] RewriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] # Check MVC result RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*)$ - [NC,L] RewriteRule ^(.*)$ - [R=404,L]
Comment