Re: SSI in subdomains

2003-09-26 Thread Ramon Chavez
Shaun: Thank you. I tried with And it worked Answering some things. I'm hosting on a Cobalt server in Linux. I got no differences using or not the spacebefore "-->". Anyway It's now in the script. As I said, the only way I was getting the SSI to work was having

Re: SSI in subdomains

2003-09-25 Thread Octavian Rasnita
Try putting a space after the last " like: - Original Message - From: "Ramon Chavez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 9:37 PM Subject: SSI in subdomains > Hello all. > > I have a problem. > I

SSI in subdomains

2003-09-25 Thread Ramon Chavez
Hello all. I have a problem. I have subdomain and want to include some SSI in the webpages, but it doesn't seem to work I have this: subdomain.domain.com that is actually stored in domain.com/subdomain/ If I try to run a SSI from an HTML file calling a script from the cgi-bin

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
On Thursday, Jun 5, 2003, at 14:44 US/Pacific, Hanson, Rob wrote: [..] Right, Apache 2.0 supports this with filters. Rob can you point us at some documentation about this? I'm half and half, with half of the webservers being 2.0 and the rest more 'mature' releases 8-) has anyone done somethin

RE: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread Hanson, Rob
Right, Apache 2.0 supports this with filters. Rob -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 5:32 PM To: Edson Manners; [EMAIL PROTECTED] Subject: Re: I am having trouble using SSI(Server side includes) from cgi using perl CGI is

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread Octavian Rasnita
y, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Edson Manners" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 8:41 PM Subject: I am having trouble using SSI(Server side includes) from cgi using

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
On Thursday, Jun 5, 2003, at 11:25 US/Pacific, Edson Manners wrote: [..] Is there anyway I can send the cgi output to a .shtml file before handing it to the browser, or handing this output to the webserver so that it can parse the SSI before giving it to the client browser? [..] I think that is

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread Edson Manners
I am adding a simple include statement: print "\n"; Is there anyway I can send the cgi output to a .shtml file before handing it to the browser, or handing this output to the webserver so that it can parse the SSI before giving it to the client browser? Thanks On Thu, 2003-06-0

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
On Thursday, Jun 5, 2003, at 10:41 US/Pacific, Edson Manners wrote: I am making a cgi script that prints a web page with SSIs in it. When I put SSI code in my cgi which is output to STDOUT the webserver gets no chance to parse the SSI and put the HTML code in in place of the SSI statements. Does

I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread Edson Manners
I am making a cgi script that prints a web page with SSIs in it. When I put SSI code in my cgi which is output to STDOUT the webserver gets no chance to parse the SSI and put the HTML code in in place of the SSI statements. Does anyone know how to do this. -- Law of inverse proportionality - The

Re: passing page URL to SSI script

2003-03-15 Thread Wiggins d'Anconia
javamaster wrote: I am including the same CGI script as an SSI on several web pages. I need to know which page the script was run from (something like the javascript window.location variable). I want to be able to know if the script was executed from index.html, or contact.html, or

RE: passing page URL to SSI script

2003-03-11 Thread Peter Kappus
with other servers such as IIS, but it's probably worth a look. good luck, -Peter K. -Original Message- From: javamaster [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 2:35 PM To: [EMAIL PROTECTED] Subject: passing page URL to SSI script I am including the same CGI script as

passing page URL to SSI script

2003-03-11 Thread javamaster
I am including the same CGI script as an SSI on several web pages. I need to know which page the script was run from (something like the javascript window.location variable). I want to be able to know if the script was executed from index.html, or contact.html, or products.html, etc. I cannot

Re: SSI calls

2002-08-31 Thread Todd Wade
"Jimmy George" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello World > > Is the line > > print DATAFILE ("The file was recorded at "); > > a valid cgi line for a string like this, I would use single quotes: print DATAFILE 'The file was recorded at '

Re: SSI calls

2002-08-30 Thread Nitish Bezzala
Try escaping the double quotes with a backslash print DATAFILE ("The file was recorded at "); "Jimmy George" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello World > > Is the line > > print DATAFILE ("The file was recorded at "); > > a valid cgi line? Al

SSI calls

