View Full Version : Lock access direct to directory of subdomains
AleSSaNDRo
03-29-2005, 10:51 AM
It is possible?
I want lock access direct to directory of subdomains.
Example:
Subdomain: pippo.site.com
I want deny: www.site.com/pippo
jmstacey
03-29-2005, 09:56 PM
I don't think there would be a way to do it automatically, unless you created a custom script for it that possibly used the post create subdomain script, if there is one like that. You should be able to do it with a .htaccess file
Somebody correct me if I'm wrong.
nobaloney
03-31-2005, 12:33 AM
DirectAdmin implements subdomains by creating them as folders underneath the main public_html directory.
You could manually move the directory outside the public_html directory path, but you'd have to make changes to the httpd.conf file for the domain, and to the home directory path for the subdomain's user (if any).
DirectAdmin could rewirte the httpd.conf file.
Safest bet would be to create it as a separate domain.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.