• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Setting up symlinks for previewing site

C

cmonnat

Guest
I'm looking to setup an account on our Plesk server that makes it simpler to preview sites through an easy to remember address.

I've setup a hosting account in Plesk for s3.practisinc.com. I would like to configure things so that by making a symlink in the web_users directory of s3.practisinc.com I am able to access other sites hosted on the server by visiting:

http://s3.practisinc.com/~domain-name.com

I have been working at this for a while without much success. So far, I have created a vhost.conf file in the conf directory of the s3.practisinc.com site with the following commands:

Code:
<Directory /var/www/vhosts/s3.practisinc.com/web_users>
    Options Indexes FollowSymLinks
</Directory>

<Directory /var/www/vhosts/s3.practisinc.com/web_users/* >
                Options -Includes +ExecCGI
                AddHandler cgi-script .cgi
        <IfModule sapi_apache2.c>
                php_admin_flag engine on
                php_admin_flag safe_mode on
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine on
                php_admin_flag safe_mode on
        </IfModule>
</Directory>

After creating that file I run the websrvmng command to restart the services. It looks like it should totally work, but when I try to visit a site on the server after creating a symlink I am getting a "Not Found" error.

Anyone have any ideas on what I'm doing wrong?
 
Back
Top