Click to See Complete Forum and Search --> : PHP and web hosting w/ cgi-bin


sgalmeida
01-13-2004, 06:36 AM
Greetings

The ISP where I will put my PHP site on obligate all CGIs to be on CGI-BIN directory (is an UNIX server). This obligates me to put all my site (all my PHP files) on CGI-BIN, and my URL site will be something like http://www.omeudominio.pt/cgi-bin/aminhapagina.php. I dont like this. I dont want the CGI-BIN to be on the URL. What I want is that the URL will be something like http://www.omeudominio.pt/aminhapagina.php. I ask you, with your experience, to help me on this. What can I do?

Thank you vey much.

Sérgio

pyro
01-13-2004, 08:53 AM
PHP files should not need to be in the CGI BIN. Have you simply tried running PHP outside of it?

Piggy
01-13-2004, 01:51 PM
Make a redirect page. :)

sgalmeida
01-13-2004, 02:35 PM
Originally posted by pyro
PHP files should not need to be in the CGI BIN. Have you simply tried running PHP outside of it?

yes. I've not tried yet but my customer (the owner of my PH site) decided for the ISP and ISP says that all cgi must be on cgi-bin. whatever... php files run where we want but for the ISP it must be on cgi-bin directory!! They think they're God?! :confused:
I will try run outside it :)

pyro
01-13-2004, 03:07 PM
Yes, I have a feeling that it will run fine.