2002-08-30 Thread Jimmy George
Hello World Is the line print DATAFILE ("The file was recorded at "); a valid cgi line? All I want to do is record the time a cgi script is called that writes other form data to a file but the server objects to this line. The rest of the form goes into DATAFILE OK. Is it because of the use of

Re: Including SSI in a script

2002-07-08 Thread Todd Wade
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message 00cc01c22495$df0f63d0$[EMAIL PROTECTED]">news:00cc01c22495$df0f63d0$[EMAIL PROTECTED]... > Hi all, > > I want to make a Perl script that generates a web page and prints it on the > screen. > I want t

Including SSI in a script

2002-07-05 Thread Octavian Rasnita
Hi all, I want to make a Perl script that generates a web page and prints it on the screen. I want to include an SSI statement in that page. If I print : in the script file, this doesn't include the SSI in the page. I don't want to create another static HTML page and to include

Re: ssi and redirects

2002-04-28 Thread Joshua Hayden
an you get cookie values when using SSI? I know you can't send them, but am not sure if you can retrieve them. Best Regards, JOSHUA D. HAYDEN - Original Message - From: "Mat Harrison" <[EMAIL PROTECTED]> To: "Joshua Hayden" <[EMAIL PROTECTED]>; "B

Re: SSI

2002-04-28 Thread John Brooking
I haven't used SSI a lot, but my understanding, borne out by my experience so far, is as follows. The SSI simply pulls in the content from the included file or command and inserts it at the place you did the insert. So whatever HTML you would have put there without doing SSI, is what goes i

Re: ssi and redirects

2002-04-28 Thread Michael Kelly
On 4/28/02 11:08 AM, Mat Harrison <[EMAIL PROTECTED]> wrote: > ok, i wouldn't mind using javascript but I don't know how it would tie in > with my scripts. I want this cgi include to scan for a cookie, check the > values etc and either print the membership links or redirect to the login > page.

RE: ssi and redirects

2002-04-28 Thread Mat Harrison
lto:[EMAIL PROTECTED]] Sent: Sunday, April 28, 2002 3:37 PM To: Beginners CGI Perl Mailing List Subject: Re: ssi and redirects It doesn't work because the HTML Content-type has already been sent to the browser when it started load the .shtml page. You could use javascript. <!-- windo

Re: ssi and redirects

2002-04-28 Thread Joshua Hayden
understand it. If someone has a browser that old, I don't really want them on my site anyway. Best Regards, JOSHUA D. HAYDEN - Original Message - From: "Mat Harrison" <[EMAIL PROTECTED]> To: "Beginners CGI Perl Mailing List" <[EMAIL PROTECTED]> Sent:

ssi and redirects

2002-04-28 Thread Mat Harrison
i have a simple redirect and included it using #exec cgi in an html page. when i exec the page, i't doesn't redirect, instead it prints a link to the redirect target. how can i make a script redirect using SSI? -- Matthew Harrison Webmaster www.genestate.com [EMAIL PROTECTED

Re: SSI

2002-04-27 Thread Matthew Weier O'Phinney
On Fri, 26 Apr 2002 10:58:32 -0400, Mat Harrison wrote: > if i have an html document and I include a CGI script to display some > html do I have to have and tags in the include of can it > insert the body into that of the html doc? I'm not an expert on using SSI, but my underst

SSI

