The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

frontpage and mod_rewrite?

Discussion in 'General Discussion' started by kidukz, Jan 24, 2006.

  1. kidukz

    kidukz Registered

    Joined:
    Jan 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I have a client who is not able to publish using frontpage if he has a rewrite rule enabled in his htaccess.

    The rule is simple enough - just a rule to redirect http://domain.com to http://www.domain.com

    The following is the error i received in the error logs when ttrying to publish :

    ***************************
    [Tue Jan 24 18:02:05 2006] [error] [client xx.xx.xx.xx] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /usr/local/frontpage/version5.0/apache-fp/_vti_bin/fpexe
    ***************************

    The following is from httpd.conf :

    ***************************
    <Directory />
    Options All
    AllowOverride All
    </Directory>
    ***************************

    I have also tried adding an Options All +FollowSymlinks to his vhost, and above the rewriterules in his .htaccess.

    ***************************
    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.xxxxxxxxxxx.com
    AuthUserFile /home/xxxx/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/xxxx/public_html/_vti_pvt/service.grp


    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www.xxxxxxxx.com$ [NC]
    RewriteRule ^(.*)$ http://www.xxxxxxxx.com/$1 [R,L]
    ***************************

    If i turn off rewriteengine, i am able to get the login prompt in frontpage. Otherwise, i get the error the folder xxxxxxxx.com is'nt accessible. The folder may be located in an unavailable location...

    The thing is, just as soon as rewriteengine is turned on, even with the rest of the rewriterules commented out, i get the error. Otherwise i can publish.
     
  2. kidukz

    kidukz Registered

    Joined:
    Jan 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Fixed it :cool:

    I added the line :

    Options +FollowSymlinks

    to all the .htaccess files under _vti_bin :)
     
  3. rajanichand

    rajanichand Active Member

    Joined:
    Mar 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Yep

    Yep, that fixed my issue.!! Thanks!
     
Loading...

Share This Page