AFAIK, the only way to do it is to have a mod_rewrite rule in the scene. You can do it like this (in your httpd.conf or .htaccess):
RewriteEngine on RewriteRule ^/users/(.+) /~$1 That means, anytime an URL looks like http://example.com/users/johndoe, the actual request will get rewritten to http://example.com/~johndoe. By the way, I didn't test the rule above, so you can expect some errors. The "URL Rewriting Guide" from Apache 2.0 documentation contains several examples that can help any possible corrections. -- Julio C. Ody http://rootshell.be/~julioody -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/SS/CC d@ s: a? C++(+++) ULB+++$ P++++ L+++$ !E W++(+++) N+ !o K- !w O- M V- PS+ PE Y+ PGP++(-) t 5 X R+ tv-- b++ DI-- D+ G++ e h r+ y++* ------END GEEK CODE BLOCK------ On Thu, 21 Oct 2004 12:30:02 +0200, Mary Gardiner <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using a Debian install of apache2. Historically, I've had a mapping > that took ~mary/public_html -> http://example.com/users/mary/ > > Apache's configuration takes ~mary/public_html -> > http://example.com/~mary/ and for reasons of URL consistency I'd prefer > the first format. (I used an entirely different webserver for the > original form -- not Apache at all.) > > How can I change the userdir settings to achieve this? > > -Mary > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html