Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cgi-bin
#1
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.
Reply
#2
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.
Reply
#3
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.
Reply
#4
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.
Reply
#5
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.
Reply
#6
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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping