hi all
i have set up apache to deal with catch-all domains
so all domains are redirected to the main root directory
i have a software script that has a index.php file in the root domain
also i have a index.html file in the root
now what i need is to be able to determine which domain is being selected
and if its www then show index.html
if its any other virtual domain then run the index.php file
i can get it to show either index file for all domains, but not make that distinction
so i guess i need some sort of code to work out what the referrer was
how do i do this?
or is there another way