Redirect/ReWrite config for multiple domains to different pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Having read the Apache and mod_ReWrite docs I can't see how to setup the
below secienario and Google searches are fruitless as I'm not quite sure
exactly what to search for.
I have a web application which allows many customers to access it
without knowing about each other by suppling their id in the URL.  I
would like some assistance in how to configure Apache to allow
connection from many different domains, redirecting their request to a
specific url depending upon their source domain e.g.
http://my_web_server.com/index.cfm - this is the default document
http://customer1's_domain.com/index.cfm should redirect to
http://customer1's_domain.com/index.cfm?owner=1 which is an alias or
mask for http://my_web_server.com/index.cfm?owner=1
http://customer2's_domain.com/index.cfm ->
http://customer2's_domain/index.cfm?owner=52 ->
http://my_web_server.com/index.cfm?owner=52
Each customer's browser should still show pages as returning from their
own domain rather than my own.
The application can be viewed at http://courses.gotfrom.me.uk a typical
customer url may be http://courses.nebpn.org
Any assistance or points towards the documents I should be reading would
be grateful.

Cheers

Paul


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux