Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th June 2010, 11:21
Eviang Eviang is offline
Junior Member
Join Date: Jun 2010
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Allow, Deny in htaccess in CentOS 5.4?

Hi all,

I'm a long time reader never posted before.

I installed CentOS following the The Perfect Server - CentOS 5.4 x86_64 [ISPConfig 3] guide a couple months ago and it's working perfectly but I do have a couple of questions. I'll be posting only one today as the others require me to go sleep before writing them -.-

I've tried to use the ALLOW, DENY directive in the .htaccess file in one of my sites but Apache/PHP kept throwing an error. The server is down right now so I can't paste the error here but I've read somewhere else in this forum about the same problem, but those solutions didn't work for me.

After following that Perfect guide, is there something I should do to allow those directives in the htaccess files?

I'll come back tomorrow with the error line (sorry about that). But in the mean time, maybe someone knows what to do

Reply With Quote
Sponsored Links
Old 20th June 2010, 23:14
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

You can try this in the Apache Directives field in ISPConfig:
<Directory /path/to/your/web_directory>
 AllowOverride All
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


deny, htaccess

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 5.4 ispconfig 3 host multiple domains vuphan Server Operation 0 4th May 2010 20:15
Centos 5.4 + vmware server 2.0.2 mariuscotan Technical 6 24th April 2010 00:49
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 19:16
Yet Another Internal Server Error/.htaccess Post n0h4t Installation/Configuration 5 16th June 2009 18:43
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22

All times are GMT +2. The time now is 18:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.