4 ms·
You can hide it very easily with any of the virtual host syntax, and it's easy to deploy that way. I say, why not.
by dsirijus 13y ago
You can hide it very easily with any of the virtual host syntax, and it's easy to deploy that way. I say, why not.
- kcbanner 13y agoBecause of all the reasons parent mentioned.
- StavrosK 13y agoYou should do both, though.
- brown9-2 13y agoYou could also very easily add one additional command to your deploy script to copy all the web content from the directory being pulled to to the web root, and not have to worry about any accidents.
- astrodust 13y agoOr you could set the web root to be that directory.
- dan15 13y agoHiding it is riskier than just not having it there in the first place. Why blacklist when you can whitelist?