Re: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup

2010-12-06 Thread Mark Sapiro
Robert Moskowitz wrote:

I copied the content of /etc/http/conf.d/mailman.conf into the 
VirtualHost *:80 /VirtualHost block in 
/etc/http/conf.d/1004-mailman.conf and renamed mailman.conf.  All my 
other virtual host URLs are working.  Not this one.  And I had THIS 
working with no trouble on my pervious build attempt.  I **THINK** I 
created the .conf right, and I don't THINK I did anything else to get it 
working!  ARGH!!!

No error messages.  It just waits a while, and then goes to the site's 
main URL instead of the virtual host.


What exact Mailman related directives do you have in this VirtualHost
block?

Are there any other VirtualHost blocks in /etc/httpd/conf/httpd.conf or
/etc/httpd/conf.d/*.conf that might conflict with this one?

Note also that you indicate the path as /etc/http/conf.d/ which may be
a typo in your email or may be correct, but the usual path is
/etc/httpd/conf.d/.

-- 
Mark Sapiro m...@msapiro.netThe 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://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/archive%40jab.org


Re: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup

2010-12-06 Thread Robert Moskowitz

On 12/06/2010 02:59 PM, Mark Sapiro wrote:

Robert Moskowitz wrote:
   

I copied the content of /etc/http/conf.d/mailman.conf into the
VirtualHost *:80  /VirtualHost  block in
/etc/http/conf.d/1004-mailman.conf and renamed mailman.conf.  All my
other virtual host URLs are working.  Not this one.  And I had THIS
working with no trouble on my pervious build attempt.  I **THINK** I
created the .conf right, and I don't THINK I did anything else to get it
working!  ARGH!!!

No error messages.  It just waits a while, and then goes to the site's
main URL instead of the virtual host.
 


What exact Mailman related directives do you have in this VirtualHost
block?

Are there any other VirtualHost blocks in /etc/httpd/conf/httpd.conf or
/etc/httpd/conf.d/*.conf that might conflict with this one?
   


I renamed mailman.conf to mailman.conf.rpm  The line in 
/etc/httpd/conf/httpd.conf that loads the virtual hosts is:


Include conf.d/*.conf

There is no 'mailman' string in any of the conf files but the one below, 
/etc/httpd/conf.d/1004-mailman.conf



Note also that you indicate the path as /etc/http/conf.d/ which may be
a typo in your email or may be correct, but the usual path is
/etc/httpd/conf.d/.


Yes a typo.  And here it is.

VirtualHost *:80

   ServerName mailman

#
#  httpd configuration settings for use with mailman.
#

ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/


Directory /usr/lib/mailman/cgi-bin/
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
/Directory


Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/
Directory /var/lib/mailman/archives/public
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddDefaultCharset Off
/Directory

# Uncomment the following line, replacing www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).

RedirectMatch ^/mailman[/]*$ http://mailman.htt-consult.com/mailman/listinfo

   ErrorLog  /var/hda/web-apps/mailman/logs/error_log
  CustomLog /var/hda/web-apps/mailman/logs/access_log combined 
env=!dontlog


/VirtualHost


--
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/archive%40jab.org


Re: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup

2010-12-06 Thread Mark Sapiro
Robert Moskowitz wrote:

VirtualHost *:80

ServerName mailman

#
#  httpd configuration settings for use with mailman.
#

ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/


I am not an expert on named virtual hosts, but I think the above should
be

ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/



[...]

Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/


And I think the above should be

Alias /pipermail/ /var/lib/mailman/archives/public/

-- 
Mark Sapiro m...@msapiro.netThe 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://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/archive%40jab.org


Re: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup

2010-12-06 Thread Robert Moskowitz



On 12/06/2010 03:34 PM, Mark Sapiro wrote:

Robert Moskowitz wrote:
   

VirtualHost *:80

ServerName mailman

#
#  httpd configuration settings for use with mailman.
#

ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/
 


I am not an expert on named virtual hosts, but I think the above should
be

ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
   


This does not work either.  I am fairly sure that I had it wtih the full 
virtual host URL last time.  Somewhere you HAVE to provide the URL 
name.  H


Looking again at Squirrelmail, I see it uses ServerAlias, not 
ScriptAlias.  But changing this and reloading httpd does not make any 
difference.


I also tried making the ServerName the full fqdn, but then I got the 
Apache test page.  So that is not the answer either.  It is frustrating 
because this part I HAD working.






[...]
   

Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/
 


And I think the above should be

Alias /pipermail/ /var/lib/mailman/archives/public/

   

--
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/archive%40jab.org


Re: [Mailman-Users] Trying again from the start -- Re: Help in understandingMailmansetup

2010-12-06 Thread Adam McGreggor
On Mon, Dec 06, 2010 at 03:21:53PM -0500, Robert Moskowitz wrote:
 On 12/06/2010 02:59 PM, Mark Sapiro wrote:
 What exact Mailman related directives do you have in this VirtualHost
 block?


 VirtualHost *:80
ServerName mailman

change that to a FQDN (mailman.example.org).

 ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/

Change that to
ScriptAlias /mailman/   /usr/lib/mailman/cgi-bin/

 Directory /usr/lib/mailman/cgi-bin/
 AllowOverride None
 Options ExecCGI
 Order allow,deny
 Allow from all
 /Directory

If you're not going to ScriptAlias (admin,admindb,confirm,create...)
c, keep that, if you will ScriptAlias each, it's possibly superflous.

 Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/

Alias /pipermail/ /var/lib/mailman/archives/public/

 Directory /var/lib/mailman/archives/public
 Options Indexes MultiViews FollowSymLinks

Do you need Multiviews?

 AllowOverride None
 Order allow,deny
 Allow from all
 AddDefaultCharset Off
 /Directory

ErrorLog  /var/hda/web-apps/mailman/logs/error_log
   CustomLog /var/hda/web-apps/mailman/logs/access_log combined  
 /VirtualHost


apachectl configtest may be your friend, here, too

-- 
In Lent she ate onion soup and gave up drink; but otherwise she 
 must have drunk the maximum compatible with survival and sanity.
(Telegraph Obit of Jennifer Paterson, one of the 'Two Fat Ladies')
--
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/archive%40jab.org