• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

httpdocs ant httpsdocs point to one directory

M

meshka

Guest
Hi all,

we are using plesk at rackspace server. So what i need - is that ssl and non ssl would point to the same directory.

I don't need seperate /home/vhosts/domain/httpdocs for non ssl, and /home/vhosts/domain/httpsdocs for ssl, i would like both to point at /home/vhosts/domain/httpdocs

I can override it httpd.include of that domain, but plesk rewrites it again if i do something with the domain. Is there a good way to do that ?
 
Hi,

Use a symbolic link...

(1) Delete your /home/vhosts/domain/httpsdocs directory.
(2) Create a symbolic link:

# ln -s /home/vhosts/domain/httpdocs httpsdocs

(3) Chown httpsdocs:

# chown username:psaserv httpsdocs

Note: You will need to replace 'username' with the domain user for that folder, refer to the username applied to httpdocs.

Thats it...
 
I have a Plesk control panel also but don't know how and where to put those commands to make httpsdos point to httpdocs. Help please !!!
Many thanks.
 
Https

My previous instructions were pretty clear?

(1) Delete your /home/vhosts/domain/httpsdocs directory.
(2) Create a symbolic link:

# ln -s /home/vhosts/domain/httpdocs httpsdocs

(3) Chown httpsdocs:

# chown username:psaserv httpsdocs

Note: You will need to replace 'username' with the domain user for that folder, refer to the username applied to httpdocs.
 
Thanks but I don't know anything about shell scripting and my question was..where do I run that line of code to create the symbolic link?
 
Config

You simply need to login to your server via the shell, adjust the syntax to suit your needs and run it in the bash.

PM me if you want me to do this for you.
 
Thanks a lot. I just found out from another forum there's an option (checkbox) in Plesk that allows you to configure using one folder for both https and http docs, just done that and it's working.
Thanks for your help.
 
Back
Top