• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

cgi and cgi-bin problems with plesk 7.5.4

M

mcfly

Guest
Hi @ all

I have now a new Server with Plesk and i will transfer my domains to this server.

My Problem is that i have a lot of domains and subdomains with cgi´s and i must have so that i can open aud execute cgi at all directories.

What must i do that i can that do it in all directories of domains and subdomains.

if found a help in the sw faq
How do I enable cgi-scripts to run from the both httpdocs and httpsdocs directories?

CGI scripts can be run in httpdocs/httpsdocs with mod_perl. You should enable mod_perl for a domain in Plesk CP and uncomment the cgi-script AddHandler directive in the Apache configuration file /$HTTPD_CONF_D/httpd.conf.
<>
AddHandler cgi-script .cgi

Restart Apache.

can i make it so that this is always when I make a domain?

Sorry for my bad English. I hope anybody can help me.
 
When configuring the "physical hosting" portion of the domain setup, there is a checkbox titled "Mod_Perl" and another titled "CGI-BIN". Checking both of these boxes on any domain you create would enable the cgi-bin and mod_perl options you are interested in.
 
Originally posted by Who-m3
When configuring the "physical hosting" portion of the domain setup, there is a checkbox titled "Mod_Perl" and another titled "CGI-BIN". Checking both of these boxes on any domain you create would enable the cgi-bin and mod_perl options you are interested in.

I know and it is on all domain´s but it doesn´t function in all directories. I want that the cgi´s ar started in all directories and not only in the cgi-bin directory.

Also i want to change the cgi-bin directory in the directory httpdocs. but with all reloads the directory stands on the old directory
 
Back
Top