With htaccess, how can I restrict directory info through a pword, but allow direct linking w/o authentication?
-
I'm trying to restrict access to a directory through a password on my server, but allow direct linking without authentication. As of now, I have the following snippets of code: AuthType Basic AuthName "Access for /backup" AuthUserFile /etc... /htpasswd require user whateverusername Options +Indexes +MultiViews +FollowSymlinks <Files *.mp3> Allow From All </Files> I don't know what to modify to allow direct access to the mp3 files without displaying the directory info, but I want the directory to be available to certain users.
-
Answer:
One by one ... 1st question >> answer yes 2nd question >> answer no Do with cgi or php ... stream and play using build in windows media player within your html code like <embed> ... </embed> Andi Ahdin Indonesia
James Q at Yahoo! Answers Visit the source
Related Q & A:
- How can I force the login to a specific ip address?Best solution by Stack Overflow
- How can I remove an element in a repeated list?Best solution by Stack Overflow
- How can I pass global variables into a function?Best solution by Stack Overflow
- How can I lower the resolution on a video I recorded?Best solution by Yahoo! Answers
- How can I play my PS3 using a laptop as a monitor?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.