View Full Version : subdirectories for passwords creates coding problem

11-30-2008, 08:12 PM
1) Script Title:
DD htaccess

2) Script URL (on DD):

3) Describe problem:
I'm posting streaming video...and I've used htaccess to create a password for the HTML page where users can watch the videos. Now, here's the thing, the video is for a limited audience, so I've created several HTML pages, each one with its own password.

The way I've done this is by creating sub-folders, each one with their own .htaccess and .htpsswd files. And each HTML page points to the same video information. But here's the problem: this works in IE but NOT in Firefox. I know that IE is more forgiving for problematic code, can someone tell me what my error is in the below that it's not working in Firefox? Thank you in advance! (Perhaps this is a question for the JW Flash folks...but the trouble began b/c I needed to create subdirectories for my passwords =] )

Directory structure:
MAIN Directory: MySite.com

SUB directory (in the below): B directory (where the below html page can be found)

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Phlegmbot's page</title>
<script type="text/javascript" src="//MySite.com/swfobject.js"></script>


<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('//MySite.com/player.swf','mpl','700','450','9');

11-30-2008, 10:34 PM
I needed to add HTTP:

that's all. Thanks!