Jump to content

ADVX: user-specific Document Root?


Havin_it
 Share

Recommended Posts

'ning

 

I was wondering if there's a way that you can have Apache/ADVX have a different doc root for each logged-in user?

 

In other words, whoever logs in, can bring up http://localhost/ and it will direct to /home/username/www/

 

I've heard of mod_rewrite being able to redirect requests according to environment variables, but I don't know if the needed variable (whatever it's called, LOGGED_IN_USER or something I guess) would be available to the server in this context.

 

Any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...