Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Install/Upgrade Help > mod_proxying to a bare Apache in WRE 0.8 Goto page «Previous Page   1 2    Next Page»

mod_proxying to a bare Apache in WRE 0.8

User baylink
Date 8/7/2008 3:19 pm
Views 656
Rating 0    Rate [
|
]
Previous · Next
User Message
baylink

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

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

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

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

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

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

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

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

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

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 [
|
]
 
 
     Install/Upgrade Help > mod_proxying to a bare Apache in WRE 0.8 Goto page «Previous Page   1 2    Next Page»




Re: OReilly by koen - Sat @ 06:44pm

Re: OReilly by JT - Sat @ 12:46pm

Re: Glad to be here by Mike_S - Sat @ 09:11am

Partner Marketing Goals? by koen - Sat @ 08:15am

Re: OReilly by koen - Sat @ 08:07am

Re: Glad to be here by koen - Sat @ 08:05am

Re: WebGUI Drinks by Albert2 - Sat @ 05:06am