Lost .htaccess file


#1

Hi, I’m fairly obviously new to all this…

I made a .htaccess file according to the specs outlined in the knowledge base.

Looks like this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://seedyplayer.$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.seedyplayer.com.
$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp)$ http://www.seedyplayer.com/stophotlinking.html [R,NC]

I saved the file as ansi text, copied it to my site via FTP (just from the domain manager on the dreamhost main page; i don’t have a dedicated ftp client) and I changed the name from htaccess.txt to .htaccess.

This worked fine for a few days, and then I tried modifying it to allow some people in. I copied “over” the .htaccess file a few times, and unfortunately I think one of the times I did that it was in an odd text format initially. The end result: my file is no longer preventing hotlinking.

In any case, I understand the file is hidden. I’d like to view it, so I can find out what’s wrong and make any changes. How can I view my .htaccess file from within the domain manager?

Thank you.


#2

https://panel.dreamhost.com/kbase/index.cgi?area=2932


MacManX.com
I don’t work here. I’m just your typical support forum volunteer.