Web Hosting Talk







View Full Version : Is this posible with cpanel?


iago
12-19-2002, 01:39 AM
I want to set a common cgi directory with some scripts that i want my customers to pay for. It would be additional cgi apps, like poll systems, postcards, etc.

What i want to do is have this directory available for every account but somehow the customers dont have access to the source code, nor viewing/modifying the code.

I have seen that there are other "common" directories that can be called from every website account, like http://somedomain.com/java-sys/

but this directories do not appear when the user access via shell, ftp or the file manager to his account, so they cant modify them nor see the code, right?

so, i would like to create a directory like java-sys, maybe "private-cgi" and place several scripts in there so they can be executed but the user wont have access to the code. I want this scripts to be called with somedomain.com/private-cgi/poll.cgi and not to have a third domain like cgiprovider.com/private-cgi/poll.cgi so it appears that the script is hosted with somedomain.com

hope i was clear with this :)

Is this posible to do? If so, where should this directory be located? and where is this directory: java-sys placed?

Regards!

Aushosts
12-19-2002, 02:10 AM
You could tag a username you make (java-sys) somedomain.com/~java-sys/poll.cgi

The you would ftp to your account u setup and upload and chmod as you need to. Users simply acess it using /~java-sys/

This would avoid problems if the user wanted there own /java-sys/ directory for any reason.

Hope this helps.