Just wanted to make these notes before I forget - the aim here was to create a vhost (or potentially several vhosts) which map to different projects hosted on (some kind) of servlet container like glassfish:
1. Install or upgrade to the latest version of Apache http server (Apache 2.2)
2. edit your hosts file (C:\WINDOWS\system32\drivers\etc) to add the name for whatever you need to proxy (as per usual vhost settings):
3. edit httpd.conf (For Windows, it should be in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf):
Are uncommented in order for proxying to work correctly.
Also ensure the httpd-vhosts.conf include is being "Included" by uncommenting:
4. edit C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-vhosts.conf
Delete (or uncomment) any of the default install stuff in there... If you're using a different folder, you'll have to configure the permissions (OSX):
# This block sets the permissions for apache (n.b. these differ from the OS file permissions)
# setting localhost's "starting point"; in this case, it's my workspace folder, so I can see all my projects
#setting the rewrite / proxy rules for your hostname
Restart apache and mod_proxy should be working.
- ► 2011 (35)
- ► 2010 (43)
- Daisy CMS - connecting a JMS listener to the repos...
- Daisy CMS - customising the footer of the editor p...
- Daisy CMS - allowing attributes in the SimpleDocum...
- JSF - ensuring your [xhtml] pages load with a text...
- Eclipse Galileo (3.5): Creating and running a JSF ...
- Using Eclipse Galileo to develop JSF applications ...
- SVN Web view - looking at older revisions
- Notes on setting up mod_proxy on apache 2.2 for pr...
- Addressing stability issues when running Eclipse 3...
- Forcing glassfish 2.1 to start-up with JDK1.6 (OSX...
- ▼ June (10)
- ► 2008 (24)