Thanks Björn, that makes sense. And it works! I'm going to add the cron restart next, and base it on the example provided in the Wiki. So far I'm finding domtool to be brilliant. This is the first confusion I've had with it.
Caden On Thu, Jul 31, 2008 at 3:14 AM, Björn Lindström <[EMAIL PROTECTED]> wrote: > On Thu, Jul 31, 2008 at 07:36, C. Howell <[EMAIL PROTECTED]> wrote: >> I'm trying to set up an apache instance with mod_python. I downloaded >> and compiled Apache 2 with no problems. Also the redirect >> instructions about setting up a proxy were very helpful in the wiki. >> That seems to have worked. However, once I set up the proxy, it >> seemed that I could no longer access cadenhowell.com without the www. >> cadenhowell.com without the www now redirects to hcoop.net. Here's >> what the domtool config file looks like: >> >> dom "cadenhowell.com" where >> DefaultAlias = false; (* avoids [EMAIL PROTECTED] e-mail alias *) >> DocumentRoot = home "public_html/cadenhowell.com/" >> with >> emailAlias "caden" "[EMAIL PROTECTED]"; >> web "www" with >> proxyPass "/pie" "http://localhost:4242/"; >> proxyPassReverse "/pie" "http://localhost:4242/"; >> end; >> end; >> >> I assume it is because I added the 'web "www"' section for the proxy, >> but I could not figure out how to make those instructions apply to the >> entire domain. How would I do that? > > You should extend the default www vhost defined by dom, rather than > overriding it. The WWW variable lets you extend the vhost already > defined by dom, which will also apply to the cadenhowell.com vhost. > > So, try something like this: > > dom "cadenhowell.com" where > DefaultAlias = false; > DocumentRoot = home "public_html/cadenhowell.com/"; > WWW = begin > proxyPass "/pie" "http://localhost:4242/"; > proxyPassReverse "/pie" "http://localhost:4242/" > end > with > emailAlias "caden" "[EMAIL PROTECTED]" > end > > _______________________________________________ > HCoop-Help mailing list > [email protected] > https://lists.hcoop.net/listinfo/hcoop-help > _______________________________________________ HCoop-Help mailing list [email protected] https://lists.hcoop.net/listinfo/hcoop-help
