httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <apa...@gej-it.com>
Subject RE: [users@httpd] where would i configure an alias
Date Tue, 11 Mar 2003 03:36:31 GMT
In the win32 enviroment it works ONLY with the slash at the end of the alias
name and not-slashed at the Directory.
You got to know that there're differences in the win32 and the X-based
systems structure in the Apache API.

Jeff Cohen

> -----Original Message-----
> From: BAO RuiXian [mailto:bao.ruixian@atbusiness.com]
> Sent: Monday, March 10, 2003 7:59 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] where would i configure an alias
> 
> 
> 
> Nigel Peck - MIS Web Design wrote:
> >
> > 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/"
> 
> With trailing slash is not a good idea. The following is from the Alias
> Directive section of the apache manual:
> 
> 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.
> 
> 
> Bao
> 
> > <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/
> 
> --
> 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 <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