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

Re: [cobalt-users] IIS Revenge



> I tried this 
> Under ServerName
> 
> <Directory>
> Then the three lines
> and then 
> </Directory>  
> 
> and received the response
> 
> Invalid command '<Directory>', perhaps mis-spelled or defined by a module
> not included in the server configuration
> 

Sorry, the <Directory> </Directory>
Was for a normal Red Hat system.

Use the following for Cobalt 

<VirtualHost 1.2.3.4>
ServerName www.domain.tld
RedirectMatch (.*)\cmd.exe$ http://127.0.0.1
RedirectMatch (.*)\default.ida$ http://127.0.0.1
RedirectMatch (.*)\root.exe$ http://127.0.0.1

Gerald