You can set your DefaultType from whatever it is now (probably text/plain)
to application/x-httpd-php.  Note that this will have the effect of having 
every
file parsed by PHP, unless specified otherwise.

Nick Reinking






austad at marketwatch.com, on 01/23/2001 04:17:43 PM
To: tclug-list at mn-linux.org @ PMDF
cc:  
Subject: [TCLUG] php files without an extension

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.

Jay  
_______________________________________________
tclug-list mailing list
tclug-list at mn-linux.org
https://mailman.mn-linux.org/mailman/listinfo/tclug-list