The problem(?) seems to be Apache-related. Apparently, having a ScriptAlias entry with the same name as a DocumentRoot subdirectory causes the subdirectory to not be searched for images, etc., without generating any errors. This may be an "Oh, didn't you know...", but I didn't.

Changing the target from "/webmail" to "/mail" solved the problem. Diffs follow. Note the the original text was already in my httpd.conf file, I believe as a result of the Courier installation process.

625,626c625,626
< ScriptAlias /webadmin "/opt/apache/cgi-bin/webadmin"
< ScriptAlias /mail "/opt/apache/cgi-bin/webmail"
---
> ScriptAlias /webadmin "/usr/sbin/courier/webmail/webadmin"
> ScriptAlias /webmail "/usr/sbin/courier/webmail/webmail"

After getting things to work with "real" directories and files, I

1) Created a symlink (webmail) under htdocs pointing to the Courier /icons directory.

2) Created symlinks from cgi-bin to webmail and webadmin

All now seems to work. Apache wizards, Sam? - without going too far off topic, is this something that should be documented/warned about in the INSTALLATION guide?

Thanks to all for their suggestions.

John Bossert wrote:

I'm not able to get images/icons to display in webmail, though I am able to log in and see text/my mail, change passwords, etc. Using 0.45.4 built from source on Debian. Webadmin seems to work fine.

Stock Apache 2.0.49 httpd.conf file with the following additions:

 > ScriptAlias /webadmin "/usr/sbin/courier/webmail/webadmin"
 > ScriptAlias /webmail "/usr/sbin/courier/webmail/webmail"

The webmail and webadmin executables have been copied to cgi-bin, per the INSTALL directives, even though the ScriptAlias definitions would seem to make that unnecessary.

Creating the /opt/apache/htdocs/webmail directory and copying the .png files there has no effect. I see the same thing if the directory doesn't exist. There are no errors appearing in the apache logs.

Bouncing apache and sqwebmaild didn't change anything.

Any suggestions? Thanks.





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to