Hi,
I am working on an improvement for WSO2-AS to enable tomcat virtual host
support [1]. With the current improvements we support the creation of
additional virtual hosts as required by the users. A user need to modify
catalina-server.xml (inside <CARBON-HOME>/repository/conf/tomcat/) to add
an additional host to tomcat as below.
<Engine name="Catalina" defaultHost="localhost">
...
<Host name="localhost" unpackWARs="true" deployOnStartup="false"
autoDeploy="false"
appBase="${carbon.home}/repository/deployment/server/webapps/">
...
</Host>
<Host name="www.vhost.com" unpackWARs="true" deployOnStartup="false"
autoDeploy="false"
appBase="${carbon.home}/repository/deployment/server/dir/">
...
</Host>
</Engine>
Therefore this feature (adding virtual hosts) is only available for the
super tenant. Does a tenant should be able to add webapps to virtual
hosts?. Image below (webapp-upload-page.png) shows the webapp upload page
(for both tenants and super tenant) according to the current
implementation. Users can select under which host name the uploaded webapp
should deploy to. Does this option should visible for tenants as well?
webapp-upload-page.png
<https://docs.google.com/a/wso2.com/file/d/0B3LbkLV5KkU_MFFpWlVUbHpPQmM/edit?usp=drive_web>
[1] https://wso2.org/jira/browse/WSAS-1727
Thanks,
Nipuni
--
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: [email protected]
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680
<http://wso2.com>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture