On Tue, 23 Jan 2001, Austad, Jay wrote:
> Say I have a file called generator.php.  To hit this and pass arguments to
> it, the URL looks something like:
> http://www.something.com/generator.php?file=something.txt
>
> I want to rename generator.php to just "generator" and have apache parse it
> as a PHP file.  So when I hit it, it will look something like:
> http://www.something.com/generator?file=something.txt
>
> The reason being, I'm trying to replace a badly written CGI with this nice
> graceful PHP script, but there are too many links to change other places to
> have the URL be different.

Not sure how to do that, but could you set up the web server with a
redirect to make that work?

eg..

Redirect /generator /generator.php

..just throwing out ideas.  :)

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500