httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James H. Cloos Jr." <cl...@jhcloos.com>
Subject Re: mod_actions weirdness
Date Sun, 28 Mar 1999 00:47:20 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Charles" == Charles Sliger <chaz@reliant.com> writes:

Charles> Jim, Does this mean that the 'Action' directive should look
Charles> like this?

Charles> Action text/html localhost:2001/cgi-bin/bas_mod_actions.cgi

Charles> Does it still append the document name to it?

Charles> localhost:2001/cgi-bin/bas_mod_actions.cgi/test.html

Charles> If so, what is the purpose of this appending?  Maybe I'm not
Charles> understanding the basic purpose of the 'Action' directive.

Leave out the localhost:2001 part.  As an example, look at these:

 <http://www.io.com/~cloos/action/.htaccess>
 <http://www.io.com/~cloos/action/index.html>
 <http://www.io.com/~cloos/printenv.cgi/~cloos/action/index.html>
 <http://www.io.com/~cloos/printenv.cgi>

As you can see from the .htaccess, the second and the third are mostly
identical; the REDIRECT_* variables exist only in the mod_action case,
and let you know that a redirect took place.  Notice the PATH_INFO and
PATH_TRANSLATED variables in the 2nd and 3rd URLs, and how those
variables are not set in the 4th URL.

(The printenv.cgi there, btw, is the printenv.pl script from current
apache-1.3 releases.)

- -JimC
- -- 
James H. Cloos, Jr.  <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6 
<cloos@jhcloos.com>     E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE2/XwXmXqfF+19rqYRAkGUAJsE/zaFuB4hUj9jc4n/qi5rxvspDACfaNsV
OF0a+S6/yV9VBliE1kJh8rU=
=fwke
-----END PGP SIGNATURE-----

Mime
View raw message