2002-04-26 Thread Mat Harrison
if i have an html document and I include a CGI script to display some html do I have to have and tags in the include of can it insert the body into that of the html doc? -- Matthew Harrison Webmaster www.genestate.com [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [CGI] Using SSI in a CGI program

2002-01-21 Thread Marty Landman
At 02:51 PM 1/21/02 -0800, Troy May wrote: >I have an HTML template which gets inserted into a CGI program. I need to >insert an SSI into it, but when the page is created it will not show up like >it does with a standard HTML file. Troy, this is because the server will not parse

RE: Using SSI in a CGI program

2002-01-21 Thread Hanson, Robert
tml, $path); Enjoy. Rob -Original Message- From: Troy May [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 5:52 PM To: Beginners CGI List Subject: Using SSI in a CGI program Hello, I have an HTML template which gets inserted into a CGI program. I need to insert an SSI into

RE: Using SSI in a CGI program

2002-01-21 Thread Camilo Gonzalez
Troy, Not sure why you're doing that. SSI won't work on parsed pages. You're already generating a page so why not include header.html in your template or as a heredoc or open it as a filehandle and print it? -Original Message- From: Troy May [mailto:[EMAIL PROTECTED

Using SSI in a CGI program

2002-01-21 Thread Troy May
Hello, I have an HTML template which gets inserted into a CGI program. I need to insert an SSI into it, but when the page is created it will not show up like it does with a standard HTML file. Do I need to do anything different to this to execute it correctly so it will work like a standard

Cookies and SSI

2002-01-07 Thread Robert Howard
If a script is being called as a Server Side Include, is it still possible to set and read cookies from within the script? Problem I am running into is that the header of the main html is read before my script, so no cookies are set by using print header (-cookie => $session_cookie). R.A. Howard

RE: SSI errors?

2001-12-17 Thread Steven Vargas
That way I could send more specific instructions in the trouble ticket assigned to them. Thanks, Steven -Original Message- From: Omi [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 16, 2001 6:51 PM To: Shawn; [EMAIL PROTECTED] Cc: Steven Vargas Subject: Re: SSI errors? Shawn, Yeah, yo

Re: SSI errors?

2001-12-16 Thread Omi
ch these values (set by #set) on a server -- while I can catch them on another one. Omi Kikuchi [EMAIL PROTECTED] > Exactly why not include any params after the include? I do it on several > sites right now... You can't include the query string on an exec SSI, but > the

Re: SSI errors?

2001-12-15 Thread Shawn
Exactly why not include any params after the include? I do it on several sites right now... You can't include the query string on an exec SSI, but the include virt works just fine. Shawn - Original Message - From: "Omi" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

RE: SSI errors?

2001-12-14 Thread Omi
> How do I capture: > They are in %ENV. In this example, $ENV{'file'} is set to 'home'. And do not add query string (?file=home) after the file name in #include directive: Omi Kikuchi [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @

Re: SSI errors?

2001-12-14 Thread Shawn
> > > > I've tried capturing it in @ARGV but it returns 1 or 0 which I assume is > giving me a boolean and not the string. I've searched perldoc -q ssi and > others, but I'm not finding any clues. > > Thanks for your help. > Steven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SSI errors?

2001-12-14 Thread Steven Vargas
e name/value pair or parameter in my Perl program. How do I capture: -or- I've tried capturing it in @ARGV but it returns 1 or 0 which I assume is giving me a boolean and not the string. I've searched perldoc -q ssi and others, but I'm not finding any clues. Thanks for your help. Steve

Re: SSI errors?

2001-12-14 Thread Lisa Nyman
Hi, On Thu, 13 Dec 2001, Steven Vargas wrote: > I'm trying to run a Perl program in my .shtml file using this directive: > > > I know includes work, because we're using them already. And, I've already > got one CGI application running, but this is the first one

Re: SSI errors?

2001-12-13 Thread Omi
Hi Steven; Have you tried this? Note that some servers ban to run

SSI errors?

2001-12-13 Thread Steven Vargas
I'm trying to run a Perl program in my .shtml file using this directive: I know includes work, because we're using them already. And, I've already got one CGI application running, but this is the first one using an SSI directive. The application is supposed to look at the q

RE: problem using script as ssi

2001-09-13 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 11:23 AM > To: CGI Beginners > Subject: problem using script as ssi > > > i have the following script: > > #!/usr/bin/perl -w > > use str

problem using script as ssi

2001-09-13 Thread charles
i have the following script: #!/usr/bin/perl -w use strict; my $file = /path/to/pancho-unstable"; print ""; open(FH, $file); while() { s/\\\@/@/g; s/>/\>/g; s/"; when i include this script as an ssi through: nothing prints except for the html included i

Re: SSI - Variable Passing

2001-06-01 Thread Curtis Poe
Not having used SSI much, I can only hazard a couple of comments. 1. Did you chat with the admin to find out whether or not "exec" SSIs is allowed? Sometimes SSI is available but this function is disabled for security reasons. > I've tried #exec cgi="/cgi-bin/test.p

SSI - Variable Passing

2001-06-01 Thread Brian Sparr
Hello - I'm trying to use server side includes to invoke a perl script that just writes to a file and I want to be able to pass a variable to that script, but I'm running into problems. I know how to use the #set function to define the variable, but I'm stumped on how to get it passed to the