Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-16-2003, 08:40 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
Apache Question...

Ok I was trying to set up a directory in which only I can access with my name and password. I have apache running on a windows xp machine, and the permissions for the directory im trying to make are only me (in windows permissions). I created a new user and pass with htpasswd. Now in my httpd.conf file my directory thing looks like this:
<Directory /root/ />
Options FollowSymLinks
AllowOverride AuthConfig
AuthType Basic
AuthName "Restricted Files"
AuthUserFile C:\Program Files\Apache Group\Apache2\bin\passwd.txt
Require user Joey

Now the folder I am trying to protect is under htdocs (the document root) \root\. So the full path is C:\Program Files\Apache Group\Apache2\htdocs\root\

The user i created with htpasswd is Joey. When I try to access the directory root I just get forbidden. Nothing else. No prompt. Am I doing anything wrong?
Old 10-17-2003, 05:43 AM   #2
LQ Newbie
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
(Bump) Can anyone help me with this one?
Old 10-17-2003, 06:42 AM   #3
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
I'm sorry for asking, but why did you post this in a Linux board?

I would like to give advices like "tail -f /var/log/apache/error_log", but it's not that easy for us here


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
Question - (apache?) pylon42 Linux - General 7 03-23-2005 07:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 05:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 02:58 AM
Apache question plisken Linux - Software 1 02-25-2003 02:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

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