You should not be using a trailing slash.  From apache documentation: 

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

Russ

> -----Original Message-----
> From: Jon Clausen [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 19, 2007 6:51 PM
> To: CF-Talk
> Subject: Re: SOT: Apache config
> 
> Cutter,
> 
> Don't know about Windows for sure since I use IIS there, but on Linux/
> Unix I use a trailing slash and it works fine:
> 
> Alias /resources/ "D:\resources\"
> 
> Are you adding the alias within the Virtual Hosts block or inline in
> httpd.conf (or one of the conf files if running Apache2 )?
> 
> Jon
> 
> On Jan 19, 2007, at 6:28 PM, Cutter (CFRelated) wrote:
> 
> > Quick question. Trying to setup my CF environment on Apache instead of
> > IIS. I'm using the Virtual Hosts file, and running multiple domains
> > ok,
> > after a bumpy start. Now another issue, one of my domains requires a
> > virtual directory, whereby the setup kinda works like this:
> >
> > http://serv.myserver.com = "F:\newwebroot"
> >
> > http://serv.myserver.com/resources = "D:\resources"
> >
> > So, I set up the alias in the config for that virtual host:
> >
> > Alias /resources "D:\resources"
> >
> > But, I'm not getting any content. None of the images I am calling are
> > coming through:
> >
> > http://serv.myserver.com/resources/myImage.jpg
> >
> > Now, the folder name is correct, the files are there, and I'm not
> > receiving errors (other than red X's for no content), so I don't know
> > what's next. Guess it's my own fault for living in a Windows world as
> > long as I have, and forgetting my *nix days, but I'm just looking for
> > some good direction. Anyone?
> >
> >
> > Cutter
> > _____________
> > http://blog.cutterscrossing.com
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267037
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to