PHP and Xbithack ?

From: Date: Tue, 03 Oct 2000 10:23:42 +0000
Subject: PHP and Xbithack ?
Groups: php.general 
Request: Send a blank email to php-general+get-18400@lists.php.net to get a copy of this message
Purely for cosmetic reasons, but... Has anyone provided a way for PHP to be executed based upon the executable bits of the filename. Exactly like apache/mod_include's XBitHack directive. I don't want to put the files in a cgi directory or write the programs as a php cgi - I'd like to create a file called e.g. directory (no extension) set executable on it and then be able to call: http://www.mydom.com/directory/Category/SubCategory/etc/etc which would parse directory as PHP and then have PATH_INFO = "/directory/Category/SubCategory/etc/etc" If I call the file directory.php then the above happens... I'd be nice for some purposes to be able to drop the ".php" extension and an "XBitHack" seems to be a good way to do it. Paul. -- | Paul Gregg |T: +44 (0) 28 90 424190 | | Technical Director |F: +44 (0) 28 90 424709 | Club24 Internet | The Internet Business Ltd |W: http://www.tibus.net/| | Holywood House, Innis Court |E: info @ tibus . net | c24.co.uk | Holywood, Co Down, BT18 9HF |P: pgregg @ tibus . net |

« previous php.general (#18400) next »