Forum Moderators: phranque

Message Too Old, No Replies

htaccess/htpasswd on multidomain names

         

Poltergeist

7:58 am on Mar 3, 2006 (gmt 0)

10+ Year Member



Dear All

I have a single package website with multiple domains in an ISP, cause I have four domains. The 2nd, 3rd and 4th domain will be parked via cPanel. So, my website can be visited via four different url/domain name but still with same content (my plan is using wordpress or nucleus or mamboo)

Okay, lets say my all domains are :

www.abc.com
www.def.com
www.ghi.com
www.jkl.com

I wanna protect my main page using .htpasswd that will prompting username/password dialog box BUT it for one domain only, e.g www.abc.com and another domain name www.def.com www.ghi.com and www.jkl.com NOT will take the .htpasswd effect!

Can anybody here perhaps know how to do that?

extras

5:47 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



You've already asked that in PowWeb forum, and I answered there.

Poltergeist

6:39 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



hey extras nice to see you here, lol