Simple Ssi Command Not Working...

windows

Guest
Hello. I've been using SSI include commands for a long time and never had any problems with them. Now I want to use the CGI script called Poll It, which like the name says, is made to build my own polls.<br /><br />Now I need to use the following command in order to include the poll in my shtml pages: <!--#exec cgi="http://www.adnddownloads.com/poll_it/Poll_It_SSI_v2.05.cgi" --><br /><br />As you can see on my test page: <a href="http://www.adnddownloads.com/design/" target="_blank">http://www.adnddownloads.com/design/</a> , the script won't load.<br /><br />Is there anything special I have to do? (yes, my files have the right CHMOD)<!--content-->
Try this instead:<br /><br /><!--fonto:courier--><span style="font-family:courier"><!--/fonto--><!--#exec cgi="/poll_it/Poll_It_SSI_v2.05.cgi" --><!--fontc--></span><!--/fontc--><br /><br />It should work then.<!--content-->
ok, thanks! I'll it later tonight and tell you if it works or not.<!--content-->
Thanks a lot Mike! It worked perfectly! It's strange that entering the whole URL makes the command crash. I guess it's codded in a way it always start search the file to be included from the main directory...<br /><br />Anyway, thanks!<br /><br />Las thing, if anyone need a good poll script, Poll-It works perfectly. But I had to edit some parts of the code because it included "endlines" at random places for a strange reason.<!--content-->
Dark Angel, in the code supplied, the very first / tells it to look from the root directory. From what I understand of shtml (that isn't very much, I'm a php gal =) ) the full URL is not allowed due to security issues.<!--content-->
Sounds logic to me... Thanks! I better read carefully next time...<!--content-->
 
Top