Why is that so?
Because that's where it gets put on my shared hosting...
When I add a domain in cPanel it adds this by default:
/home/myusername/domain/cgi-bin/
Where domain/ is the webroot.
I modify it slightly cPanel so I get:
/home/myusername/domain/prod/cgi-bin/
/home/myusername/domain/test/cgi-bin/
/home/myusername/domain/dev/cgi-bin/
Where:
www.domain.com -> prod/
test.domain.com -> test/
dev.domain.com -> dev/
Because that's the way cPanel does it, I hadn't considered that there was a better way! |