Block acess to sudomain directory

robson_ek

Verified User
Joined
Feb 10, 2009
Messages
13
Hello,

I have subdomains xx.yy.com, and i want block acess with yy.com/xx

How can i make this?

best regards


btw. sory for my english
 
Last edited:
Create xx.yy.com as a separate main domain instead of as a subdomain.

Jeff
 
another way, is to use custom templates. Have a look at subdomain.conf and the virtual_host* templates, where you can define your own DocumentRoot etc to your own liking. (subdomain.conf I had on an old server, maybe not used anymore)

Setting up simply as a 'separate domain' is probably much faster though!

( I was always worried that Google et al, would find my stuff at yy.com/xx and mark
as a duplicate of xx.yy.com, and penalise, but I could be totally wrong on that )
 
Last edited:
Back
Top