Howdy list,

I'm having a little trouble with something, and perhaps
some of you who are better versed in Apache config
files might be able to help me.

Here's my current setup:
---------------------------------
I'm running a relatively current version of sqwebmail.

I have the cgi installed here: /usr/local/apache/cgi-bin/sqwebmail
And I can access it here: http://cvsup.wingnet.net/cgi-bin/sqwebmail

Here's the challenge:
---------------------------
When I open this URL:

http://cvsup.wingnet.net/cgi-bin/sqwebmail-alt-template

I want to set the SQWEBMAIL_TEMPLATEDIR environment variable
and launch sqwebmail.

I can NOT do this with a virtual host tag. I have many domains,
and I want /cgi-bin/sqwebmail-alt-template to set the appropriate
environment variable and call the sqwebmail binary regardless of
host.

I could probably do this with a wrapper C or Perl/Python script,
but I'd much rather do it with Apache if possible.

Any ideas?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



Reply via email to