You could also make a HttpModule that checks for /~<user and translate's that into a correct path (that could be saved in web.config or other cfg file)
Cheers, Patrik > -----Original Message----- > From: Daniel Lopez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 11:14 AM > To: [EMAIL PROTECTED] > Subject: [Mono-list] mod_mono and user dirs > > > > Miguel suggested to allow individual users to be able to run their > own .aspx pages from their home directories. > In Apache, you can use the UserDir configuration directive to > tell the web > server that when > http://www.example.com/~userfoo/index.aspx is requested, it > should return > /home/userfoo/public_html/index.aspx > > But in ASP.NET, all requests go thru an ApplicationHost, that > has a virtual > path and a physical path, which are different for each user. > I have thought > of the following implementation possibilities: > - Detect that a user directory is being requested and create > an application > host on the fly for that user > - Create an ApplicationHost that is shared by all users, but modify > HttpWorkerRequest so when the translated path is requested, > it will return > the appropriate user directory with public_html inserted in > the right place. > > I am not entirely satisfied with these, specially because I > dont know if b) > will have some unwanted side effects > Do you have any suggestions on the best way to approach this > or a link to > relevant discussion/info? > I am posting this to some ASP.NET groups, but since they are > windows centric > I dont think they will know what I am talking about :-) > > Cheers > > Daniel > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
