Good Morning,
How do I create Cgi-bin for each domain, and can I access throught FTP ?
ehcpdeveloper
Fri, 01/15/2010 - 21:41
Permalink
I should ask you: * do you want to setup cgi-bin folder for all domains in your ehcp? all current+all future ones ? this requires little coding.
* is that only a folder, or does it means a special meaning, does it needs to have special permissions ? if so, you need to edit apachetemplate file
dnieu
Fri, 01/15/2010 - 22:54
it would be nice to create bin for current and all future domains. Maybe something you can put in your future to do list.
I will try and create it myself, will let you know how it goes.
Thanks a lot for a great control panel
Regards,
Derick Nieuwoudt
Fri, 01/15/2010 - 23:05
you should do folder add/setup in classapp.php, function syncDomains(
you will see something "mkdir -p" similar way
Sat, 01/16/2010 - 00:34
Thanks ehcpdeveloper
I used this guide :
http://www.ubuntugeek.com/how-to-install-apache2-webserver-with-phpcgi-a...
just moved the formail.pl from /usr/lib/cgi-bin to new folder and it's working great for the new domain
Sat, 01/16/2010 - 02:41
I have created /httpdocs/cgi-bin
Then I added :
ScriptAlias /cgi-bin/ /var/www/vhosts/xxx/xxx.co.za/httpdocs/cgi-bin/
Options ExecCGI AddHandler cgi-script cgi pl
in : Edit apache template for this domain
Faster this way
ehcpdeveloper
Fri, 01/15/2010 - 21:41
Permalink
I should ask you: * do you
I should ask you:
* do you want to setup cgi-bin folder for all domains in your ehcp?
all current+all future ones ? this requires little coding.
* is that only a folder, or does it means a special meaning, does it needs to have special permissions ? if so, you need to edit apachetemplate file
dnieu
Fri, 01/15/2010 - 22:54
Permalink
Will try and create cgi-bin
it would be nice to create bin for current and all future domains.
Maybe something you can put in your future to do list.
I will try and create it myself, will let you know how it goes.
Thanks a lot for a great control panel
Regards,
Derick Nieuwoudt
ehcpdeveloper
Fri, 01/15/2010 - 23:05
Permalink
you should do folder
you should do folder add/setup in classapp.php,
function syncDomains(
you will see something "mkdir -p"
similar way
dnieu
Sat, 01/16/2010 - 00:34
Permalink
Got it
Thanks ehcpdeveloper
I used this guide :
http://www.ubuntugeek.com/how-to-install-apache2-webserver-with-phpcgi-a...
just moved the formail.pl from /usr/lib/cgi-bin to new folder
and it's working great for the new domain
Regards,
Derick Nieuwoudt
dnieu
Sat, 01/16/2010 - 02:41
Permalink
Better
I have created /httpdocs/cgi-bin
Then I added :
ScriptAlias /cgi-bin/ /var/www/vhosts/xxx/xxx.co.za/httpdocs/cgi-bin/
Options ExecCGI
AddHandler cgi-script cgi pl
in : Edit apache template for this domain
Faster this way
Regards,
Derick Nieuwoudt