Forum Moderators: phranque

Message Too Old, No Replies

Variable as a directory Alias?

question about directory aliases

         

FastFrenchy

3:46 am on Apr 13, 2006 (gmt 0)

10+ Year Member



Hi,
I need help in setting up Apache 2 to handle the following scenario:

[mydomain.com...]
[mydomain.com...]
[mydomain.com...]
etc...

I would like the FIRST subdirectory (client 1,2,3,etc..) to be an alias to a Fixed directory, so that everyone gets to the same directory, no matter what directory name is in the URL. The code in that directory will then go about figuring out the right stuff to display.

Any directory past the first should act normally.

Essentially, I want to treat the first sub directory as a variable, so that all my clients are on the same code, but have a different url.

Hope I'm getting my question across clearly. Any help is much appreciated.

FastFrenchy

10:51 am on Apr 15, 2006 (gmt 0)

10+ Year Member



bump