You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hong Tian <ht...@ias.edu> on 2002/02/15 14:27:16 UTC

User Web location

I want to set up the following configuration for each Web developer:
 
http://www.ias.edu/~peter  will points to the location of
/usr/local/apache/htdocs/peter/web
 
where peter is the name of a Web developer, and
/usr/local/apache/htdocs/peter/web is the
location on the Web server.
 
Does someone know how to resolve it? I looked the Apache documents,
but still not clear about how to use ~ sign.
 
TIA


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: User Web location

Posted by "Kevin M. Shortt" <sh...@cgicafe.com>.
>  
> http://www.ias.edu/~peter  will points to the location of
> /usr/local/apache/htdocs/peter/web
>  
> where peter is the name of a Web developer, and
> /usr/local/apache/htdocs/peter/web is the
> location on the Web server.

>  
> Does someone know how to resolve it? I looked the Apache documents,
> but still not clear about how to use ~ sign.


	for more details:
	http://httpd.apache.org/docs/mod/mod_userdir.html#userdir


	Place this in your httpd.conf:

		UserDir /usr/local/apache/htdocs/*/web

	so http://www.ias.edu/~peter ----points to--->
	/usr/local/apache/htdocs/peter/web


-k






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: User Web location

Posted by Joshua Slive <jo...@slive.ca>.
> From: Hong Tian [mailto:htian@ias.edu]

> I want to set up the following configuration for each Web developer:
>  
> http://www.ias.edu/~peter  will points to the location of
> /usr/local/apache/htdocs/peter/web
>  
> where peter is the name of a Web developer, and
> /usr/local/apache/htdocs/peter/web is the
> location on the Web server.
>  
> Does someone know how to resolve it? I looked the Apache documents,
> but still not clear about how to use ~ sign.
> 

See:
http://httpd.apache.org/docs/mod/mod_userdir.html

I think you want
UserDir /usr/local/apache/htdocs/*/web

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org