Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Posts
    36

    [Help] Use.htaccess error 403

    I have removed the option FollowSymLinks vps (Main>> Service Configuration>> Apache Configuration>> Global Configuration) to raise the security level, but when put FollowSymLinks option is the user account is used on the vps file. htaccess files were accessed 403 Forbidden error. What can I do to fix this and still leave the option FollowSymLinks?
    Pls Help Me! Thank you very much !

  2. #2
    Join Date
    Apr 2009
    Posts
    254
    Try looking into Apache's error_log file for any errors.
    Try looking AllowOverride directive in httpd.conf in cPanel - "The Easy Apache Configuration System - Adding Custom Directives" or in /etc/httpd/conf/httpd.conf file on vps
    If it is "AllowOverride None", then your .htaccess file is completely ignored.
    If it is "AllowOverride All", you should be able to set anything you want in your .htaccess file, so the included "Options +FollowSymlinks" should work.
    █▌KVM-based SSD VPS
    ▌Unmetered Dedicated Servers
    ▌Colocation at 100 Delawanna Ave, Clifton, NJ

  3. #3
    Join Date
    Feb 2011
    Posts
    36
    Thank you Natcoweb. I have disable
    -FollowSymLinks
    -ExecCGI
    -MultiViews
    -SymLinksIfOwnerMatch
    And rebuild Apache. In httpd.conf file i see AllowOverride All. But not working. All site have .htacces file 403 Forbinden although edited .htaccess file and add Options +FollowSymlinks.

  4. #4
    Join Date
    Apr 2009
    Posts
    254
    What kind of errors did you got in file error_log?
    █▌KVM-based SSD VPS
    ▌Unmetered Dedicated Servers
    ▌Colocation at 100 Delawanna Ave, Clifton, NJ

  5. #5
    Join Date
    Feb 2011
    Posts
    36
    Quote Originally Posted by Natcoweb View Post
    What kind of errors did you got in file error_log?
    Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

  6. #6
    Join Date
    Apr 2009
    Posts
    254
    Just add the following code in the .htaccess file
    RewriteEngine On
    Options +FollowSymLinks +SymLinksIfOwnerMatch
    █▌KVM-based SSD VPS
    ▌Unmetered Dedicated Servers
    ▌Colocation at 100 Delawanna Ave, Clifton, NJ

Similar Threads

  1. 403 Forbiddon Error /500 Server Error Please Help!!!!
    By BigBoxHost in forum VPS Hosting
    Replies: 8
    Last Post: 11-29-2010, 12:17 PM
  2. Error 403
    By neumannu47 in forum Reseller Hosting
    Replies: 15
    Last Post: 08-09-2010, 06:41 PM
  3. 403 error on .htaccess protected folders
    By Jeff - Exceed in forum Hosting Security and Technology
    Replies: 3
    Last Post: 06-02-2006, 01:33 AM
  4. 403 error
    By tmac007 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 03-02-2006, 04:30 PM
  5. 403 error
    By jared3404 in forum Programming Discussion
    Replies: 9
    Last Post: 10-11-2002, 02:07 PM

Posting Permissions

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