Want to protect entire subdomain (eg name.site.com). Looks like I can protect subdomain via htpasswd. However, I'd like to protect by mod_rewrite (new_rewrite). Getting message in Protection setup that: (RewriteRule doesn't work in .htaccess files on this server) Hosting with Mosso. Tell me that I have Rewrite permissions on account. Put .htaccess file in subdomain and no change in protection settings. Can't figure it out. Help. The subdomain folder is outside the main domain folder on the server. AMember is installed on main domain. I'd like to keep aMember installed on main domain, if possible. Mainly only want members to see the subdomain.
is your subdomain a subdirectory of your main domain? domain.com/sub = sub.domain.com if so then this is fairly straightforward.. is it possible to have your host structure it this way?
No, it's not - hence the issue. I know I could install aMember on the subdomain, but I really want to reserve the subdomain to be seen only by members. Anyone know a way to do this? Alex?
is there a reason you can not make the subdomain a directory of the main domain (ie. ask your host to configure it that way) and then protect that folder?
No, can't do that. Asked and Mosso only pust subdomain folders in root at same level as any other domain.
Heard from Anton by support ticket. He said it's not possible to protect a subdomain whose folder is in the root folder with the main domain.
I would go back to Mosso and ask for an exception to their policy on subdomains under a directory of the root.. this is a fairly standard configuration so there should be no technical reason they can't do this, may just mean they have to manually set it up if their auto config software doesn't do it this way by default.