[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] IIS Revenge
- Subject: Re: [cobalt-users] IIS Revenge
- From: "Gerald Waugh" <gerald@xxxxxxxxx>
- Date: Sat Sep 22 21:04:46 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> >Stick these lines in httpd.conf
> >between <Directory> and </Directory> within httpd.conf,
> > right under ServerName is a good place.
> >Then restart httpd.
> >
> >RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
> >RedirectMatch (.*)\default.ida$ http://127.0.0.1
> >RedirectMatch (.*)\root.exe$ http://127.0.0.1
> >
> >From isp-linux list
> So what modules do you need for this to work then? I get the following when
trying this:
>
> [root@ns init.d]# ./httpd start
> Setting up Web Service: Syntax error on line 159 of
/etc/httpd/conf/httpd.conf:
> Invalid command '<Directory>', perhaps mis-spelled or defined by a module not
in
> cluded in the server configuration
> /usr/sbin/httpd
>
For a RaQ use /etc/httpd/conf/httpd.conf and put the lines
in the VirtualHost container, for each domain.
<Directory> is for a normal httpd.conf nto a RaQ
Gerald