httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lindsay Hausner" <>
Subject RE: [users@httpd] Application using Apache and URL schema inquiry
Date Fri, 29 Jun 2007 15:56:49 GMT

-----Original Message-----
From: Steve Finkelstein [] 
Sent: Thursday, June 28, 2007 11:06 PM
Subject: [users@httpd] Application using Apache and URL schema inquiry

Hi all,

Hope this forum is appropriate for my dilemma.

I'm currently looking for an elegant solution to the following problem.
I have an application where each individual user logs into to access their vhost/own document root.
Unfortunately, when you have a great deal of users, this adds quite the
administrative overhead with maintaining each document root amongst a
myriad of other issues. I'm looking for a more proper approach. If
anyone can suggest how they solve this matter, I'd appreciate it. Here's
my current thoughts:

a) We ditch EVERY user gets redirected to or whatever URL we decide
on. The backend database however, will be unique for each user. The
variables for database connectivity will come from PHP's environment.
The application will keep track of the username and dynamically connect
to the appropriate backend database.

b) Completely arbitrary URLs. Using mod_rewrite and mod_auth, the
following is maybe possible? This seems the most elegant approach if
it's possible.

This way users can't just guess away at URLs. They'd almost be dynamic,
if that makes sense. I don't want users being able to do etc.

Is there a way to use hashed directories and perhaps a mix of
mod_rewrite to make something happen?

Thank you kindly for your insight.

- sf

Why not use mod_userdir?


View raw message