Web Hosting Talk







View Full Version : Cpanel Reseller Questions -?-


justsurge
10-03-2003, 12:15 PM
2 Things.

1] Is it Possible to have a cpanel reseller acct. set up an acct., give away subdomains on that acct., give FTP access to each user, BUT, NOT allow users to upload via FTP: cgi - php or .htaccess files (only html & image files) .

2] Is it possible to write a script in perl that could automatically set up a subdomain thru cpanel, or another way without having to do it manually.

Thank You.

Ej

Tamarra
10-04-2003, 05:02 PM
1- No, you can not add accounts via CPanel. You can do add on domains if you are allowed however that would not have the same functions a true WHM account would.

2- There are already many scripts as you have described. Modernbill, whmautopilot etc.

Regards,

Tamarra
tamarra@sultanhost.com

Atomm
10-04-2003, 05:24 PM
Your best bet on #1 is to find a script that will allow them upload via the web and have it check the files to make sure they are allowed. Don't give them access to the directory directly. If you are creating an image gallery of some sort, there are tons of great PHP scripts out there that do exactly that.

Also, if you create a sub-domain in cpanel and create an FTP user with that same name, they will be able to log into the sub-domain, but not the main domain. At least, when I tested it, that is how it worked. It has been about a year since I did that.

I second the last response to #2.