Subdomains and .htaccess

I have two questions which I hope can be resolved.

My first involves when I sign into FTP. When I sign in, I get a folder with my domain name [which I double click to upload files to my domain] my mail directory and logs. Well, I was wondering how I could access my subdomains, if that was possible, with one FTP account.

Currently, whenever I want to access a subdomain, I login to their FTP account to look at whatever I need to. Is it possible to see all of my hostees/subdomains with one ftp login?

My second question involves .htaccess and anti-hotlinking. I have it enabled on my website with this code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)? [NC]
RewriteRule .(jpg|jpeg|png|gif)$ http://whenhotlinkingyouseethis.gif [NC,R,L][/quote]
It works great, for my website. Now if one of my subdomains wanted hotlinking protection, how would I/we go about doing that?

I sent her a .htaccess file and she uploaded it to her server, but it caused all of her images to say they were hotlinked [i.e. her layout, all the images she posted on her website]

Any help would be great, thanks! :smiley:

If your subdomains are owned by the same user, they should all show up in that home directory you see when you FTP:

But if they’re owned by other users, then you can’t see them via FTP, but you can get to them via SFTP due to the fact that FTP limits you to your own home directory, but SFTP lets you navigate to your other user directories parallel to your own.

As for hotlinking, I’m lazy and would use the Panel (Goodies) to manage my .htaccess/webDAV for each domain/subdomain I wish to configure.
But if your current .htaccess works, then you can add it to each of your subdomains manually. Remember that you need to modify that .htaccess to allow (www.)?