• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Resolved Virtual Host Template

DieterWerner

Regular Pleskian
The contend of the VHost template is:
- cgi-bin
- httpdocs
(and others)

But creating a new domain results in:
- httpdocs
- - cgi-bin

so what's going wrong?
 
Thanks for your reply.
The skeletons (0 and default) are ok (see my OP above)
- cgi-bin
- conf
- error_docs
- httpdocs
- webspace
 
Hi DieterWerner,

afterwards, pls. check as well the ( possible modified ) subscription settings: => HOME > Subscriptions > YOUR-DOMAIN.COM > Hosting Settings

CGI support (cgi-bin directory is located in
there are TWO possible options:
  • The document root of this domain
  • The root directory of webspace
 
Hi DieterWerner,

did you customize/limit the settings for your "service provider view"? Or are you probably only using the "power user view" ?


Pls. notice, that these settings appear at the subscription and not in the service plan!
 
Yes - I use the service provider view and I didn't limit or customize it.
And I clicked subscriptions - but the settings are not there.
Can you tell me the path to the file that contains the CGI options?
I use Centos 7.
 
Hi DieterWerner,

actually, there is not "path" here, because this option/setting is not based on templates, it's stored in your Plesk psa - database for the corresponding subscription.


You might consider to change/update the setting as well with CLI - commands:

Example commands ( logged in as user "root" over SSH ):
Code:
plesk bin subscription -u YOUR-DOMAIN.COM -cgi-mode www-root
or
Code:
plesk bin subscription -u YOUR-DOMAIN.COM -cgi-mode webspace


More CLI - commands can be found in the detailed Plesk documentation:

 
Hi DieterWerner,

actually, there is not "path" here, because this option/setting is not based on templates, it's stored in your Plesk psa - database for the corresponding subscription.


You might consider to change/update the setting as well with CLI - commands:

Example commands ( logged in as user "root" over SSH ):
Code:
plesk bin subscription -u YOUR-DOMAIN.COM -cgi-mode www-root
or
Code:
plesk bin subscription -u YOUR-DOMAIN.COM -cgi-mode webspace


More CLI - commands can be found in the detailed Plesk documentation:

OK - I will try that but I still wonder why plesk doesn't use the default/skl[0] skeleton(s) in order to create a domain.
 
Hi UFHH01,
thanks you for your help and for your patience.
The CLI command was very helpful - everything works like a charme now.
I see that the command lines make me able to code my own adminsystem under perl and have the Plesk system just for the basics.
 
Back
Top