HappyAlex

Registered
Sep 19, 2006
3
0
151
i have cPanel Build 10.9.0-RELEASE 10737
OS: RedHat
today i found very intresting think.
exmaple:
i have domain :
xyz.com - like a primary domain dir will be : /home/xyz.com/public_html - for example
now i create subdomain like xzyx.xyz.com the dir will be : /home/xyz.com/public_html/xzyx.xyz.com - for example
i bought expensive perl script .. put in cgi-bin for xzyx.xyz.com
try to access xzyx.xyz.com/cgi-bin/data/orders.db - for example - and get error - very good
but i will do :
xyz.com/xzyx.xyz.com/cgi-bin/data/orders.db i will get this file

example:
try to access:
http://test.alexeyshalin.myownsiteonline.com/cgi-bin/orders/orders.db
for errors:) no problem :)
try this
http://alexeyshalin.myownsiteonline.com/test/cgi-bin/orders/orders.db

and you got this file
same thing for addon_domain