I don't see a specific question here, but I'll take a shot anyway.

I've done something similar to this in the past, configuring apache to
parse .php *and* .html files as PHP.  There is a section in your
httpd.conf file that looks like:

# The following is for PHP4 (conficts with PHP/FI, below):
<IfModule mod_php4.c>
  AddType application/x-httpd-php .php4 .php3 .phtml .php
  AddType application/x-httpd-php-source .phps
</IfModule>

I believe fiddling here will solve your problem.  Try other extensions
or just "." might work.  Remember to restart your webserver so you're
sure it re-read this config file.

On 23 Jan, Austad, Jay had this nonsense to say:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010124/bc3d9c97/attachment.pgp