• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

i don't want the cgi-bin ScriptAlias!

W

wkonline

Guest
I have googled and searched this forum for a long time an cannot find an answer.
i have enabled cgi-support for the httpdocs (i know, i shouldnt have :) ) and now i want to disable the ScriptAlias "cgi-bin" for the whole server as default. when i add a new hosting the ScriptAlias is set by default. But i don't want this. can anyone tell me how to edit the templates for the httpd.conf files wich are placed in the vhosts directorys?

thanks!
wkonline
 
You can't (well you can, but it's pretty useless because Plesk will override your settings)) edit the httpd.conf file in ~/conf/, *but* you can make your own vhost.conf with your own settings. Not sure you can overwrite the ScriptAlias.

You could also enable cgi-bin via your own vhost.conf in stead of let Plesk do it, so you won't have the ScriptAlias.
 
ah, if i don't give a user the cgi option the systems will not activate the ScriptAlias?
In this Case it is ok for me, because all accounts have cgi access. an because i activated cgi on the whole server i don't need the alias, right?
 
Originally posted by wkonline
ah, if i don't give a user the cgi option the systems will not activate the ScriptAlias?
In this Case it is ok for me, because all accounts have cgi access. an because i activated cgi on the whole server i don't need the alias, right?

If you've activated cgi for all of your vhosts in the configuration files, you don't need to activate it via Plesk per se.
 
Back
Top