Results 1 to 13 of 13

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

This is a discussion on Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I just moved my forum to a new server, and in the error log i find the follow problem Mod_rewrite ...

  1. #1
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times

    Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

    I just moved my forum to a new server, and in the error log i find the follow problem

    Mod_rewrite is loaded

    Code:
    [Fri Jan 16 22:12:17 2009] [error] [client 84.195.143.***] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/domain.com/httpdocs/index.pl, referer: http://www.domain.com/algemeen/3034-vakantiefotos.html
    my .httacess

    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.
    php_value memory_limit 32M
    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_X_MOZ} ^prefetch$
    RewriteRule ^.*$ - [F]
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    
    
    RewriteCond %{REQUEST_FILENAME} !-f
    
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    when i add

    Code:
    Options +FollowSymLinks
    <IfModule mod_rewrite.c>
    above
    Code:
    RewriteEngine On
    i still get that error.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you should add "Options +FollowSymLinks" in <Directory> section of Apache configuration (httpd.conf) to allow rewrite rules.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times
    hello Oleg,

    i have added this code to vhost.conf and tried different things.

    Code:
    <Directory /var/www/vhosts/domain.com/httpdocs>
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    </IfModule>
    </Directory>
    And it's not working

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Did you modify *existing* <Directory> section for your domain? What is it's full content?
    Also, did you restart Apache?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times
    I just added the code in vhost.conf (vhost.conf was emty before)
    Yes, apache was restarted

    this is my httpd.include


    Code:
    removed
    Last edited by Fred.; 01-16-2009 at 07:26 PM.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Try to add above closing </Directory> line:
    Code:
    AllowOverride All
    Options +FollowSymLinks
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Try to add above closing </Directory> line:
    Code:
    AllowOverride All
    Options +FollowSymLinks
    I tried that, not working.

    I try it again tomorrow.

    Thanks

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Ok, if you need our assistance, please open a ticket with server access details.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Member
    Real Name
    dingo
    Join Date
    Nov 2008
    Posts
    72
    Liked
    0 times
    Was a solution ever found? I am having the exact same problem.

  10. #10
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Hello,

    I'm not seeing a ticket from Fred. about this issue, so he must've figured it out on his own. If you're having the same issue and the directions Oleg provided above to not help, please open a ticket with server access.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times
    long time ago...

    try to add this above RewriteEngineOn in your .htaccess

    Code:
    <Files ~ (\.pl)>
    Options ExecCGI FollowSymLinks
    </Files>
    
    Options +FollowSymLinks +SymLinksIfOwnerMatch

  12. #12
    Member
    Real Name
    dingo
    Join Date
    Nov 2008
    Posts
    72
    Liked
    0 times
    That seemed to do the trick, thanks fred!

  13. #13
    Member Fred.'s Avatar
    Real Name
    Fred.
    Join Date
    Jan 2006
    Posts
    87
    Liked
    8 times
    Quote Originally Posted by dingo View Post
    That seemed to do the trick, thanks fred!
    no problem.

Similar Threads

  1. DirectoryIndex Rewriterule blocken sich
    By Michael_Jim in forum Deutsch
    Replies: 20
    Last Post: 06-17-2008, 07:35 AM
  2. Unable to match directive-apache update error
    By poprulz in forum URL Rewrite Settings
    Replies: 0
    Last Post: 01-16-2008, 06:32 AM
  3. Options +FollowSymLinks
    By draligus in forum Off-Topic & Chit Chat
    Replies: 1
    Last Post: 06-19-2006, 10:49 PM
  4. Working without "Options +FollowSymLinks" ?
    By Substanz in forum General Discussion
    Replies: 2
    Last Post: 08-25-2005, 07: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
  •