Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
Good Morning,
How do I create Cgi-bin for each domain, and can I access throught FTP ?
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
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
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
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
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
you should do folder add/setup in classapp.php,
function syncDomains(
you will see something "mkdir -p"
similar way
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
Thanks ehcpdeveloper
I used this guide :
http://www.ubuntugeek.com/how-to-install-apache2-webserver-with-phpcgi-and-perl-support-in-ubuntu-server.html
just moved the formail.pl from /usr/lib/cgi-bin to new folder
and it's working great for the new domain
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
I have created /httpdocs/cgi-bin
Then I added :
ScriptAlias /cgi-bin/ /var/www/vhosts/xxx/xxx.co.za/httpdocs/cgi-bin/
<Directory /var/www/vhosts/xxx/xxx.co.za/httpdocs/cgi-bin/>
Options ExecCGI
AddHandler cgi-script cgi pl
</Directory>
in : Edit apache template for this domain
Faster this way
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.