httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Radford <>
Subject [users@httpd] Virtual folder question
Date Fri, 23 Mar 2007 19:56:12 GMT
<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
</head><BODY BGCOLOR="#FBF5E1" ><div><SPAN style="font-family:'Arial';font-size:10pt;">Hi
<div><SPAN style="font-family:'Arial';font-size:10pt;">I am looking for a way
to setup a virtual folder/alias on apache to identify each customer in my application.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">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:-</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;"><a href=""></a></SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">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.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">I would like to migrate
this to the following example :-</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;"><a href=""></a></SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">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.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Can this be achieved by
using Apache and the mod_rewrite module and can anyone advise or suggest how I go about doing
<div><SPAN style="font-family:'Arial';font-size:10pt;">I have limited knowledge
of the mod_rewrite module or any other modules in Apache.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Many thanks.</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Regards</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Philip Radford</SPAN></div>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message