Skip to main content.
home | support | download

Back to List Archive

Re: FS and ~user

From: Steve Thomas <stephen.thomas(at)not-real.adelaide.edu.au>
Date: Fri Apr 07 2000 - 01:21:21 GMT
Bruce Bowler wrote:
> 
> I'm beginning to remember now why I used the http method on my old server...
> 
> Does anyone have an example config file that uses the fs method and deals
> properly with ~user urls (specifically the ReplaceRule needed to get a
> valid URL into the database)?

Yes: assuming your user web docs are in /home/user/public_html, use
these two lines:

ReplaceRules replace "/home/" "/~"
ReplaceRules replace "/public_html/" "/"

These will convert /home/user/public_html/somefile.html to
/~user/somefile.html


Steve

Received on Thu Apr 6 21:23:55 2000