Hosting for a charity that I do work for - using the charity's web host..
Needed a subdomain, added it in CPanel but it wouldn't resolve
(Host owner asked for rewrite_conds adding in root directory .. I've not had to do that before for a subdomain, but it didn't correct it)
The host owner then said he could set up the subdomain some other way, so did so and everything worked
Both root and new subdomain have rewrites and baseurl set to their own directory, and both are using sessions for log in to their CMS.
Now here's the problem
I need to add basic ht_auth password protection on the subdomain directory.
What could possibly go wrong?
So I do this and can lock out / get access correctly.
But it throws out the baseurl - sudddenly the rewrites have lost their root and it's like mod_rewrite is deactivated - I just see my index page defaulting to showing the homepage with no css.
Wherever I put the htpasswd file the issue is the same, (above root/in root/under root) so it's not the password location.
The host owner can't be bothered to help.
Any tips or ideas?