Date: Mon, 16 Apr 2007 08:50:49 -0700 From: David Southwell <david@vizion2000.net> To: ports@freebsd.org Subject: Mailman.. relative/absolute path issue??? Message-ID: <200704160850.49971.david@vizion2000.net>
next in thread | raw e-mail | index | archive | help
Difficulty with list creation procedures. My webserver is intended to host a number of sites each one of which will provide, among other things,maillists. The primary site is www.vizion200.net. Access to www.vizion2000.net/mailman/create responds with the result that the mailing list has been created. The source code read by the browser,for the page is shown below: <HTML> <HEAD> <LINK REL="SHORTCUT ICON" HREF="/usr2/virtualwebs/icons/mm-icon.png"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <TITLE>Mailing list creation results</TITLE> </HEAD> <BODY bgcolor="white"> <table WIDTH="100%" BORDER="0"> <tr> <td BGCOLOR="#99ccff"><center><strong><font size="+1">Mailing list creation results</font></strong></center></td> </tr> <tr> <td>You have successfully created the mailing list <b>mytest6</b> and notification has been sent to the list owner <b>david@vizion2000.net</b>. You can now:</td> </tr> <tr> <td> <ul> <li><a href="http://www.vizion2000.net/mailman/listinfo/mytest5">Visit the list's info page</a> <li><a href="http://www.vizion2000.net/mailman/admin/mytest5">Visit the list's admin page</a> <li><a href="http://www.vizion2000.net/mailman/create">Create another list</a> </ul> </td> </tr> </table> <hr>Return to the <a href="http://www.vizion2000.net/mailman/listinfo">general list overview</a><br>Return to the <a href="http://www.vizion2000.net/mailman/admin">administrative list overview</a> <table WIDTH="100%" BORDER="0"> <tr> <td><img src="/usr2/virtualwebs/icons/mailman.jpg" alt="Delivered by Mailman" border=0><br>version 2.1.9</td> <td><img src="/usr2/virtualwebs/icons/PythonPowered.png" alt="Python Powered" border=0></td> <td><img src="/usr2/virtualwebs/icons/powerlogo.gif" alt="Powered by FreeBSD" border=0></td> </tr> </table> </BODY> </HTML> Each of the above referrer lines for the img_src are shown with the absolute path correctly specified in the page source. ------------------------------------------------------- However the apache server is receiving incorrect path requests from mailman: _______________________________________________________________________ [Mon Apr 16 08:28:18 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: ^^ http://www.vizion2000.net/mailman/create [Mon Apr 16 08:28:18 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: http://www.vizion2000.net/mailman/create [Mon Apr 16 08:28:18 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: http://www.vizion2000.net/mailman/create [Mon Apr 16 08:28:54 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: http://www.vizion2000.net/mailman/create [Mon Apr 16 08:28:54 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: http://www.vizion2000.net/mailman/create [Mon Apr 16 08:28:54 2007] [error] [client 192.168.15.1] File does not exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: http://www.vizion2000.net/mailman/create __________________________________________ It looks as though mailman is trying to add whole or part of the absolute path to the absolute path!! weird. _______________________________ When I checked the properties for each of the three icons at the bottom of the mail list creation page I found that the sought path is, for example: http://www.vizion2000.net/usr2/virtualwebs/icons/PythonPowered.png but should be /usr2/virtualwebs/icons/PythonPowered.png The relevant line in mm_cfg.py IMAGE_LOGOS = '/usr2/virtualwebs/icons/' I am not certain whether it may/maynot help to know that all web sites are located at the absolute paths /usr2/virtualwebs/<my.domain.ain>. Freebsd 6.1 Postfix Apache22 Thanks in advance David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704160850.49971.david>