logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Disappearing Folder
Author
Duke|lod|



Joined: 22 Mar 2007
Posts: 1
Location: Canada

PostPosted: Thu 22 Mar '07 6:14    Post subject: Disappearing Folder Reply with quote

Hello all, this is my first post here and it's a bit of a strange one I think.
I'm running Apache 2.2.4 on a home server Win xp home, I have it setup so you have to log in to the server (htdigest), ez enough right. So I wanted to password protect some folders on my server, the first 1 I did, the setup went good. Restarted the server, went on line and logged on and went to the dir. where the folder should be a password on it. But it's no where to be found, disappeared so to speak. But while I'm still in that dir. like this:
http://wwwmywebsite.com/music I add /bootleg in the addy bar it will ask me to log in and I can. So my question is, why would that folder not be seen in my apache index, but it is there because I can log in to it.
If anyone can help me, or even understand me, any help would mean alot.

<Directory "E:/File Server">
Options Indexes FollowSymLinks
IndexOptions FancyIndexing VersionSort NameWidth=*
HeaderName /header.html
ReadmeName /footer.html
AuthType Digest
AuthName server
AuthUserFile "C:/Documents and Settings/Owner/My Documents/Password.txt"
Require valid-user
</Directory>

<Directory "E:/File Server/music/bootleg">
Options Indexes FollowSymLinks
IndexOptions FancyIndexing VersionSort NameWidth=*
HeaderName /header.html
ReadmeName /footer.html
AuthType Digest
AuthName "bootleg"
AuthUserFile "C:/Documents and Settings/Owner/My Documents/Password.txt"
Require valid-user
</Directory>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 26 Mar '07 10:11    Post subject: Reply with quote

Hello!
That your folder disappears is because there is an config error!

I tried that out, and had the following error.
Quote:

[Mon Mar 26 10:06:02 2007] [error] [client 127.0.0.1] access to /music/bootleg/ failed, reason: verification of user id '<null>' not configured, referer: http://127.0.0.1/


OK, I had an empty Passwort.txt because I don't know much about Auth Digest. Why don't you use Auth Basic?

How did you created that password file? Did you use md5 for encryption?
Back to top


Reply to topic   Topic: Disappearing Folder View previous topic :: View next topic
Post new topic   Forum Index -> Apache