[CentOS] Apache Config

Joseph L. Casale

JCasale at activenetwerx.com
Sun Jan 18 02:54:21 UTC 2009


I am trying to setup moinmoin and my apache virtual host config looks like this:

<VirtualHost *:80>
    ServerName      www.example.net
    DocumentRoot    /<path to doc root>
    AddHandler cgi-script .cgi
    Alias           /moin_static181/ /usr/local/share/moin/htdocs
    ScriptAlias / /<path to doc root>/cgi-bin/moin.cgi
</VirtualHost>

But this breaks every link in moinmoin unless there is something in Alias
like: Alias /foo /<path to doc root>/cgi-bin/moin.cgi which then leaves
http://www.example.net/ as 404 sicne there is no default doc in the root?

How can I avoid this so the wiki is available at the root?

Thanks!
jlc



More information about the CentOS mailing list