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:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 9:31 AM
To: '[EMAIL PROTECTED]'
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


Reply via email to