Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 65131 invoked by uid 500); 10 Mar 2003 22:29:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 65114 invoked from network); 10 Mar 2003 22:29:01 -0000 Received: from titanic.atbusiness.com (194.100.136.195) by daedalus.apache.org with SMTP; 10 Mar 2003 22:29:01 -0000 Received: from atbusiness.com (localhost [127.0.0.1]) by titanic.atbusiness.com (8.11.6/8.11.6) with ESMTP id h2AMT6Z04692 for ; Tue, 11 Mar 2003 00:29:06 +0200 Received: from [194.100.137.2] (account bao HELO atbusiness.com) by atbusiness.com (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 2766769 for users@httpd.apache.org; Tue, 11 Mar 2003 00:29:05 +0200 Message-ID: <3E6D1168.1A32F488@atbusiness.com> Date: Tue, 11 Mar 2003 00:27:52 +0200 From: BAO RuiXian X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: zh-CN,en MIME-Version: 1.0 To: users@httpd.apache.org References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] where would i configure an alias The following is taken from the apache manual. Bao ------------------------------------------------------ Alias Directive Description: Maps URLs to filesystem locations Syntax: Alias URL-path file-path|directory-path Context: server config, virtual host Status: Base Module: mod_alias The Alias directive allows documents to be stored in the local filesystem other than under the DocumentRoot. URLs with a (%-decoded) path beginning with url-path will be mapped to local files beginning with directory-filename. Example: Alias /image /ftp/pub/image A request for http://myserver/image/foo.gif would cause the server to return the file /ftp/pub/image/foo.gif. Note that if you include a trailing / on the url-path then the server will require a trailing / in order to expand the alias. That is, if you use Alias /icons/ /usr/local/apache/icons/ then the url /icons will not be aliased. Note that you may need to specify additional sections which cover the destination of aliases. Aliasing occurs before sections are checked, so only the destination of aliases are affected. (Note however sections are run through once before aliases are performed, so they will apply.) Rob Landry wrote: > > I understand that I must use an alias to utilize files in my D:\ drive, > however I am not sure how to make the server see the D:\ drive. I think > that I am supposed to add a so that it the D:\ drive is seen. > Please help me with this setup as I am not totally understanding how to do > this. Where in my .conf file am I supposed to add these lines? Any help > that can be provided would be most appreciated. > > --Rob > -- BAO RuiXian, SOFTWARE ENGINEER, Project Consulting, Software Services AtBusiness Communications Corporation, Kaapeliaukio 1, 00180 Helsinki Phone +358-9-2311 6674, Mobile +358-50-329 6275, Fax +358-9-2311 6601 www.atbusiness.com, Email: {bao.ruixian, ruixian.bao}@atbusiness.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org