Has anyone tried adding this to httpd.conf

ScriptAliasMatch (.*\.cfm) "c:/WebDocs/SiteRoot$1"

My problem it is the fact that it has c:/WebDocs
What is this suppost to point too.


This is what I found and I am going to try this but haven't yet, has anyone?

Just replace coldfusion_handler function in mod_coldfusion.c with attached
code. PATH_INFO string will then appear as QUERY_STRING in Your CFusion
application.

int coldfusion_handler (request_rec *r)
{
 if (strlen(r->path_info) >0){
  r->args=r->path_info+1;
 }
 /* All the real work gets done in libcfmod */
 return ProcessCFRequest( r ) ;
}


James









----- Original Message -----
From: Erki Esken <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 24, 2000 12:30 PM
Subject: Re: #path_info#


>
> Here you go...
>
> ---------- Forwarded message ----------
> Date: Mon, 21 Feb 2000 19:14:46 -0600
> From: Fred Sanders <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: FormURL2Attributes using / delimiter on Sun w/Apache
>
> FormURL2Attributes using / delimiter on Sun w/ApacheHere are some things
> to try that have addressed this in
> the fusebox archive I keep (okay so I don't like throwing email away).
> I do not use Apache, so am not sure if they work, but they've been
> recommended several times before.
>
> Hope one of them works for you.
>
> You need to have a line similar to the following in your httpd.conf:
>
> ScriptAliasMatch (.*\.cfm) "c:/WebDocs/SiteRoot$1"
>
> where the path points to your site's root folder.  If you have virtual
> servers, you'll need an entry like this for each server config section
> (pointing to the virtual server's root). You will then have access to
> CGI.SCRIPT_NAME, which is the Apache equivalent of path_info.
>
>
> On Wed, 24 May 2000, Steve Nelson wrote:
>
> > There was a discussion about this on the Fusebox mailing list.  I think
> > there was a setting in Apache that you can set to make this work.  I'll
> > see if I can find that email.
> >
> > Steve
> >
> > James wrote:
> > >
> > > I'm trying to move some a coldfusion 4.0 site from a  NT machine to
the
> > > linux coldfusion 4.5 server. I'm thinking, easy as pie.
> > >
> > > I am running into a problem with #path_info#
> > >
> > > On the site I use something like this
> > > http://www.domain.com/item.cfm/10
> > > I would use, #path_info# to return /item.cfm/10
> > >
> > > I have come to find that the linux coldfusion 4.5 does not have this
cgi
> > > variable.
> > >
> > > Is there way?
> > > I have my fingers crossed.
> > >
> > > James
> > >
> >
> --------------------------------------------------------------------------
----
> > > To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
> --------------------------------------------------------------------------
----
> > To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
> >
>
>
> --------------------------------------------------------------------------
----
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to