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

So is it Sun or Windows he's talking about? Besides, the above has nothing
to do with path_info. It's simply telling Apache that when it comes across
any file with the extension .cfm, to remap it via the path
c:/WebDocs/SiteRoot.

http://www.apache.org/docs/mod/mod_alias.html#scriptaliasmatch


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

Unfortunately, this information is incorrect. script_name is not the
equivalent of path_info at all. They are both two completely seperate and
different cgi environment variables, both of which are supported by Apache.

http://www.qgl.org/cgi-bin/printenv/some/path/info

Feel free to change 'some/path/info' to something else.

Note that when accessed via the CGI, path_info correctly strips the filename
itself from the string, leaving only the trailing path info - but when
accessed via an embedded scripting language such as cold fusion or php, the
filename sometimes remains prepended in path_info, although with php4, this
behaviour seems to have been changed to match the CGI behaviour.

jason






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