softstor

Member
Mar 31, 2004
13
0
151
I have a cPanel shared hosting acct and use randhtml.cgi. It seems to work correctly when called from the main page. I use the following code:

<!--#exec cmd="cgi-bin/randhtml.cgi"-->

I also have webpages in subfolders. I am unable to get this to work on any subfolder. I have tried the following:

<!--#exec cmd="cgi-bin/randhtml.cgi"-->
<!--#exec cmd="/cgi-bin/randhtml.cgi"-->
<!--#exec cmd="/home/username/public_html/cgi-bin/randhtml.cgi"-->

None of the above seems to work from a subfolder. Does anyone have any suggestions?