A Conversation for The H2G2 Programmers' Corner
*mumbling something along the lines of "I wish I never started this...."*
Rat, who can't remember his way round this bloody thing. Started conversation Dec 22, 2001
Ok, problems with perl(again)...
I had all these nice fancy scripts working and doing well then I had to switch servers...now I'm stuck with windoze 2000...and, of course, the support is as good as the o/s (ie, not very good at all).
Whenever I try to call a cgi script from a SHTML file unsing
<!--#include virtual="cgi-bin/scriptname.cgi"-->, I'm getting a 404 error...when I try using <!--#exec cmd="cgi-bin/scriptname.cgi"--> I get "cmd cannot be executed on this server".
Any ideas on what I'm doing wrong?
*mumbling something along the lines of "I wish I never started this...."*
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Dec 22, 2001
Not really my specialty, but I think Windows has a nasty habit of expecting backslashes in web file paths, while *nix isn't fussy. try using "\" instead of "/"...
*mumbling something along the lines of "I wish I never started this...."*
Rat, who can't remember his way round this bloody thing. Posted Dec 22, 2001
*mumbling something along the lines of "I wish I never started this...."*
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Dec 23, 2001
Silly question, but I assume when you moved everything over, you set the file permissions of the scripts to include "executable"...?
*mumbling something along the lines of "I wish I never started this...."*
Rat, who can't remember his way round this bloody thing. Posted Dec 23, 2001
ummm...no....but I didn't do that on the unix server either...
how do I do that?
*mumbling something along the lines of "I wish I never started this...."*
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Dec 23, 2001
*mumbling something along the lines of "I wish I never started this...."*
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Dec 23, 2001
Right-click the files, click the "Security" tab and see that they have "Read and Execute" (as opposed to just "Read") permissions set for "Everyone".
(I knew it was something like that, I just haven't had to do it since NT4 days... )
*mumbling something along the lines of "I wish I never started this...."*
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Dec 23, 2001
*mumbling something along the lines of "I wish I never started this...."*
Rat, who can't remember his way round this bloody thing. Posted Dec 23, 2001
Done all that and its no good... #include virtual is still giving 404 error and #exec cmd is giving "The CMD option is not enabled for #EXEC calls"
I hate windoze
*learns 'cheap' doesn't mean 'good' when it comes to web-hosting*
Key: Complain about this post
*mumbling something along the lines of "I wish I never started this...."*
- 1: Rat, who can't remember his way round this bloody thing. (Dec 22, 2001)
- 2: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Dec 22, 2001)
- 3: Rat, who can't remember his way round this bloody thing. (Dec 22, 2001)
- 4: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Dec 23, 2001)
- 5: Rat, who can't remember his way round this bloody thing. (Dec 23, 2001)
- 6: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Dec 23, 2001)
- 7: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Dec 23, 2001)
- 8: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Dec 23, 2001)
- 9: Rat, who can't remember his way round this bloody thing. (Dec 23, 2001)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."