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
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
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
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
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
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
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
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
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 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
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
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
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
"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 '
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
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
"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
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
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
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
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.
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
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:
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
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
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
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
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
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
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
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
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
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
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
> 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 @
>
>
>
> 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]
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
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
Hi Steven;
Have you tried this?
Note that some servers ban to run
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
> -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
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
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
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
44 matches
Mail list logo