LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-16-2003, 09:40 PM   #1
Renaxgade
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
</Directory>

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, 06:43 AM   #2
Renaxgade
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
(Bump) Can anyone help me with this one?
 
Old 10-17-2003, 07:42 AM   #3
yapp
Member
 
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
 
  


Reply


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 08:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 06:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 03:58 AM
Apache question plisken Linux - Software 1 02-25-2003 03:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 03:04 PM


All times are GMT -5. The time now is 06:24 AM.

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