|
Previous
·
Next
|
baylink
|
Date: 8/7/2008 3:19 pm · Subject: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
I thought we used to have a note on the wiki or somewhere explaining how to configure mod_proxy to point a specific domain to a bare apache running on the same machine (or just right to an htdocs directory), but I don't seem to be able to find it.
Anyone got a pointer?
--- (Edited on 8/7/2008 3:19 pm [GMT-0500] by baylink) ---
|
| Back to Top |
Rate [ | ]
|
| |
knowmad
|
Date: 8/7/2008 9:25 pm · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
How about Customizing WRE Configuration?
William
---- Knowmad Technologies http://www.knowmad.com
--- (Edited on 8/7/2008 10:25 pm [GMT-0400] by knowmad) ---
|
| Back to Top |
Rate [ | ]
|
| |
baylink
|
Date: 8/8/2008 9:02 am · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Actually, none of the recipes on that page tell how to do what I'm looking for, which is to take incoming requests for one specific site to the mod_proxy apache on :80, and just send them off to a directory somewhere.
I guess I'll just play with it a bit.
--- (Edited on 8/8/2008 9:02 am [GMT-0500] by baylink) ---
|
| Back to Top |
Rate [ | ]
|
| |
Klaus
|
Date: 8/8/2008 10:58 am · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
If you want to host a website with their own domain configure a virtual host for this domain:
http://httpd.apache.org/docs/2.2/en/vhosts/name-based.html
--- (Edited on 8-August-2008 17:58 [GMT+0200] by Klaus) ---
|
| Back to Top |
Rate [ | ]
|
| |
baylink
|
Date: 8/8/2008 2:09 pm · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Well, thank you.
Could you, now, expand for me on how, precisely, one shoehorns that into the already existing config framework of mod_proxy in WRE 0.8 (just like my subject line for the thread suggests)?
Cause I *know* how to do it on a raw Apache setup; that wasn't what I was asking.
--- (Edited on 8/8/2008 2:09 pm [GMT-0500] by baylink) ---
|
| Back to Top |
Rate [ | ]
|
| |
baylink
|
Date: 8/9/2008 8:36 pm · Subject: SOLVED: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Well, as it happens, making a copy of a SITENAME.modproxy file in /data/wre/etc and modifying it appropriately, then restarting Apache, *does* actually work.
I ripped out all the mod_rewrite stuff, changed the sitename and docroot appropriately, and I was golden.
--- (Edited on 8/9/2008 8:36 pm [GMT-0500] by baylink) ---
|
| Back to Top |
Rate [ | ]
|
| |
knowmad
|
Date: 8/11/2008 4:53 pm · Subject: Re: SOLVED: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Well, as it happens, making a copy of a SITENAME.modproxy file in /data/wre/etc and modifying it appropriately, then restarting Apache, *does* actually work.
I ripped out all the mod_rewrite stuff, changed the sitename and docroot appropriately, and I was golden.
Now that you have it working, how about updating the wiki page that shows how to setup alternative Apache configurations?
William
---- Knowmad Technologies http://www.knowmad.com
--- (Edited on 8/11/2008 5:53 pm [GMT-0400] by knowmad) ---
|
| Back to Top |
Rate [ | ]
|
| |
Klaus
|
Date: 8/11/2008 5:32 pm · Subject: Re: SOLVED: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Well, as it happens, making a copy of a SITENAME.modproxy file in /data/wre/etc and modifying it appropriately, then restarting Apache, *does* actually work.
I ripped out all the mod_rewrite stuff, changed the sitename and docroot appropriately, and I was golden.
Well, this will work.
I recommend not to use a *.modproxy file. You can not know what will happen with these files for example during a wre update.
Use a different file e.g. SITENAME.localvost and place a statement into the main apache conf file to use these files:
Include [% wreRoot %]/etc/*.localvhost
I think to prepare the wre for such additional vhots configuration should be done to make wre more flexible.
Klaus
--- (Edited on 12-August-2008 00:32 [GMT+0200] by Klaus) ---
|
| Back to Top |
Rate [ | ]
|
| |
Klaus
|
Date: 8/11/2008 6:59 pm · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
You can use the *.modproxy files.
http://www.plainblack.com/rfe/request-for-enhancement/local-conf-in-wre-environment/3
My other solution will work too ;-)
--- (Edited on 12-August-2008 01:59 [GMT+0200] by Klaus) ---
|
| Back to Top |
Rate [ | ]
|
| |
baylink
|
Date: 8/12/2008 3:01 pm · Subject: Re: mod_proxying to a bare Apache in WRE 0.8 · Rating: 0
Well, thanks for taking the bullet, Klaus. :-)
I was going to wait to confirm that was a valid approach, but we'll call that confirmation; I'll get that page updated this week.
--- (Edited on 8/12/2008 3:01 pm [GMT-0500] by baylink) ---
|
| Back to Top |
Rate [ | ]
|
| |