Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
September 02, 2014, 09:14:34 AM

Pages: [1]   Go Down
  Print  
Author Topic: How to password protect a subdomain directory?  (Read 7377 times)
pr0fess0r
Pong! (the videogame) Master
*****
Offline Offline

Posts: 24


« on: July 27, 2007, 03:34:08 PM »

Hi
How do I protect a subdomain directory in Plesk? The directory protection only starts at the doc root ie. / = /sitename/httpdocs/, and subdomains are stored in /sitename/subdomains/sitename/httpdocs

Or do I have to make a .htaccess file manually?

cheers
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1397



« Reply #1 on: July 27, 2007, 07:59:36 PM »

Hi,

Unfortunately, Plesk does not provide such functionality. You can manually create .htaccess file and generate necessary logins/passwords using htaccess. Or you can use more Plesk friendly way and create the subdomain as a domain not checking www box during setup. You will be able to to protect the folders now because the subdomain will be a domain for Plesk.

I hope this helps.
Logged

Kind Regards,
Vlad Artamonov
pr0fess0r
Pong! (the videogame) Master
*****
Offline Offline

Posts: 24


« Reply #2 on: July 27, 2007, 08:48:54 PM »

Thanks Smile
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1397



« Reply #3 on: July 28, 2007, 10:01:16 AM »


Anytime  Welcome
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: