You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Tony Stevenson (JIRA)" <ji...@apache.org> on 2015/09/01 09:49:45 UTC

[jira] [Commented] (INFRA-10222) ProxyPass for Wicket static site sub-directory

    [ https://issues.apache.org/jira/browse/INFRA-10222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724919#comment-14724919 ] 

Tony Stevenson commented on INFRA-10222:
----------------------------------------

Martin, 

This is not something we typically allow, as it means we are dependant on a 3rd party host to serve part of a site.  What we typically do is create a DNS entry that points   foo.tlp.apache.org  to an external host, and they manage that host to do what they need. 
We'd be happy to do that for you, and then you can manage the URI space as you see fit. 

> ProxyPass for Wicket static site sub-directory
> ----------------------------------------------
>
>                 Key: INFRA-10222
>                 URL: https://issues.apache.org/jira/browse/INFRA-10222
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: HTTP Server
>            Reporter: Martin Grigorov
>            Priority: Minor
>
> I would like to ask whether it is possible to enable ProxyPass HTTP directives for a sub-directory of Apache Wicket static site.
> At the moment http://wicket.apache.org/ is completely static, i.e. it consists only of .html, .css and .js files.
> We would like to add reverse proxy directives so that http://wicket.apache.org/examples/7.x proxies an external Apache Tomcat installation that will serve our examples.
> I've played locally with the setup and what is needed to be added to apache2.conf is something like:
> {code}
> ProxyRequests off
> ProxyPass         /examples/7.x/ http://examples7-apachewicket.rhcloud.com/
> <Location /examples/7.x/>
>     ProxyPassReverse  /
> </Location>
> {code}
> I'd not bother Infra team and just use .htaccess but unfortunately Proxy directives are not allowed in .htaccess file.
> So my question is: is it OK to have this proxy setup for our site?
> If YES, then please add a second entry for our 6.x releases:
> {code}
> ProxyRequests off
> ProxyPass         /examples/6.x/ http://examples6-apachewicket.rhcloud.com/
> <Location /examples/6.x/>
>     ProxyPassReverse  /
> </Location>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)