• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Adding replacement Alias to vhost.conf

WillGonz

New Pleskian
So I know all the .conf files say not to edit them and to edit the vhost.conf instead.

I would like to add a:
Code:
Alias /cgi-bin/ /var/www/vhosts/blah.com/httpdocs/cgi-bin/
<Directory /var/www/vhosts/blah.com/httpdocs/cgi-bin/>
AddHandler cgi-script .cgi
Options ExecCGI
</Directory>

I need to do this so I can do http://blah.com/cgi-bin/helloworld instead of http://blah.com/cgi-bin/helloworld/index.cgi.
If I edit my last_http.conf it works fine, but that is not the best way.

My question is how do I make it so it cancels out the previous ScriptAlias and uses the one in my vhost.conf?
I tried and now it does " [warn] The Alias directive in /var/www/vhosts/system/blah.com/conf/vhost.conf at line 10 will probably never match because it overlaps an earlier ScriptAlias."

Thanks
 
Back
Top