Henrik Rasmussen wrote: > >I currently have my mailman icons in an /icons directory relative to >Apache's root directory. > >Example: > >Icons is in /var/www/icons/ and the source http path to the icons is >http://server.xxx.yyy.zz/icons/ > >In order to put the server behind a proxy server, I need to change the >directory to http://server.xxx.yyy.zz/mailman/icons/
If it really has to be http://server.xxx.yyy.zz/mailman/icons/ and http://server.xxx.yyy.zz/something_else/ won't do, I think you have only one choice. See below. >By changing the variable IMAGE_LOGOS = '/icons/' to IMAGE_LOGOS = >'icons/' in the file /usr/lib/mailman/Mailman/mm_cfg.py the http path is >seemly relative to Mailman's root >http://server.xxx.yyy.zz/mailman/icons/ Actually, it is just a relative path in the HTML to which your browser prepends the current location. >which I suppose should be >/usr/lib/mailman/icons/ ,but moving the image file >/usr/lib/mailman/icons/ still results in a missing image. > >My question is, where Mailman's root directory is suppose to be, or >rather which directory on the server correspond to >http://server.xxx.yyy.zz/mailman/icons/? You have something like ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ in your httpd.conf, so http://server.xxx.yyy.zz/mailman/icons/ corresponds to the CGI named icons in the directory /usr/lib/mailman/cgi-bin/. Ideally, you could alias it in your Apache httpd.conf with something like Alias /mailman/ /usr/lib/mailman/ except this won't work because of the conflict with the ScriptAlias. If you really need the URL for the icons to be http://example.com/mailman/icons/, I think you need to create an 'icons' CGI and put it in /usr/lib/mailman/cgi-bin/. This would be a simple CGI that would just parse the name following http://example.com/mailman/icons/ in the URL and locate and serve that file. There may be some other way to address this in the Apache configuration, but that's an Apache question that I don't know the answer to. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp