Results 1 to 6 of 6
Thread: [Help] Use.htaccess error 403
-
02-08-2011, 02:59 AM #1Junior Guru Wannabe
- 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 !
-
02-08-2011, 10:09 AM #2Web Hosting Guru
- 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
-
02-08-2011, 11:08 AM #3Junior Guru Wannabe
- 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.
-
02-08-2011, 02:19 PM #4Web Hosting Guru
- 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
-
02-09-2011, 12:57 AM #5Junior Guru Wannabe
- Join Date
- Feb 2011
- Posts
- 36
-
02-09-2011, 08:29 AM #6Web Hosting Guru
- 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
-
403 Forbiddon Error /500 Server Error Please Help!!!!
By BigBoxHost in forum VPS HostingReplies: 8Last Post: 11-29-2010, 12:17 PM -
Error 403
By neumannu47 in forum Reseller HostingReplies: 15Last Post: 08-09-2010, 06:41 PM -
403 error on .htaccess protected folders
By Jeff - Exceed in forum Hosting Security and TechnologyReplies: 3Last Post: 06-02-2006, 01:33 AM -
403 error
By tmac007 in forum Hosting Security and TechnologyReplies: 1Last Post: 03-02-2006, 04:30 PM -
403 error
By jared3404 in forum Programming DiscussionReplies: 9Last Post: 10-11-2002, 02:07 PM