Link to home
Start Free TrialLog in
Avatar of steva
steva

asked on

Seeing the URL rejected by mod_rewrite

I'm trying to use mod_rewrite statements in .htaccess to block access to a directory of mp3 files.  But the Rewrite_cond statement I have is also blocking the accesses made by an embedded QuickTime player I have  on a page in the directory.  It would be easier to craft a Rewrite_cond statement that would let the player requests through and block browser accesses if I knew what the request from the player  looked like  at the server.  When you put a URL in a browser to access the files the mod_rewrite failure gives you back an error that shows the failing URL,  but when the player makes the access it gets back the failure and then just refuses to come up, without saying anything.  Is there any way I can get Apache to show me the URL from the player that it's rejecting?

Thanks for any ideas.
ASKER CERTIFIED SOLUTION
Avatar of Steve Bink
Steve Bink
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of steva
steva

ASKER

Many thanks!