Hi Nipuni,

What happens when a tenant uploads a webapp to a virtual host? Can the user
invoke it?



On Tue, Sep 23, 2014 at 2:39 PM, Nipuni Perera <nip...@wso2.com> wrote:

> 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: nip...@wso2.com
> Git hub profile: https://github.com/nipuni
> Mobile: +94 (71) 5626680
> <http://wso2.com>
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to