I work for a company that has over 350 stores. Each store will have
its own URL:
<storenumber>.<mycompany>.com that redirects to a specific URL on our
main web site.
What I am planning to do right now is to add over 350 VirtualHost
entries to the Apache httpd.conf file like this:
Redirect / http://www.mycompany.com/store.jsp?store=111
Redirect / http://www.mycompany.com/store.jsp?store=222
Is this the most efficient method to do this? Can I use Rewrites?
Since the hostname and redirect URL follow the same pattern, I am
hoping I can do something more dynamic than to manually add an entry
for each store we have - since store numbers do change from time to
time. I thought I read that rewriting might help me with this problem.
Ideas, please! I am no expert. Thank you in advance!