Since it is very tricky to implement vhost support for normal tenants, we
are better off not exposing this for tenants, so, in the UI, the tenant
should not see the vhost option, or, to make things simple, only the
default host should be shown.

On Tue, Sep 23, 2014 at 6:09 PM, Nipuni Perera <[email protected]> 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: [email protected]
> Git hub profile: https://github.com/nipuni
> Mobile: +94 (71) 5626680
> <http://wso2.com>
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919blog: **http://blog.afkham.org*
<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*
<http://twitter.com/afkham_azeez>
*linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to