What kind of conflicts are you talking about? I guess using mod_proxy would 
work as well. Depending on what OS and version you are running your Apache 
install probably already has it, maybe you only need to enable it. Of course 
you could just use 8080 instead of 8081.

Nils.
________________________________________
Van: [email protected] <[email protected]> namens 
Sam Fletcher (via Magnolia Forums) <[email protected]>
Verzonden: donderdag 31 oktober 2013 14:24
Aan: Magnolia User List
Onderwerp: [magnolia-user]  Re: Setting up domain to run without port 8080

I have tried to install the Tomcat Connector but it appear to have conflicts 
with Plesk

would this work instead?

Configure your copy of Apache so that it includes the mod_proxy module. If you 
are building from source, the easiest way to do this is to include the 
--enable-module=proxy directive on the ./configure command line.
If not already added for you, make sure that you are loading the mod_proxy 
module at Apache startup time, by using the following directives in your 
httpd.conf file:


LoadModule proxy_module  {path-to-modules}/mod_proxy.so
AddModule  mod_proxy.c


Include two directives in your httpd.conf file for each web application that 
you wish to forward to Tomcat. For example, to forward an application at 
context path /myapp:


ProxyPass         /myapp  http://localhost:8081/myapp
ProxyPassReverse  /myapp  http://localhost:8081/myapp


which tells Apache to forward URLs of the form http://localhost/myapp/* to the 
Tomcat connector listening on port 8081.
Configure your copy of Tomcat to include a special <Connector> element, with 
appropriate proxy settings, for example:


<Connector port="8081" ...
              proxyName="www.mycompany.com"
              proxyPort="80"/>

--
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=d2f04346-8fbf-442b-995d-66201ffcf04a


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to