[thelist] Users on Apache

Simon Coggins ppxsjc1 at unix.ccc.nottingham.ac.uk
Tue Apr 24 10:55:53 CDT 2001


> By defaults, the users directory on Apache is in /htdocs/users/ and the
> URL is www.foo.com/~username. Is there a way to eliminate using the ~ in
> the URL and still have the users in that /users/ directory? I'd really
> appreciate any help you can give me.

You should be able do this with the mod_rewrite module.

Here's the apache doc:

http://httpd.apache.org/docs/mod/mod_rewrite.html

And here's a page with some examples:

http://www.engelschall.com/pw/apache/rewriteguide/

Regards,

Simon






More information about the thelist mailing list