Is this possible?
I know we can enable/disable CGI (perl), but is there a way to totally disable a domain from running ANY server-side scripts?
ie: They should be able to run ONLY .html and not:
.php
.shtml
.asp
.cgi
.pl
..or whatever else..
Thanks!
Is this possible?
I know we can enable/disable CGI (perl), but is there a way to totally disable a domain from running ANY server-side scripts?
ie: They should be able to run ONLY .html and not:
.php
.shtml
.asp
.cgi
.pl
..or whatever else..
Thanks!
I am an eNom ETP.
Sign up today if you want an eNom.com domain reseller account from a reliable provider.
* We now provide support and service to over 3250 happy resellers!
Your httpd.conf specifies how to handle certain file types.
Based on this, I suppose it's possible to override such directives in local .htaccess files.
If this is possible, you'd then have to overcome the problem of users modifying such .htaccess files. They'd need to be readable by Apache and then, by association, by everyone else, however they wouldn't need to be writable by anyone - would permissions of 0444 work?
Can this be done programmatically when creating the account?
ie: I want to set up a basic WHM plan that does NOT allow php/cgi
Any ideas?
I am an eNom ETP.
Sign up today if you want an eNom.com domain reseller account from a reliable provider.
* We now provide support and service to over 3250 happy resellers!
It's certainly possible. You'd have to do some coding using the /scripts/postwwwacct script which you would have to create and code yourself.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com