httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Peck - MIS Web Design" <ni...@miswebdesign.com>
Subject RE: [users@httpd] where would i configure an alias
Date Tue, 11 Mar 2003 00:33:16 GMT
Look for the section that starts:

<IfModule mod_alias.c>

in your hhtpd.conf. Within that section add this:

Alias /aliasname/ "c:/path/to/directory/"

<Directory "c:/path/to/directory">
  Options Indexes FollowSymlinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>

Note the slash on the end of the directory name in the Alias but not in the
<Directory>.

HTH
Nigel Peck

MIS Web Design
http://www.miswebdesign.com/

> -----Original Message-----
> From: Rob Landry [mailto:bigrob8181@hotmail.com]
> Sent: 10 March 2003 22:17
> To: users@httpd.apache.org
> Subject: [users@httpd] where would i configure an alias
>
>
> 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 <directory> 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
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message