RE: [PHP] CGI

From: Date: Tue, 26 Feb 2002 14:51:51 +0000
Subject: RE: [PHP] CGI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86247@lists.php.net to get a copy of this message
Maybe I'm misunderstanding the question, but you should be able to make an alias in your httpd.conf file that points /cgi-bin/cgiscripts to /usr/lib/xxx/cgi-bin/ . Then in your scripts variable you would need something like this: scripts=/cgi-bin/cgiscripts/xxx.cgi Someone please correct me if I'm wrong. Hope this helps. -----Original Message----- From: Sven Jacobs [mailto:sjacobs@contenteurope.com] Sent: Tuesday, February 26, 2002 9:31 AM To: 'php-general@lists.php.net' Subject: [PHP] CGI Hey I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory How can i make them a part of my php meaning that in the current situation the url is something like this http://xxxxx.xxxxx.xxx/cgi-bin/cgiscripts/xxxx.cgi and i want it to be something like this http://xxxx.xxxx.xxxx/index.php?action=cgi&scripts=xxx.cgi Maybe a stupid question but .... Kind regards Sven

« previous php.general (#86247) next »