Hello all,

I've been trying to do a fairly complex redirection without success.

The thing is that i have a /home/projects/<project>/public_html tree, where 
<project> is _not_ a user account (so I cannot use the UserDir), and want 
to make it available through http://server/projects/<project>.

The only solution I've found is to add a new

  Directory /projects/<project> {
    DocumentRoot /home/projects/<project>/public_html
  }

for every new project I create, which means creating a new file in 
sites-enabled and restarting cherokee.

Is there any way of making a generic rule which works for every possible 
project without messing up every time with the configuration?

Thanks in advance,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to