Hi all,
 
I am looking for a way to setup a virtual folder/alias on apache to identify each customer in my application.
 
We currently have the following in place on our web application: 1 alias called booking with a querystring parameter called site to identify each customer:-
 
This is fine but causes problems when dealing with sessions and having to store a cookie on the browser to remember the site reference i.e. client1, client2 etc... The site reference also determines which database is loaded and other options like stylesheet and images etc.
 
I would like to migrate this to the following example :-
 
Here client1 is the identifer for each customer but I do not want to create hundreds of folders on the system for each customer as the application code only exists in one place.
 
Can this be achieved by using Apache and the mod_rewrite module and can anyone advise or suggest how I go about doing this.
 
I have limited knowledge of the mod_rewrite module or any other modules in Apache.
 
Many thanks.
 
Regards
Philip Radford
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to