Possible to get rid of private_html, use same content for SSL/non-SSL?

Cyrix Hosting

Verified User
Joined
Feb 15, 2009
Messages
7
So I'm revisiting DirectAdmin, having not used it since it was in its very early stages, and I'm wondering is there any way to not use th separate public_html and private_html folders, but use the same content for SSL and non-SSL requests?
 
You can symlink it via the domain setup link then click on the domain.

private_html setup for demo.com - (SSL must be enabled above)
--Use a directory named private_html
--Use a symbolic link from private_html to public_html - allows for same data in http and https
:)
 
In fact DirectAdmin now allows you to specify this on domain creation.

Jeff
 
Make sure that all files in private_html which you need are moved to public_html, as once you do this, anything in private_html will be gone forever.

Then delete the private_html deirectory, and create a link from private_html to public_html.

Note that this has the ability to make your site very insecure; your users will be able to load pages into their browsers insecurely, even though you expect them to be secure.

Jeff
 
Back
Top