[ic] PreFork and VendURL

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Mon Aug 27 09:11:00 2001


Hi,
Interchange 4.8.1, Linux kernel 2.4.9

I have a VendURL directive like this:
VendURL http://__DOMAIN____CGI_URL__
ifdef HOST_NAME eq 'cosmo' 
          VendURL <&EOF
                          sub {
                                  return 'http://__DOMAIN____CGI_URL__' if 
$ENV{HTTPS};
                                  return 
"http://$ENV{HTTP_HOST}__CGI_URL__";
                      }
EOF
endif

This is done so that each developer may have their own development area. 
joe.somedomain.com is different then bob.somedomain.com.

This has been working fine until I set PreFork Yes. In that case the area 
tag outputs something like http://joe.joe.somedomain.com/ic/... instead of 
http://joe.somedomain.com/ic/...

Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700