niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
Apache2 UserDir
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
range
*nix forums beginner


Joined: 12 Apr 2005
Posts: 21

PostPosted: Sun Jun 05, 2005 3:32 am    Post subject: Apache2 UserDir Reply with quote

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

PostPosted: Mon Jun 06, 2005 12:46 pm    Post subject: Re: Apache2 UserDir Reply with quote

range wrote:

Quote:
‘@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.

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

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! Smile"
Back to top
range
*nix forums beginner


Joined: 12 Apr 2005
Posts: 21

PostPosted: Tue Jun 07, 2005 3:36 pm    Post subject: Re: Apache2 UserDir Reply with quote

Karsten Kruse wrote:
Quote:
range wrote:

‘@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.

Here is my config:
http://tecneeq.dyndns.org/~karsten/configs/httpd.conf

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

PostPosted: Wed Jun 08, 2005 11:36 am    Post subject: Re: Apache2 UserDir Reply with quote

Tuesday 07 June 2005 20:36 range wrote in comp.unix.bsd.netbsd.misc:

Quote:

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

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

PostPosted: Wed Jun 08, 2005 3:28 pm    Post subject: Re: Apache2 UserDir Reply with quote

Marko Vihoma wrote:
Quote:
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.
Back to top
Marko Vihoma
*nix forums beginner


Joined: 21 Feb 2005
Posts: 44

PostPosted: Thu Jun 09, 2005 10:49 am    Post subject: Re: Apache2 UserDir Reply with quote

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

PostPosted: Thu Jun 09, 2005 8:20 pm    Post subject: Re: Apache2 UserDir Reply with quote

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

PostPosted: Tue Jun 28, 2005 7:33 am    Post subject: Re: Apache2 UserDir Reply with quote

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

PostPosted: Tue Jun 28, 2005 12:58 pm    Post subject: Re: Apache2 UserDir Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 6:36 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Apache2.2 Indraveni Debian 1 Wed Jul 19, 2006 4:10 am
No new posts Will apache2, php5, mcrypt,etc run on solaris 10 x86 in 6... terry.cullen@gmail.com Solaris 6 Mon Jul 17, 2006 7:37 am
No new posts apache2 problem with index.php Kurt Engelbrecht Suse 18 Sun Jul 16, 2006 5:27 pm
No new posts Apache2 vhost log David Sveningsson Apache 2 Sat Jul 15, 2006 5:23 pm

General Webmaster Chat | Payday Advance | Internet Advertising | Online Advertising | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2393s ][ Queries: 16 (0.1416s) ][ GZIP on - Debug on ]