|
Re: How-to clone a whole project ?: msg#00240web.mason.user
On Thu, 28 Aug 2003, Ken Williams wrote: > > On Thursday, August 28, 2003, at 04:41 PM, Oleg Bartunov wrote: > > > > ok. Below are 4 components - /db/tmp/dhandler, /db/tmp/a.msn from 1st > > component root, and /share/z/a.html, /share/z/a.msn from 2nd component > > root > > I want to use for 'generic' applications. 'z' is a 'generic' one. > > I'd love to see http://localhost/db/tmp/a.html looks as: > > Project1 > > instead of > > /z/a.msn > > The way you've got it set up, it indeed won't work. It seems like > you're sort of duplicating Mason's notion of component roots yourself, > rather than letting Mason do any work for you. Thanks, Ken, for attention. But I do know how to use components root. I just don't want to have separate component root for each 'generic' application. I want to be able to use 'generic' application as a template with ability to replace some components. > > What I mean is something like this: > > comp_root => [[SPECIFIC => '/tmp/specific'], > [SHARED => '/tmp/shared']] > > Assume then that you call http://localhost/a.html with components as > defined below. You should see the output "Project1", not "GenericComp". > What if a.msn has relative call of b.msn ? Are you sure Mason will use /tmp/specific/b.msn instead of /tmp/shared/b.msn > ----------- /tmp/shared/dhandler ----------------- > <& a.msn &> > ----------- /tmp/shared/a.msn -------------------- > GenericComp > ----------- /tmp/specific/a.msn ------------------ > Project1 > -------------------------------------------------- > > > -Ken > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@xxxxxxxxxx, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: DHandlers and Apache: 00240, Dave Rolsky |
|---|---|
| Next by Date: | Re: How-to clone a whole project ?: 00240, Ken Williams |
| Previous by Thread: | Re: How-to clone a whole project ?i: 00240, Ken Williams |
| Next by Thread: | Re: How-to clone a whole project ?: 00240, Ken Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |