vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 5 of 5

500 Internal Server Error

This is a discussion on 500 Internal Server Error within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi I am encountering a strange error. I recently bought another domain http://www.sikhism.ws , which is hosted on the same ...

  1. #1
    Senior Member
    Real Name
    Aman Singh
    Join Date
    Jul 2005
    Location
    Punjab, India
    Posts
    153
    Blog Entries
    1

    500 Internal Server Error

    Hi

    I am encountering a strange error.

    I recently bought another domain http://www.sikhism.ws, which is hosted on the same hosting package, where my old domain sikhphilosophy.net is hosted (that host allows 2 domains under one hosting package).

    The new domain has been pointed to a new directory called "sikhism" under "public_html" folder. Furhter, my vbulletin forums for domain "sikhphilosophy.net" are hosted on the root ie. public_html folder. So, the vbseo plugin information contating .htaccess file is located under the root.

    Now, i am trying to install that free SMF forums on my new domain's root i.e. /public_html/sikhism/ folder. Everything installs fine but when i try to run the forums, i encounter "500 internal server error"... After gr8 hit and trial, it was established that .htaccess file was the root cause of this error. So, i removed all the information regarding vbseo plugin from the .htaccess file and surprisingly enough the domain http://www.sikhism.ws started working fine but then my old forums at sikhphilosophy.net naturally do not work if we remove that vbseo plugin information from .htacess file, which is quite unacceptable for me. :(

    I would like to know how can we edit the .htaccess file so that it can not only contain vbseo plugin information as well as allows the new domain pointer to work along with it.

    Presently my .htaccess information is as follows:

    Code:
    DirectoryIndex index.php
    
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    RewriteRule ^sikhphilosophy/(.*)$ http://www.sikhphilosophy.net/$1 [L,R=301]
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    RewriteRule ^(sitemap.*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    

    Please guide me.

    Thanks in advace.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,367

    Re: 500 Internal Server Error

    Hello,

    please try the following modification in .htaccess:
    FIND:
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    REPLACE WITH:
    RewriteCond %{REQUEST_FILENAME} ^(sikhism|admincp|modcp|clientscript|cpstyles|imag es)/
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Pre-Release)- Released for your Evaluation


  3. #3
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254

    Re: 500 Internal Server Error

    Make sure theres no space in images as vBulletin added a space there

  4. #4
    Senior Member
    Real Name
    Aman Singh
    Join Date
    Jul 2005
    Location
    Punjab, India
    Posts
    153
    Blog Entries
    1

    Re: 500 Internal Server Error

    RewriteCond %{REQUEST_FILENAME} ^(sikhism|admincp|modcp|clientscript|cpstyles|imag es)/
    Thanks Oleg, you are the man !!

    Everything seems to be working fine although in the above code i had to remove ^ so that the code looks like the following:

    RewriteCond %{REQUEST_FILENAME} (sikhism|admincp|modcp|clientscript|cpstyles|imag es)/
    Is it ok ?

    Thanks again.

    Best Regards

    Aman

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,367

    Re: 500 Internal Server Error

    Is it ok ?
    That's ok, Aman.

    I was not sure if other URLs that have sikhism/ inside will work correctly without a "^", but it seems like they work fine: http://www.sikhphilosophy.net/sikh-s...ook-amrit.html
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Pre-Release)- Released for your Evaluation


Similar Threads

  1. Internal 500 Error -- problem with .htaccess
    By ADM in forum Troubleshooting
    Replies: 6
    Last Post: 10-11-2005, 06:08 PM