Solved! Re: Problems with Apache virtual host on FC12

Robert Moskowitz rgm at htt-consult.com
Tue Dec 7 00:12:44 UTC 2010


I was getting ServerAlias and ScriptAlias confused...

On 12/06/2010 03:01 PM, Robert Moskowitz wrote:
> I have a number of virtual hosts on this system.  All works but
> Mailman.  I had it working, then saved a bunch of files and rebuilt the
> system.  Problem is I did not save /etc/httpd/conf.d/1004-mailman.conf
> (built from a virtual host template and the mailman.conf file).
>
> When I enter mailman.foo.com/mailman, I wait a while and end up at the
> system's default host's main page.  How can I trace what is going
> wrong?  There is no activity in /var/log/http/error_log or the virtual
> host's error_log.  Or perhaps you might see an obvious error...
>
> <VirtualHost *:80>
>
>       ServerName mailman
>
> #
> #  httpd configuration settings for use with mailman.
> #
>
> ScriptAlias mailman.foo.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.foo.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.foo.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>
>
>
>    


More information about the users mailing list