Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Please could someone help me. I am trying to set up a website for bands to upload .mp3 samples of their music. I want this to be protected using .htaccess and then give usernames/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 page to play the music after users log in..
So, I have created a .htaccess file and associated password files. I created a directory called audio and set CHMOD to 777 on the audio directory and put the .htaccesss file in this directory.
I can upload the .mp3 files fine.
The 'play' page is in another directory call 'members' which is 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.
So when I go to the 'play' site.. I have to log in.. which works and lets me access the site. I can click the play button to play the audio, which opens windows media player...
Now here is my problem...
When media player opens another popup window opens asks me enter a network password. If I put in the same username and password, as I use in the 'play' site, and audio directory, the audio plays, but I want to play the mp3 file without re-entering the username and password.. Is there anyway of stopping this network login box? Why doesn't it just authenticate from the original .htaccess login??
My other thought on this was it might have something to do with the structure of things. If you made the directory with the mp3's a subdirectory of where the page is that lists the mp3's (and removed the .htaccess file from the mp3 directory) then this will probably go away.
I'm pretty sure it has to do with the structure of things, unless you already have the mp3 content directory as a subdirectory. If so, then I'm stumped and would have to do some investigation.