question about Apache

JosephK joseph at
Fri Feb 29 20:02:11 UTC 2008

On 13:39 Fri 29 Feb     , Scott Berry wrote:
> Hi Derek,
> Almost got it.  In this VirtualHost though I am getting asked for more info
> does this need to be an alias to moin's cgi file?  What I am trying to
> accomplish here is when you type you get the
> Moin Moin page.  Here is the sample of the VirtualHost it doesn't like.
> <VirtualHost>
> ServerName:
> DocumentRoot /usr/share/moin/server/moin.cgi
> </VirtualHost>
There's a few things in the above. First, lose the : after ServerName.
Also the www. before the domain

DocumentRoot should be a directory not a file

Below is a sample from one of mine (names changed to protect the

<VirtualHost *:80>
        DocumentRoot /var/www/server

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all


Regards, Joe

More information about the ubuntu-users mailing list