PDA

View Full Version : Is There A Way To.....



DaGeek
05-09-2002, 09:00 AM
1.)
Is there a way 2 disable a feature for a sertain package i wont 2 offer ?
ie i would like to remove the ability to use PHP for 1 of my Small/starter packages..
is this pos...
even if itz via a .htaccess file thatz fine...

2.)
Is there a way to have a shared CGI-BIN for a few packages i offer...
i wont 2 make people upgrade to the next package if they need there own CGI-BIN ?

Snowman
05-09-2002, 09:05 AM
1.)
Is there a way 2 disable a feature for a sertain package i wont 2 offer ?
ie i would like to remove the ability to use PHP for 1 of my Small/starter packages..
is this pos...
even if itz via a .htaccess file thatz fine...

disabling PHP no....unless you are aware of a way to do it on the account locally via .htaccess.

2.)
Is there a way to have a shared CGI-BIN for a few packages i offer...
i wont 2 make people upgrade to the next package if they need there own CGI-BIN ?

you can select whether or not to give cgi-bin access to customers when setting up there account.

As for a shared CGI-BIN no as this would cause security issues as CGI is run under the USERNAME's privledges not under NOBODY

DaGeek
05-09-2002, 09:13 AM
How about playing with the .php file extenshion..
ie mayb pass the PHP files 2 a normal HTML progie rather then php.exe
or stopin people accessin the .php file extenshion opasit of the way u do with .cgi to allow it 2 exe in the cgi-bin dir?
would this work ?