You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andre Rodrigues <ac...@yahoo.com.br> on 2009/10/02 19:42:37 UTC
[users@httpd] [virtual host - jkmount]Infra structure refactoring
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org