Forum Moderators: phranque
I'm trying to set up a website which will require international versions of it.
The idea would be to set up subdomains ie:
us.example.com
uk.example.com
ca.example.com
They would all be on the same [apache] server, and would need to access a cgi folder which would be accessible to all international sites.
I would like to know the best way of doing this in your experience.
At the moment, the subdomains correspond to:
example.com/us
example.com/uk
example.com/ca
but I want them to all access example.com/cgi-bin without losing the country subdomain, and without placing a cgi-bin in each of the sites.
I hope this makes sense, I can clarify if required as I probably haven't made it as clear as I'd like.
If you don't want to go that route, mod_rewrite should be able to fix you up, that is if you have access to mod_rewrite.
[httpd.apache.org...]