Not sure if it matters, but all the AddTypes in my httpd.conf have a period in front of the extension:

AddType video/x-ms-wmv .wmv

As to the password question, what does the rest of your .htaccess file look like? Here's an example based off one I've used.. In this case /path/to/some/directory/ is the directory where the protcted files, .htaccess, and .passwd file are.

## Start file
AuthUserFile /path/to/some/directory/.passwd
AuthName     "Password Area"
AuthType     Basic
<Limit GET POST PUT>
require valid-user
</Limit>
<Files .passwd>
deny from all
</Files>
## End file

to create the .passwd file you can do something like

> htpasswd2 -c .passwd [myusername]

(possibly just htpasswd, not htpasswd2)

hope this helps,
Scott

On Jun 28, 2007, at 3:37 PM, Winterlight wrote:

I have a number of Godaddy web sites. I have chosen Linux servers on three of them, and a windows server on one of them. Last May, I was notified that my site had been moved to a different server. This resulted in my password .htaccess page no longer working. I had a page with a number of links to .wmv files, which were located in a folder named /video. After the move when I clicked on the links I got a page with this on it.

0&²uŽfϦÙ

I checked the paths, changed the path, removed, and then recreated the site, but no matter what I did the wmv files would not play. Then I discovered the same problem on every Linux site I had hosted with Godaddy. So I tried changing the video file extension to avi. The files played. Media player reported the wrong file type, and then played the file. So I knew something was wrong on the server.

So I called Godaddy, and told them that .htaccess was no longer protecting my directory, and I could not play wmv. files. It moved up the tech chain until it reached an "expert" who came up with this.

In order to resolve the issue with .wmv not playing, you will need to create an .htaccess file that registers the MIME type.The .htaccess file should have line that looks like the following:

AddType video/x-ms-wmv wmv

And of course, this doesn't solve my .htaccess protected folder problem.

Does anybody have any idea what is wrong with their Server?

thanks


Reply via email to