• 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

How to make a directory alias

S

solipsis

Guest
How do I make an alias for a directory:
e.g. I have a directory "/library" in my main domain. In a subdomain I want to use an alias "/library" pointing to that main domain directory.

In Apache httpd.conf I can include the line:
Alias /library /home/httpd/vhosts/<domain>/httpdocs/library
but I don't know how to this on a server with Plesk.
 
Try to include it intro .htaccess. It it's not working, then use vhost.conf file in ~/conf directory.
 
Back
Top