Franki wrote on Mon, Nov 04, 2002 at 03:20:11PM +0800 :
> 
> I have just been told I need to get apache to redirect a domain name it
> answers to to a specific file..
> http://sub.domain.com to be redirected to
> http://sub.domain.com/cgi-bin/myscript.cgi

[root@Galaxy html]# pwd
/var/www/html
[root@Galaxy html]# cat index.html 
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/cgi-bin/myscript.cgi">

This puts the burden of speed on the client, not on the server.

Blue skies...                   Todd
-- 
           MandrakeSoft USA   http://www.mandrakesoft.com
Never take no as an answer from someone who's not authorized to say yes.
                                                --Ben Reser on Cooker ML
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-18mdk

Attachment: msg60548/pgp00000.pgp
Description: PGP signature

Reply via email to