Those two URLs point to the same vhost. You can either create directories
in the DocumentRoot for that vhost accordingly, or use simple Alias
directives.

Further, the config file where you defined your vhost isn't really
important.

On Tue, Aug 21, 2018 at 9:25 AM Mahmood Naderan
<nt_mahm...@yahoo.com.invalid> wrote:

> Hi,
>
> It is possible to have http://sub.somewhere/portal1
> <http://somewhere/portal1> and https://sub.somewhere/portal2
>
> For that, I have to define a document root in 000-default.conf and an
> entry for portal1 and then define an entry for portal2 in default-ssl.conf.
>
> Is that a valid configuration? Or I have to define all directories in
> either 000-default.conf (http) or default-ssl.conf (https)?
>
>
> Regards,
> Mahmood
>

Reply via email to