Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Should i use rewritecond and rewriterule to replace userdir? |
|
Author |
|
jepilgrim
Joined: 21 Apr 2010 Posts: 1
|
Posted: Wed 21 Apr '10 19:07 Post subject: Should i use rewritecond and rewriterule to replace userdir? |
|
|
In the past we had used the mod_userdir to allow employees/students to have their own websites. This worked fine since all of the users were in the same directory. However, now we have had to break up the users into two different directories (called vol1 and vol2) so the mod_userdir won't work.
We want to continue to use the convention that users had before with appending their id to the end of the website address (i.e. http://website.edu/~abc123) but also work with having the users in two different directories. Users won’t necessarily know what directory that they are in. What is the best approach to meet these requirements? It sounds like this would involve using RewriteCond and RewriteRule. See http://httpd.apache.org/docs/trunk/rewrite/remapping.html#multipledirs
Does anyone have a better idea? |
|
Back to top |
|
|
|
|
|
|