Installing vBulletin 5 Connect on your shared hosting account.

500 Internal Server Errors have been a big problem when installing vBulletin 5 in a sub-directory.

Example; your installing vBulletin 5 to one of the following directories

/root

– /vbulletin

– /forums (vB5 works well here)

– /Sub Directory domain folder

– /forums (installing vB5 here returns the Internal Server Error)

With a bit of work on the .htaccess file, the problem can be fixed. What you’ll do is adding path information /YourFolderName/ to the your mod_rewrite rules.  Open the .htaccess file that came with your vBulletin package and you should see something like this:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

 

#needed because admincp is an actual directory.

RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

</IfModule>

First, add your sub-directory folder name to your mod_rewrite rules. I named my sub directory “forums”. That means you need to edit the 5th line from:

RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

To:

RewriteRule ^(.*)$ /forums/index.php?routestring=$1 [L,QSA]

Then the 7th line from:

RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

To:

RewriteRule ^(admincp/)$ /forums/index.php?routestring=$1 [L,QSA]

 

default
Post Written by

0 Comments

Leave A Reply


CommentLuv badge

%d bloggers like this: