 |
This seems redundant with Magnolia and Apache 2. If someone wants to volunteer and merge them, that'd be much appreciated.
|
If you are using Tomcat, you can use the mod_jk interface. However, with Apache 2, the mod_proxy plugin provides a more generic interface, suitable for Tomcat as well as any other application server. Use the following code snippet within your Apache2 httpd.conf file to redirect all requests ending with 'public' to your server.
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName www.yourdomain.com
DocumentRoot /home/yourdomain/public_html
ProxyPass /public http: ProxyPassReverse /public http:</VirtualHost>
Basically, this should be enough, but if you are making this on a Linux OS and SELinux is running you may experience permission problems during the redirect. In this case you'll find the following messages in the error.log of the Apache:
Permission Denied: Proxy: HTTP: Attempt to connect to http:
In this case, try to enabled script access in SELinux (Described for fedoracore):
Desktop -> System Setting -> Security level -> SElinux -> HTTPD Service -->
Check "Allow HTTPD scripts to connect to the network"
In its previous incarnation on JspWiki, this page was last edited on Feb 9, 2007 11:00:56 AM by Magnolia
Other known authors include :
- 218.242.188.34
- 218.242.188.34
- 212.155.238.1
- 24.176.214.92