From owner-freebsd-questions Mon Jan 28 16:25: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 00FAA37B400 for ; Mon, 28 Jan 2002 16:25:00 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-214.dsl.crchtx.swbell.net [64.219.20.214]) by sage-american.com (8.9.3/8.9.3) with SMTP id SAA06715; Mon, 28 Jan 2002 18:24:56 -0600 (CST) Message-Id: <3.0.5.32.20020128182454.01831ca0@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 28 Jan 2002 18:24:54 -0600 To: "Joe & Fhe Barbish" , "FBSD Questions" From: jacks@sage-american.com Subject: Re: Apache subdir httpd.conf example In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe: I don't think it has anything to do with "hard code" of the httpd.conf. It's a matter pointing the web browser to the URL: For ~/dirname (a user's $home dir) http://www.domain.com/~dirname/ BUT, for the above to work, you need a subdir with an index.html: ~/dirname/public_html/index.html ..and open up permissions in the subdir (use an .htaccess in the subdir to set up) Now try http://www.domain.com/~dirname/ For /dirname: http://www.domain.com/dirname/ place a subdirectory: /usr/local/www/data/dirname/index.html Now try: http://www.domain.com/~dirname/ At 06:46 PM 1.28.2002 -0500, Joe & Fhe Barbish wrote: >Need a example of apache httpd.conf coding for subdirectory >web page. /~dirname and /dirname. Can somebody help me. > >Thanks >Joe > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message