Solved! Re: Problems with Apache virtual host on FC12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
>
>
>    
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux