Good Morning,

How do I create Cgi-bin for each domain, and can I access throught FTP ?

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

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


Derick Nieuwoudt

you should do folder add/setup in classapp.php,
function syncDomains(

you will see something "mkdir -p"
similar way

Thanks ehcpdeveloper

I used this guide :

just moved the from /usr/lib/cgi-bin to new folder
and it's working great for the new domain


Derick Nieuwoudt

I have created /httpdocs/cgi-bin

Then I added :

ScriptAlias /cgi-bin/ /var/www/vhosts/xxx/

Options ExecCGI
AddHandler cgi-script cgi pl

in : Edit apache template for this domain

Faster this way


Derick Nieuwoudt