If you're using Apache, what about mod_rewrite? There's a whole guide to doing URL rewrites on the Apache site called (oddly enough :-) "Apache 1.3 URL Rewriting Guide". I have a somewhat crusty print out sitting here with the following URL: http://www.apache.org/docs/misc/rewriteguide.html I don't know that it'll do what you want but I think it will. Jack On Tuesday 23 January 2001 16:59, Austad, Jay wrote: > Nope, can't use a redirect. It's not a web browser that hits this URL > usually, it's another piece of software and it doesn't know what to do with > a redirect. > > > -----Original Message----- > > From: Nate Carlson [mailto:natecars at real-time.com] > > Sent: Tuesday, January 23, 2001 4:42 PM > > To: 'tclug-list at mn-linux.org' > > Subject: Re: [TCLUG] php files without an extension > > > > 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 > > > > > > _______________________________________________ > > tclug-list mailing list > > tclug-list at mn-linux.org > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > tclug-list mailing list > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list