/    Sign up×
Community /Pin to ProfileBookmark

PHP and web hosting w/ cgi-bin

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

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@pyroJan 13.2004 — PHP files should not need to be in the CGI BIN. Have you simply tried running PHP outside of it?
Copy linkTweet thisAlerts:
@PiggyJan 13.2004 — Make a redirect page. ?
Copy linkTweet thisAlerts:
@sgalmeidaauthorJan 13.2004 — [i]Originally posted by pyro [/i]

[B]PHP files should not need to be in the CGI BIN. Have you simply tried running PHP outside of it? [/B][/QUOTE]


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?! ?

I will try run outside it ?
Copy linkTweet thisAlerts:
@pyroJan 13.2004 — Yes, I have a feeling that it will run fine.
×

Success!

Help @sgalmeida spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...