Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htaccess help

Status
Not open for further replies.

ukwebs

Programmer
Oct 24, 2004
1
GB
Hi,

Please could someone help me. I am trying to set up a website for groups to upload .mp3 samples of their music. I want this to be protected using htaccess and then give user name/passwords to users who need it allowing them to listen to this audio. The audio is uploaded using php upload script.. which works well. THere is then another php website to play the music after users log in..

Now everything well. I have created a .htaccess file and associated password. I have created a directory called audio and set CHMOD to 711 on the audio directory and put the .htaccesss file in this directory.
I can upload the .mp3 files and can access the playing website.. after login.
The 'play' site is in another directory call 'members' which is also set to 711 and is protected by another .htaccess file.

I have a button in the play site which links to the .mp3 file in the audio directory.

When I go to the 'play' site.. I have to log in.. which works and lets me see the site. I can click the play button to play the audio, which opens windows media player... Now this is my problem...

When media player opens a popup window asks me enter a network password. Is there anyway of stopping this network login box? Why does it just authenticate from the .htaccess login?? If I put in the same username and password, the audio plays.

Thanks
Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top