I was trying to install in a way to set up a virtual host (DocumentRoot
/srv/www/sqwebmail), in an attempt to be able to launch it by:
http://webmail.myhost.com/sqwebmail

Mike

-----Original Message-----
From: Brian Candler [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 3:34 AM
To: Michael J. Repucci
Cc: [EMAIL PROTECTED]
Subject: Re: [sqwebmail] problem rendering login web page


On Thu, Jun 19, 2003 at 06:58:16PM -0400, Michael J. Repucci wrote:
> Okay. They have been removed.
> Note, that when I ran configure I specified the same directory for cgi and
> images:
>
>
./configure --enable-cgibindir=/srv/www/sqwebmail --enable-imagedir=/srv/www
> /sqwebmail

That's unfortunately not a good idea. sqwebmail needs to install two things:
(1) an executable cgi-bin program
(2) some viewable images
They are two different things so you should keep them in separate
directories.

I guess what you wanted was something like:

--enable-cgibindir=/srv/www/cgi-bin/sqwebmail
--enable-imagedir=/srv/www/htdocs/sqwebmail/images
--enable-imageurl=/images

> What URL do I specify to launch the login screen?

Whatever URL you configured your webserver to serve the CGI from. If you'd
gone with defaults then the sqwebmail cgi would have gone in the standard
Apache cgi-bin directory, so you'd use http://myhost/cgi-bin/sqwebmail

If you want to change that, then it's up to you to reconfigure Apache (or
whatever your webserver is) appropriately: e.g. something like

ScriptAlias /webmail /srv/www/cgi-bin/sqwebmail/sqwebmail

would give you http://myhost/webmail

Brian.

>
> -----Original Message-----
> From: Brian Candler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2003 6:46 PM
> To: Michael J. Repucci
> Cc: [EMAIL PROTECTED]
> Subject: Re: [sqwebmail] problem rendering login web page
>
>
> On Thu, Jun 19, 2003 at 05:51:18PM -0400, Michael J. Repucci wrote:
> >    I copied all the html template from
> >    /usr/local/share/sqwebmail/html/en/ into my sqwebmail document root
> >    directory (as is).
>
> You should not have done this. The only thing that should appear in your
> sqwebmail document root is the /images/ directory containing the .gif
files.
>
> The templates are read directly by the sqwebmail binary, which then
> substitutes the magic tags with the correct strings at run-time and spits
> out the new text to the browser.
>
> 'make install' puts the files in the right places.
>
> Regards,
>
> Brian.
>
>
>



Reply via email to