[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Page cannot be displayed after added via GUI
- Subject: RE: [cobalt-users] Page cannot be displayed after added via GUI
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Jun 26 04:10:28 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> qmailadmin.vpopmail.org. in a 202.172.230.232
> webmail.vpopmail.org. in a 202.172.230.232
>
>
> Include /etc/httpd/conf/include.conf
> NameVirtualHost qmailadmin.vpopmail.org
> <VirtualHost 202.172.230.232>
> ServerName qmailadmin.vpopmail.org
> </VirtualHost>
>
>
> contents of include.conf
>
> <VirtualHost 202.172.230.232>
> ServerName qmailadmin.vpopmail.org
> ServerAdmin admin
> DocumentRoot /home/sites/home/web/cgi-bin/qmailadmin
> ServerAlias cobalt.vpopmail.org
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> # Uncomment next 2 lines if you want to use SSI
> #AddHandler server-parsed .shtml
> #AddType text/html .shtml
> </VirtualHost>
>
You can't add it via the GUI if you use an include.conf. Or you need to
remove the site from httpd.conf You end up with duplicate .conf entries.
I'm not sure why you would have:
NameVirtualHost qmailadmin.vpopmail.org
<VirtualHost 202.172.230.232>
ServerName qmailadmin.vpopmail.org
</VirtualHost>
Also, your include.conf should come after the info for your server's
main site.
In your httpd.conf if you also have the site in your include.conf file.
Do you also have an index.html file in the /cgi-bin directory you're
pointing at? If not you need one or a new DirectoryIndex statement to
tell the server that index.cgi or something else is the main file.
--
Dan Kriwitsky
Please reply to the list only. Offlist replies are not read.