PDA

View Full Version : SSI


jbroder
02-01-1999, 01:28 AM
When I enter
'/big/dom/xguitartricks/cgi-bin/adsys/ssirand.cgi musicgp'
on the command line, I get the response I am
looking for.
But, when I make it an SSI
<!--#exec cmd="/big/dom/xguitartricks/cgi-bin/adsys/ssirand.cgi defaultgp"-->
It doesn't do anything.

There must be a trick to it that I don't understand?

Thanks,
Jon

------------------
guitartricks.com

hearts
02-01-1999, 02:02 AM
it is too late for me to be guessing.. but will ask this anyways.. does your html file end in .shtml?

Del
02-01-1999, 02:07 AM
Jon,

Well, SSI's are a fun thing, especially when it comes to passing arguments to them (which is what I assume you need, judging by the '<space> defaultgp' you've got). Try changing it to

<--#include virtual="/path/ssirand.cgi args"-->

and see if that helps at all. If that doesn't work, let me know and I'll see what else I can come up with http://www.aota.net/ubb/smile.gif



------------------
Del
www.downinit.com (http://www.downinit.com)

da da da

jbroder
02-01-1999, 01:05 PM
oh. I didn't know that.

Now the view source doesn't show the command (good news, I think) and the command works
when I enter it on the command line (spits out the html I had hoped for). But, it still doesn't spit it out when called from the file
doc.shtml..

So is there something else I need to change?
File permissions are the standard
-rw-rw-r--

And www directory is
drwxrwxr-x

Thanks!

Jon

hearts
02-01-1999, 01:06 PM
WELLLLLL... I should be thanking YOU GUYS.. look how far I have come along.. without your recommendation of prozac *EG*

I mean it when I say.. i am very thankful. http://www.aota.net/ubb/smile.gif

-----
Hearts

in love... totally happy.. and walking on clouds today!

(in other words.. totally useless) http://www.aota.net/ubb/wink.gif

hearts
02-01-1999, 01:10 PM
JON

get your email.. http://www.aota.net/ubb/wink.gif

hearts
02-01-1999, 02:01 PM
jon

I am beating myself up trying to help ya.. it is so hard to help without knowing the code.. i seem to be able to understand better what I can read.

when all else fails.. this is what I do.

if you got a readme file with all that.. PRINT THAT MOTHER.. giggle. When i did my first few scripts.. i followed that thing like a checklist. SO maybe.. if you open it up..and trace your steps ... cuss a little.. *cuz my best work is done saying some major cussing.. hehehe .. you will be albe to see what you are overlooking.

I am sooooo sorry that I couldn't be of better help to ya.. as I am sure that guessing is only confusing you more. http://www.aota.net/ubb/frown.gif

I really did try.

----

hearts

still learning.. http://www.aota.net/ubb/wink.gif

PS...

with the images not loading and the links not working.. it seems that their paths are possibly incorrect.

[This message has been edited by hearts (edited 02-01-99).]

jbroder
02-02-1999, 12:05 AM
Thanks for the help.

'include virtual='

didn't help, unfortunately.

I am not using shtml.

Should the SSI command appear in a 'view source?' Or should the code returned appear?

Any other suggestions? I am new at this stuff
and could have made some newbie error.
Jon






------------------
guitartricks.com

hearts
02-02-1999, 12:35 AM
i believe.. if I learned anything .. giggle.. that you need to use the .shtml extention

(naming your html file whatever.shtml rather than whatever.html)

try it http://www.aota.net/ubb/wink.gif

[This message has been edited by hearts (edited 02-01-99).]

Terra
02-02-1999, 12:56 AM
Hearts is correct... Follow her lead...

--
Terra
--Ah grasshopper, you didn't jump high enough--
FutureQuest

PS: Thanks Maria...