[Techtalk] Zeus rewrite rules

Kathryn Andersen kat_lists at katspace.com
Wed Dec 29 08:19:11 EST 2004


On Tue, Dec 28, 2004 at 12:25:55PM +0100, Almut Behrens wrote:
> On Tue, Dec 28, 2004 at 12:04:14PM +1100, Kathryn Andersen wrote:
> > Anyone here familiar with Zeus rewrite rules?
> 
> I haven't got the faintest how to do URL rewriting in Zeus, so this
> is just an idea...  Maybe, rewriting is not really your problem, but
> rather the so-called "URL look back" feature of Apache -- which might
> be missing in general / not enabled by default / specifically not
> working with rewritten URLs ... in Zeus.
> This feature makes URLs of the form
> 
> .../path/to/somescript.cgi/path/passed/as/parameter
> 
> work, because Apache can figure out that somescript.cgi is to be called
> with "/path/passed/as/parameter" stripped off and passed as argument to
> the script.  According to the CGI standard, you'd normally have to
> write something like
> 
> .../path/to/somescript.cgi?path=/path/passed/as/parameter
> 
> and then in the script extract the parameter "path" from the
> environment variable QUERY_STRING.

Interesting.  My web-host now says that they need to upgrade Zeus,
but it would probably be worth investigating this anyway.
But I have a vague feeling it works fine with Zeus because I have other
CGI scripts which use

> .../path/to/somescript.cgi/path/passed/as/parameter

perfectly well, so that probably isn't the problem.

Thanks.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Don't believe in miracles, expect them.
	-- Kiajen, Observations
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe


More information about the Techtalk mailing list