Re: [Mailman-Users] having trouble getting webpages to come up
Right after I first installed Mailman I created a new list called mailman. I would think that then I should be able to access the Mailman admin page for this list by using a URL like http://my.host.com/mailman/admin/mailman/ Is that right? When I do this I get an Internal Server Error message. Does anyone have any idea what might cause that? Thanks, Eric What connects mailman to apache can be answered two ways, both are important. 1) The proper URL, which makes sure you're connected to the right server, and it has the right path to get to the mailman cgi. 2) Apache must understand the path part of the URL is to be directed to mailman's cgi, this is what ScriptAlias does. For example: http://myserver.example.com/mailman/listinfo/mylist the myserver.example.com part of the URL directs to the web server on the node myserver in the domain example.com provided that's the right web server and its apache then apache looks at the path part of the URL, which is: mailman/listinfo/mylist ScriptAlias /mailman/ /usr/local/lib/mailman/cgi-bin/ ScriptAlias tells apache that paths which have mailman should be translated so that mailman is replaced by the cgi location and executed. In this case the cgi location is /usr/local/lib/mailman/cgi-bin, it will try to find the script listinfo in that directory because that is the next part of the path and it will pass mylist as a parameter. See the following doc: http://httpd.apache.org/docs/2.0/mod/mod_alias.html#scriptalias -- John Dennis [EMAIL PROTECTED] -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] having trouble getting webpages to come up
Eric Evans wrote: Right after I first installed Mailman I created a new list called mailman. I would think that then I should be able to access the Mailman admin page for this list by using a URL like http://my.host.com/mailman/admin/mailman/ Is that right? Yes. When I do this I get an Internal Server Error message. Does anyone have any idea what might cause that? Can you successfully go to http://my.host.com/mailman/admin/some_other_list? If you go to http://my.host.com/mailman/admin/mailman/x, does it work? If so, you likely have something like RedirectMatch /mailman[/]*$ http://my.host.com/mailman/listinfo in your apache config. If you do, you need to anchor this as in RedirectMatch ^/mailman[/]*$ http://my.host.com/mailman/listinfo -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
[Mailman-Users] having trouble getting webpages to come up
Hello, I think I've finally gotten my Mailman installation setup, but when I try to access the administrative webpages through my browser I get the generic Apache page coming up instead of the Mailman admin page. I would assume that DocumentRoot has to be set in the httpd.conf, but to what? The Mailman documentation doesn't say anything about this. Thanks, Eric -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] having trouble getting webpages to come up
On Thu, 2005-11-17 at 15:10 -0500, Eric Evans wrote: Hello, I think I've finally gotten my Mailman installation setup, but when I try to access the administrative webpages through my browser I get the generic Apache page coming up instead of the Mailman admin page. I would assume that DocumentRoot has to be set in the httpd.conf, but to what? The Mailman documentation doesn't say anything about this. Thanks, Eric Is your ScriptAlias defined? http://www.gnu.org/software/mailman/mailman-install/node10.html -- 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/jdennis%40redhat.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.027.htp -- John Dennis [EMAIL PROTECTED] -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] having trouble getting webpages to come up
On Thu, 2005-11-17 at 15:35 -0500, Eric Evans wrote: Yes, the ScriptAlias is properly defined in my httpd.conf, as specified in the installation instructions. I still can't get the Mailman admin webpage to come up, just the Apache page instead. If anybody has any further troubleshooting ideas about this I'd appreciate hearing them. Thanks a lot... And did you restart Apache so it would reread its configuration? Are you getting a 404 Not Found error? Do you have any rewriting rules enabled which might rewrite the mailman URL by mistake? -- John Dennis [EMAIL PROTECTED] -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] having trouble getting webpages to come up
Yes, the ScriptAlias is properly defined in my httpd.conf, as specified in the installation instructions. I still can't get the Mailman admin webpage to come up, just the Apache page instead. If anybody has any further troubleshooting ideas about this I'd appreciate hearing them. Thanks a lot... Eric Is your ScriptAlias defined? http://www.gnu.org/software/mailman/mailman-install/node10.html -- 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/jdennis%40redhat.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.027.htp -- John Dennis [EMAIL PROTECTED] -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] having trouble getting webpages to come up
On Thu, 2005-11-17 at 16:26 -0500, Eric Evans wrote: Hello again, And did you restart Apache so it would reread its configuration? Yes. Are you getting a 404 Not Found error? No, when I try to connect to the Mailman admin web page with my browser, I get a generic Apache page instead of the Mailman admin web page. Do you have any rewriting rules enabled which might rewrite the mailman URL by mistake? No, we're definitely not using any rewriting rules. What I'd really like to know is, what exactly is it that connects Mailman to Apache? Is it just that one ScriptAlias statement in the httpd.conf? If so, then how exactly how does this work? I'd really like to understand the process by which the Apache server is able to find the Mailman admin web page. There is clearly some kind of big disconnect between Mailman and Apache on our server. What connects mailman to apache can be answered two ways, both are important. 1) The proper URL, which makes sure you're connected to the right server, and it has the right path to get to the mailman cgi. 2) Apache must understand the path part of the URL is to be directed to mailman's cgi, this is what ScriptAlias does. For example: http://myserver.example.com/mailman/listinfo/mylist the myserver.example.com part of the URL directs to the web server on the node myserver in the domain example.com provided that's the right web server and its apache then apache looks at the path part of the URL, which is: mailman/listinfo/mylist ScriptAlias /mailman/ /usr/local/lib/mailman/cgi-bin/ ScriptAlias tells apache that paths which have mailman should be translated so that mailman is replaced by the cgi location and executed. In this case the cgi location is /usr/local/lib/mailman/cgi-bin, it will try to find the script listinfo in that directory because that is the next part of the path and it will pass mylist as a parameter. See the following doc: http://httpd.apache.org/docs/2.0/mod/mod_alias.html#scriptalias -- John Dennis [EMAIL PROTECTED] -- 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=showamp;file=faq01.027.htp