Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-13-2009, 10:04 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
how do i edit httpd.conf to allow htaccess

very away from linux for such a long time, i have forgotten where to edit the httpd.conf to use htaccess. i placed the .htaccess in top level of webserer, and made the following change.......
<Directory "/Library/WebServer/Documents">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# for more information.
Options Indexes FollowSymLinks MultiViews -indexes

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All

# I changed this to All from None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all


not sure if the is the right place or not. i have also restarted the server to let the changes take place. no effect as of yet.
thanks for any help,
Old 03-13-2009, 11:25 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You should only change
AllowOverride All

what is the content of your
.htaccess file?
Old 03-15-2009, 07:00 PM   #3
LQ Newbie
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
where do i edit http.conf to allow htaccess

this is the contenst of my .htacces file, placed in the first level of my server directory, i added myself to test if it stopped me. does not seem to. sorry for the delay in response, but have been outa town.

order allow,deny
deny from
deny from 222.187.220.
deny from 222.187.
deny from
deny from
allow from all

<Files .htaccess>
order allow,deny
deny from all


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
web site directory security? .htaccess or httpd.conf Moonman Linux - Software 0 03-03-2006 08:51 PM
Edit httpd.conf lbeetles Linux - Newbie 1 12-20-2005 07:13 AM
need help with httpd.conf about htaccess newlinuxnewbie Linux - General 1 11-08-2005 08:45 PM
Can not edit httpd.conf xtra Linux - Newbie 6 08-12-2004 02:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration