/mailman/listinfo page URL gets changed to /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomai
![](https://secure.gravatar.com/avatar/849529604ed2c14191b4735db2db23b0.jpg?s=120&d=mm&r=g)
Colleagues,
If I browse to the URL http://mylistserver/mailman/listinfo I get a page not found and the URL gets rewritten into
http://mylistserver/mailman/listinfomailman/listinfomailman/listinfomailman/...
If I add the trailing slash in my browser as follows http://mylistserver/mailman/listinfo/ I get the listinfo page.
I've tried to work around this by in my Apache config to do
Alias /mailman/listinfo /myDocumentRoot/mailman/listinfo/ but this only gives me the above result.
Also, I've tried using mod_rewrite to add the trailing slash onto the URL, but that still gives me the same result.
Anybody have any suggestions???
Not Found
The requested URL /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfo was not found on this server. TIA!
Tim
![](https://secure.gravatar.com/avatar/0098636a157930dd943eb1ba40503b1c.jpg?s=120&d=mm&r=g)
Have you tried this? (First delete that Alias, it's not going to work.)
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
(Substitute your $DOCROOT for /usr/local/ above...)
Best, --Glenn
![](https://secure.gravatar.com/avatar/849529604ed2c14191b4735db2db23b0.jpg?s=120&d=mm&r=g)
Glenn,
Thanks for the suggestion. I think what you're suggesting is that I enclose the /usr/local/mailman/cgi-bin/ in quotes???
In any case, it didn't work and gave me the same results.
Here are my aliases, (BTW, my listserver is behind a firewall).
Alias /pipermail/ /web/lists.suffolk.edu/DocumentRoot/archives/public/
Alias /icons/ /web/lists.suffolk.edu/DocumentRoot/icons/
ScriptAlias /cgi-bin/ /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
ScriptAlias /mailman/ /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
Everything else in the cgi-bin directory seems to work properly.
Tim -----Original Message----- From: mailman-users-bounces+toneal=suffolk.edu@python.org [mailto:mailman-users-bounces+toneal=suffolk.edu@python.org] On Behalf Of Glenn Sieb Sent: Monday, November 28, 2011 3:31 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] /mailman/listinfo page URL gets changed to /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/list...
Have you tried this? (First delete that Alias, it's not going to work.)
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
(Substitute your $DOCROOT for /usr/local/ above...)
Best, --Glenn
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/toneal%40suffolk.edu
![](https://secure.gravatar.com/avatar/0098636a157930dd943eb1ba40503b1c.jpg?s=120&d=mm&r=g)
On 11/28/11 3:59 PM, Tim O'Neal wrote:
Well, the problem here is that your ScriptAlias for /mailman/ needs to point to *mailman's* cgi-bin directory.
In FreeBSD, on my system, for example, it is where I showed you.. /usr/local/mailman/cgi-bin/
So unless mailman's cgi-bin directory is in /web/lists.suffolk.edu/DocumentRoot/cgi-bin.....
Best, --Glenn
![](https://secure.gravatar.com/avatar/849529604ed2c14191b4735db2db23b0.jpg?s=120&d=mm&r=g)
Glenn,
Thanks for the suggestions.
Yes, mailman's cgi-bin directory is /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
I worked around this issue by doing the following:
ErrorDocument 404 /mailman/listinfo/
This gave me the effect that I wanted ---- but I know that it's ugly. Maybe when I have nothing else to do, I'll figure this all out. But until then ....
Many thanks,
Tim -----Original Message----- From: Glenn Sieb [mailto:ges+lists@wingfoot.org] Sent: Monday, November 28, 2011 4:23 PM To: Tim O'Neal Cc: mailman-users@python.org Subject: Re: [Mailman-Users] /mailman/listinfo page URL gets changed to /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/list...
On 11/28/11 3:59 PM, Tim O'Neal wrote:
Well, the problem here is that your ScriptAlias for /mailman/ needs to point to *mailman's* cgi-bin directory.
In FreeBSD, on my system, for example, it is where I showed you.. /usr/local/mailman/cgi-bin/
So unless mailman's cgi-bin directory is in /web/lists.suffolk.edu/DocumentRoot/cgi-bin.....
Best, --Glenn
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Tim O'Neal wrote:
Thanks for the suggestion. I think what you're suggesting is that I enclose the /usr/local/mailman/cgi-bin/ in quotes???
In any case, it didn't work and gave me the same results.
It is normally recommended to quote it, but I think it only matters if there are 'funny' characters in the path.
This seems OK.
Everything else in the cgi-bin directory seems to work properly.
Do you mean you can go to http://www.example.com/mailman/admin (without a trailing slash) and it works and gives you the admin overview page?
If so, I think there must be something else in your Apache config.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/0098636a157930dd943eb1ba40503b1c.jpg?s=120&d=mm&r=g)
Have you tried this? (First delete that Alias, it's not going to work.)
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
(Substitute your $DOCROOT for /usr/local/ above...)
Best, --Glenn
![](https://secure.gravatar.com/avatar/849529604ed2c14191b4735db2db23b0.jpg?s=120&d=mm&r=g)
Glenn,
Thanks for the suggestion. I think what you're suggesting is that I enclose the /usr/local/mailman/cgi-bin/ in quotes???
In any case, it didn't work and gave me the same results.
Here are my aliases, (BTW, my listserver is behind a firewall).
Alias /pipermail/ /web/lists.suffolk.edu/DocumentRoot/archives/public/
Alias /icons/ /web/lists.suffolk.edu/DocumentRoot/icons/
ScriptAlias /cgi-bin/ /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
ScriptAlias /mailman/ /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
Everything else in the cgi-bin directory seems to work properly.
Tim -----Original Message----- From: mailman-users-bounces+toneal=suffolk.edu@python.org [mailto:mailman-users-bounces+toneal=suffolk.edu@python.org] On Behalf Of Glenn Sieb Sent: Monday, November 28, 2011 3:31 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] /mailman/listinfo page URL gets changed to /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/list...
Have you tried this? (First delete that Alias, it's not going to work.)
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
(Substitute your $DOCROOT for /usr/local/ above...)
Best, --Glenn
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/toneal%40suffolk.edu
![](https://secure.gravatar.com/avatar/0098636a157930dd943eb1ba40503b1c.jpg?s=120&d=mm&r=g)
On 11/28/11 3:59 PM, Tim O'Neal wrote:
Well, the problem here is that your ScriptAlias for /mailman/ needs to point to *mailman's* cgi-bin directory.
In FreeBSD, on my system, for example, it is where I showed you.. /usr/local/mailman/cgi-bin/
So unless mailman's cgi-bin directory is in /web/lists.suffolk.edu/DocumentRoot/cgi-bin.....
Best, --Glenn
![](https://secure.gravatar.com/avatar/849529604ed2c14191b4735db2db23b0.jpg?s=120&d=mm&r=g)
Glenn,
Thanks for the suggestions.
Yes, mailman's cgi-bin directory is /web/lists.suffolk.edu/DocumentRoot/cgi-bin/
I worked around this issue by doing the following:
ErrorDocument 404 /mailman/listinfo/
This gave me the effect that I wanted ---- but I know that it's ugly. Maybe when I have nothing else to do, I'll figure this all out. But until then ....
Many thanks,
Tim -----Original Message----- From: Glenn Sieb [mailto:ges+lists@wingfoot.org] Sent: Monday, November 28, 2011 4:23 PM To: Tim O'Neal Cc: mailman-users@python.org Subject: Re: [Mailman-Users] /mailman/listinfo page URL gets changed to /mailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/listinfomailman/list...
On 11/28/11 3:59 PM, Tim O'Neal wrote:
Well, the problem here is that your ScriptAlias for /mailman/ needs to point to *mailman's* cgi-bin directory.
In FreeBSD, on my system, for example, it is where I showed you.. /usr/local/mailman/cgi-bin/
So unless mailman's cgi-bin directory is in /web/lists.suffolk.edu/DocumentRoot/cgi-bin.....
Best, --Glenn
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Tim O'Neal wrote:
Thanks for the suggestion. I think what you're suggesting is that I enclose the /usr/local/mailman/cgi-bin/ in quotes???
In any case, it didn't work and gave me the same results.
It is normally recommended to quote it, but I think it only matters if there are 'funny' characters in the path.
This seems OK.
Everything else in the cgi-bin directory seems to work properly.
Do you mean you can go to http://www.example.com/mailman/admin (without a trailing slash) and it works and gives you the admin overview page?
If so, I think there must be something else in your Apache config.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Glenn Sieb
-
Mark Sapiro
-
Tim O'Neal