Gossamer Forum
Home : General : Perl Programming :

Masking my rootdomain as a script...

Quote Reply
Masking my rootdomain as a script...
Hey whats up, any help would really be appreciated..

I was just wondering how I would mask my root domain http://www.gatewaytothenet.com into http://www.gatewaytothenet.com/cgi-bin/ana/anacondaodpp.pl (thats just a demo im working on) But I would like too set this script up so that my home page URL 'masks' that one..I dont want to do it with meta-refresh tags or anything..I want to do it with maybe DNS or any other way possible which doesnt slow up the user in reaching the site. Thanks a lot!

------------------
Theres only now, theres only this, forget regret or life is yours too miss. No other road, no other way, no other day but today!
Quote Reply
Re: Masking my rootdomain as a script... In reply to
If you are on Apache, add this to a .htaccess file in your main document dir:

DirectoryIndex index.html index.htm /cgi-bin/ana/anacondaodpp.pl

so if you don't have an index.htm, index.html page, the server will load your anaconda script right away.

Cheers,

Alex
Quote Reply
Re: Masking my rootdomain as a script... In reply to
cool thanks a lot!
Its all posted now :-)
-------------------------------
http://www.gatewaytothenet.com

------------------
Theres only now, theres only this, forget regret or life is yours too miss. No other road, no other way, no other day but today!
Quote Reply
Re: Masking my rootdomain as a script... In reply to
Don't you need the Become an Editor box?

http://dmoz.org/license.html

Cheers,

Alex