httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.org>
Subject Re: Thoughts on userdir
Date Mon, 20 Nov 1995 00:24:30 GMT
> 
> with: UserDir www (current behavior)
> GET /~bob/foo.html -> ~bob/www/foo.html
> 
> with: UserDir /usr/local/www
> GET /~bob/foo.html -> /usr/local/www/bob/foo.html
> 
> with: UserDir /home/%/www
> GET /~bob/foo.html -> /home/bob/www/foo.html

	I think you should have two different UserDir directives
rather than this potentially confusing setup. My proposal:

UserDir www

GET /~bob/foo.html -> ~bob/www/foo.html

UserPath /usr/local/www/%s

GET /~bob/foo.html -> /usr/local/www/bob/foo.html

UserPath /home/%s/www

GET /~bob/foo.html -> /home/bob/www/foo.html

	As you can see, the behavior of the two UserPath directives
above are identical, from a code point of view.
	
-- 
sameer						Voice:   510-601-9777
Community ConneXion				FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376
http://www.c2.org/ (or login as "guest")		sameer@c2.org

Mime
View raw message