Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : User gets forbidden errors when creat any .htaccess
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)

 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2008, 05:15 PM
bedos bedos is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Posts: 2
User gets forbidden errors when creat any .htaccess

I have

WHM 11.23.2 cPanel 11.23.6-R27225
CENTOS Enterprise 5.2 i686 on virtuozzo - WHM X v3.1.0

In the case of creat any .htaccess
The user gets forbidden

ex:
if i will redirect bl3x.com >>> bl3x.com/vb
forbidden massage appear
if delete .htaccess the page run without any problem
this problem appear with any .htaccess in any page

What is wrong and how do I fix it?

pleas help me

Reply With Quote
Sponsored Links
  #2  
Old 09-12-2008, 10:32 PM
jseymour jseymour is offline
View Beta Profile
Web Hosting Guru
 
Join Date: Apr 2006
Location: Gainesville Florida
Posts: 254
Here is a good link for .htaccess tips:

http://corz.org/serv/tricks/htaccess.php

__________________
WebServerMasters-Personal Support for Sites and Servers
TutorialMasters - Tutorials Designed for You



Reply With Quote
  #3  
Old 09-15-2008, 03:08 AM
bedos bedos is offline
View Beta Profile
New Member
 
Join Date: Sep 2008
Posts: 2
thnx i know what is the proplem
only add or activate
mod_rewrite in httpd.conf

Reply With Quote
Sponsored Links
  #4  
Old 09-15-2008, 03:19 AM
HardLayers HardLayers is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Mar 2008
Location: Saudi Arabia
Posts: 53
Make sure the directive

<Directory "/">
in httpd.conf

doesn't have
AllowOverride None

in it
this will not allow any .htaccess es

if you want to disable something specific you can check this page:
http://httpd.apache.org/docs/1.3/mod...#allowoverride

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: