triharp
03-23-2002, 12:34 PM
Hi,
I have a question:
I have set the DNS for my domain www.one.COM but I don't want create a web space with "Add Virtual Site" on my cobalt Raq4/i.
Infact www.one.COM must go to www.one.ORG (for example).
I see that when I write this domain www.one.COM the browser go to name server of machine (ns.nemaserver.com).
If possible create a script to perl, for example, that see the domain refers www.one.COM and forward to www.one.ORG
I try to insert in the root server this script, to see if it recognize the domain to refer but $ENV{'HTTP_REFERER'} is empty
Help me, in my cobalt I have more 50% domain forwarding to other domain and it is full (200 domain max).
Thanks in advanced.
Triharp
--------------------------------------
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html>\n";
print "<head>\n";
print "</head>\n";
print "<body>\n";
print $ENV{'HTTP_REFERER'};
print "</body>\n";
print "</html>";
exit;
--------------------------------------
I have a question:
I have set the DNS for my domain www.one.COM but I don't want create a web space with "Add Virtual Site" on my cobalt Raq4/i.
Infact www.one.COM must go to www.one.ORG (for example).
I see that when I write this domain www.one.COM the browser go to name server of machine (ns.nemaserver.com).
If possible create a script to perl, for example, that see the domain refers www.one.COM and forward to www.one.ORG
I try to insert in the root server this script, to see if it recognize the domain to refer but $ENV{'HTTP_REFERER'} is empty
Help me, in my cobalt I have more 50% domain forwarding to other domain and it is full (200 domain max).
Thanks in advanced.
Triharp
--------------------------------------
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html>\n";
print "<head>\n";
print "</head>\n";
print "<body>\n";
print $ENV{'HTTP_REFERER'};
print "</body>\n";
print "</html>";
exit;
--------------------------------------
