Mailing List Archive

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 [ In reply to ]
> 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
Re: User Web location [ In reply to ]
>
> 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 [ In reply to ]
It works well.
Thanks.

-----Original Message-----
From: Kevin M. Shortt [mailto:shortt@cgicafe.com]
Sent: Friday, February 15, 2002 10:37 AM
To: 'users@httpd.apache.org'
Cc: 'htian@ias.edu'
Subject: Re: User Web location


>
> 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 [ In reply to ]
Thanks. It works well now.

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Friday, February 15, 2002 10:20 AM
To: users@httpd.apache.org
Subject: RE: User Web location



> 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

---------------------------------------------------------------------
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