| Author |
Message |
range *nix forums beginner
Joined: 12 Apr 2005
Posts: 21
|
Posted: Sun Jun 05, 2005 3:32 am Post subject:
Apache2 UserDir
|
|
|
Hi:
‘@I want to set the UserDir in httpd.conf
let my personal home page can show with
http://<mydomain>/range rather than http://<mydomain>/~range
‘@I saw the Apache 2.0 document about mod_userdir,
but still can't understand.
‘@My personal web dir - /home/range/web,
and Document root - /home/www/httpd/htdocs ,
‘@If someone can tell me howto or details?
Thank you
‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@range 05'06/05 |
|
| Back to top |
|
 |
Karsten Kruse *nix forums beginner
Joined: 22 Feb 2005
Posts: 21
|
Posted: Mon Jun 06, 2005 12:46 pm Post subject:
Re: Apache2 UserDir
|
|
|
range wrote:
Here is my config:
http://tecneeq.dyndns.org/~karsten/configs/httpd.conf
It's for Apache 2 from pkgsrc-2005Q1. You have to change these parts:
ServerAdmin tecneeq@gmx.net
ServerName tecneeq.dyndns.org:80
<Directory /home/*/public_html>
<Directory /home/*/public_html/cgi-bin>
<VirtualHost *:80>
ServerName tecneeq.dyndns.org
DocumentRoot "/home/httpd/htdocs"
</VirtualHost>
Good luck .
Karsten
--
Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
() Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de
<\/> GPL-guy: "Argh, they used my code! :-/"
_/\_ BSD-guy: "Cool, they used my code! " |
|
| Back to top |
|
 |
range *nix forums beginner
Joined: 12 Apr 2005
Posts: 21
|
Posted: Tue Jun 07, 2005 3:36 pm Post subject:
Re: Apache2 UserDir
|
|
|
Karsten Kruse wrote:
Thank you for your httpd.conf,
It help me in somewhere :)
but my really question is :
how can I use
http://tecneeq.dyndns.org/karsten/
^^^^^^^
instead of
http://tecneeq.dyndns.org/~karsten/
^^^^^^^^
Thank you
‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@‘@range 05'06/08 |
|
| Back to top |
|
 |
Marko Vihoma *nix forums beginner
Joined: 21 Feb 2005
Posts: 44
|
Posted: Wed Jun 08, 2005 11:36 am Post subject:
Re: Apache2 UserDir
|
|
|
Tuesday 07 June 2005 20:36 range wrote in comp.unix.bsd.netbsd.misc:
By making a directory under "DocumentRoot" and `chown`ing it to whomever
wants to use it?
--
marko [dot] vihoma [at] dnainternet [dot] net
BOFH excuse #230:
Lusers learning curve appears to be fractal |
|
| Back to top |
|
 |
range *nix forums beginner
Joined: 12 Apr 2005
Posts: 21
|
Posted: Wed Jun 08, 2005 3:28 pm Post subject:
Re: Apache2 UserDir
|
|
|
Marko Vihoma wrote:
No, I don't want to use this way. |
|
| Back to top |
|
 |
Marko Vihoma *nix forums beginner
Joined: 21 Feb 2005
Posts: 44
|
Posted: Thu Jun 09, 2005 10:49 am Post subject:
Re: Apache2 UserDir
|
|
|
Wednesday 08 June 2005 20:28 range wrote in comp.unix.bsd.netbsd.misc:
| Quote: | Marko Vihoma wrote:
Tuesday 07 June 2005 20:36 range wrote in comp.unix.bsd.netbsd.misc:
but my really question is :
how can I use
http://tecneeq.dyndns.org/karsten/
^^^^^^^
instead of
http://tecneeq.dyndns.org/~karsten/
^^^^^^^^
By making a directory under "DocumentRoot" and `chown`ing it to
whomever wants to use it?
No, I don't want to use this way.
|
Take a look at mod_alias in Apache's documentation. I haven't used it,
but maybe it works for You?
--
marko [dot] vihoma [at] dnainternet [dot] net
BOFH excuse #347:
The rubber band broke |
|
| Back to top |
|
 |
Marko Vihoma *nix forums beginner
Joined: 21 Feb 2005
Posts: 44
|
Posted: Thu Jun 09, 2005 8:20 pm Post subject:
Re: Apache2 UserDir
|
|
|
Thursday 09 June 2005 15:49 Marko Vihoma wrote in
comp.unix.bsd.netbsd.misc:
| Quote: |
Take a look at mod_alias in Apache's documentation. I haven't used it,
but maybe it works for You?
|
Hmm, I have used mod_alias, but not the way range may need to; using
regular expressions. Shouldn't be too hard.
--
marko [dot] vihoma [at] dnainternet [dot] net
BOFH excuse #318:
Your EMAIL is now being delivered by the USPS |
|
| Back to top |
|
 |
nh *nix forums beginner
Joined: 28 Jun 2005
Posts: 1
|
Posted: Tue Jun 28, 2005 7:33 am Post subject:
Re: Apache2 UserDir
|
|
|
| Quote: | γMy personal web dir - /home/range/web,
and Document root - /home/www/httpd/htdocs ,
γIf someone can tell me howto or details?
Thank you
γγγγγγγγγγγγγγγγrange 05'06/05
|
Can't just you create symbolic links from web root directory to user web
directories? (so http://domain/abc would be the same as http://domain/~abc)
nh |
|
| Back to top |
|
 |
range *nix forums beginner
Joined: 12 Apr 2005
Posts: 21
|
Posted: Tue Jun 28, 2005 12:58 pm Post subject:
Re: Apache2 UserDir
|
|
|
nh wrote:
| Quote: | γMy personal web dir - /home/range/web,
and Document root - /home/www/httpd/htdocs ,
γIf someone can tell me howto or details?
Thank you
Can't just you create symbolic links from web root directory to user web
directories? (so http://domain/abc would be the same as http://domain/~abc)
nh
|
I don't like this way,
beacause when i add a user or del a user, i must do the change additional.
or i must make a shell but at different machine i still need make the
change too..
γγγγγγγγγγγγγγγγγγrange 05'06/28 |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|