Change document root of a domain only for HTTP and not HTTPS

elbarto

Verified User
Joined
Oct 8, 2008
Messages
133
Hi guys,

I'm having a problem that I don't see how to fix. I have a custom HTTPD configuration that is something like this:

Code:
|*if !SUB|
|?DOCROOT=/home/myuser/domains/domain.com.ar/public_html/v5|
|*endif|

|*if SUB="timer"|
|?DOCROOT=/home/myuser/domains/domain.com.ar/timer/public|
|*endif|

|*if SUB="short"|
|?DOCROOT=/home/myuser/domains/domain.com.ar/short/public|
|*endif|

Today I added the if !SUB part because my client wanted to change the document root of his domain to use a new version of his web. The thing is that by adding that the document root for HTTPS also changed, and my client doesn't want that because he has other files on his private_html folder that he still needs to use.

How can I fix it?
 
I'm not changing any file, this is not in a template, this is in DA's "Custom HTTPD configuration".
 
Back
Top