Joined: 29 Oct 2003
Location: USA, GA
|Posted: Tue May 11, 2004 5:52 pm Post subject: ::Virtual Host Creator:: For Shorthand Fans !
|Hey , I just learned enough Shorthand programming language
to build my very first working code of the Shorthand version of
::Virtual Host Creator:: , this time the full code is written by me!
Here's my first code for
the shorhand version!
Name this [index.shh]
Host = ENV("HTTP_HOST")
if Host = 'Domain1' then
elseif Host = 'Domain2' then
Edit: This code will show the http://domain1/path1/
as the final result and their is no way to fix this !
This Project just didn't stand out to be a VHC :(
I will put this on the webpage just incase you want
to still use it as a redirect , their is a header() function
but that also gives the same results as redirect()
Computer Programmer & Networking Specialist
Last edited by TRUSTAbyss on Wed May 12, 2004 6:33 pm; edited 1 time in total