htaccess per vbseo

Discussion in 'General' started by Narabedla, Oct 16, 2012.

  1. Narabedla

    Narabedla New Member

    Sorry for my bad englis hand if I'm wrong section , I have a problem with vBSEO, despite having done all the fixes recommended by my hosting (Netsons) and also read in your post, I can not view the pages, I find getting this error:
    404 Not Found
    The resource requested could not be found on this server! Powered By LiteSpeed Web Server
    LiteSpeed Technologies is not responsible for administration and contents of this web site!


    Could you please help me understand where am I wrong?
    This is my htaccess
    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\.tasteofmusic\.com
    #RewriteRule (.*) http://www.tasteofmusic.net/forums/$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)
    RewriteRule ^ ((archivio /)? (. * \. Php (/. *)?)) $ Vbseo.php [L, QSA]
    RewriteCond% {} REQUEST_FILENAME!-F
    RewriteCond% {} REQUEST_FILENAME!-D
    RewriteCond% {} / REQUEST_FILENAME! (AdminCP | modcp | ClientScript | cpstyles | immagini) /
    RewriteRule ^ (. +) $ Vbseo.php [L, QSA]
      
    SecFilterEngine Off
    SecFilterScanPOST Off 
  2. webizen

    webizen New Member

    It is better to enable rewrite logging to check where the 404 comes from.

    To do that, add the following line to httpd.conf and restart lsws to pick it up. Log will be in /usr/local/apache/logs/error_log.
  3. Narabedla

    Narabedla New Member

    All pages are 404, now only view the Calendar,
    which is still under construction, with a few post test.
    You can check it out yourself, this is the logs / error:

    http://tasteofmusic.net/forum.php

    Code:
    2012-10-16 21:25:01.468 [INFO] [151.16.188.16:56259-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:25:01.468 [INFO] [151.16.188.16:56259-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/content/mobiquo/mobiquo.php] 
    2012-10-16 21:25:01.186 [INFO] [151.16.188.16:56259-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:25:01.186 [INFO] [151.16.188.16:56259-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/content/] 
    2012-10-16 21:24:38.453 [INFO] [151.16.188.16:56169-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:24:38.453 [INFO] [151.16.188.16:56169-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/thread10.html] 
    2012-10-16 21:24:21.957 [INFO] [151.16.188.16:56133-3#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:24:21.957 [INFO] [151.16.188.16:56133-3#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/blogs.html] 
    2012-10-16 21:24:19.009 [INFO] [151.16.188.16:56133-2#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:24:19.009 [INFO] [151.16.188.16:56133-2#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/mobiquo/mobiquo.php] 
    2012-10-16 21:24:16.486 [INFO] [151.16.188.16:56134-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:24:16.486 [INFO] [151.16.188.16:56134-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/avatars/member1.gif] 
    2012-10-16 21:24:16.173 [INFO] [151.16.188.16:56135-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:24:16.173 [INFO] [151.16.188.16:56135-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/avatars/member1.gif] 
    2012-10-16 21:24:15.174 [INFO] [HTAccess] Updating configuration from [/home/huqbfllk/public_html/.htaccess]
    2012-10-16 21:03:45.322 [INFO] [66.249.76.140:38518-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 21:03:45.322 [INFO] [66.249.76.140:38518-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/forum11.html] 
    2012-10-16 21:03:42.838 [INFO] [HTAccess] Updating configuration from [/home/huqbfllk/public_html/.htaccess]
    2012-10-16 20:47:49.863 [INFO] [151.16.33.142:55879-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 20:47:49.863 [INFO] [151.16.33.142:55879-1#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/thread13.html] 
    2012-10-16 20:47:46.183 [INFO] [151.16.33.142:55879-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 20:47:46.183 [INFO] [151.16.33.142:55879-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/avatars/member1.gif] 
    2012-10-16 20:45:25.209 [INFO] [66.249.76.140:63605-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml] 
    2012-10-16 20:45:25.209 [INFO] [66.249.76.140:63605-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/forum10.html] 
    2012-10-16 20:43:36.726 [INFO] [151.16.33.142:55716-0#APVH_tasteofmusic.net] File not found [/home/huqbfllk/public_html/404.shtml]   
  4. webizen

    webizen New Member

    Are these rewrite rules really as shown here ? with space ' ' in between things like 'AdminCP' and '/' ("AdminCP' '/" instead of "AdminCP/")? If so, the rules are not right. it could be the reason of 404.
  5. Narabedla

    Narabedla New Member

    htaccess vbseo

    Yes, I copied this from your topic, before this visualized 403 error.
    Would you be so kind, you want to correct the htaccess?
  6. webizen

    webizen New Member

Share This Page