[virtual host - jkmount]Infra structure refactoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to modify apache config to accomplish the following characteristcis:

1- Have one domain with digital certificate.

2- Transform the production domains into applications below the domain.


I´ve set up a virtualhost to accomplish the task 1, it works ok. But I´m stuck in refactoring the existing configuration below. 

Original vhost.conf  with many VirtualHost entries:

<VirtualHost *:80>

ServerName app1
.....
JkMount /app dmb
.....
</VirtualHost>


<VirtualHost *:80>

ServerName app2
.....
JkMount /app dmb2
.....
</VirtualHost>

End of vhost.conf

As we can see dmb and dmb2 point to different tomcat instances that can be running at the same time.


I´ve created two virtualhost entries to handle the first task:

<VirtualHost *:80>

ServerName portaldmb

Redirect / https://portaldmb.ab/

</VirtualHost>


<VirtualHost *:443>

ServerName portaldmb.ab

JkMount /app dmb

</VirtualHost>

How can I configure the last VirtualHost to keep the two JkMounts?
OR
Do I´m using the worng config to solve the problem?


 Thanks,
André



      

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux