Results 1 to 12 of 12

htaccess causes http 500 server errors

This is a discussion on htaccess causes http 500 server errors within the Troubleshooting forums, part of the vBSEO SEO Plugin category; we were hacked. they deleted our htaccess file, it was working fine at the time. im trying to make a ...

  1. #1
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times

    htaccess causes http 500 server errors

    we were hacked. they deleted our htaccess file, it was working fine at the time. im trying to make a new one but im apparently doing something wrong. this is the file im using:

    Code:
    # 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
    
    
    # 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 /
    
    
    #RewriteCond %{HTTP_HOST} !^www\.ffshrine\.org
    #RewriteRule (.*) http://forums.ffshrine.org/$1 [L,R=301]
    
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    Please try enabling your RewriteBase in your .htaccess
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times
    sorrry this should have been posted in the regular vbseo support forum. can it be moved?

    we have tried it with and without rewritebase enabled

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hi Sarah,

    I've moved the thread to the proper forum. Thank you.

    Does the dot in the second line belong to the first line, or is it a separated line?. If it is a separated line, then it can be the cause of the issue.

    If not, then you can try another workaround:

    Find this line:

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)

    Add "vbseo":

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php|vbseo)

    Let us know if that works for you. If not, then please check your error_log for related entries on the error and supply them to us, so we can find out what is causing the issue.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times
    the work around didnt work

    i dont see an error_log file :\

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Please make sure you are using all of the same versions of everything. That htaccess file is circa 3.6, but your cp says 3.5.1 pl1. You should upgrade everything to 3.6.

  7. #7
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times
    upgraded to 3.6. tried the htaccess fix, but same http 500 error. nothing in error_log

  8. #8
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    It is impossible to have no error_log when you hit a page with 503 error. If this is the case for you , you should definately contact your host and request their assistance. There is not much we can say with this many enough information.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  9. #9
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times
    in the apache error log i have this:



    [Mon Nov 28 18:37:55 2011] [error] [client 186.105.180.42] File does not exist: /home/forums/public_html/video-game-music-download-links
    [Mon Nov 28 18:37:55 2011] [error] [client 186.105.180.42] File does not exist: /home/forums/public_html/404.shtml

    and similar entries. that should link to a forum but doesn't

  10. #10
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    404s are not 500s. Those are not the right entries.

  11. #11
    Junior Member
    Real Name
    sarah
    Join Date
    Aug 2010
    Posts
    23
    Liked
    0 times
    we're getting 500's, not 503's. that's all that's listed in the error_log :\

  12. #12
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Please open a ticket with login details for further troubleshooting.

Similar Threads

  1. 404 HTTP Errors
    By Mariner in forum General Discussion
    Replies: 4
    Last Post: 07-21-2011, 03:46 PM
  2. HTTP 500 Internal server hatasý
    By Lampy in forum Türkçe
    Replies: 3
    Last Post: 05-31-2010, 06:52 AM
  3. https and http in the same .htaccess file?
    By nem2ace in forum General Discussion
    Replies: 0
    Last Post: 12-18-2009, 02:00 PM
  4. .htaccess errors please help :(
    By 521 in forum Troubleshooting
    Replies: 14
    Last Post: 10-03-2009, 03:40 PM
  5. HTTP 404 Errors
    By the pickled pig in forum Troubleshooting
    Replies: 3
    Last Post: 07-18-2008, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •