Are you printing the http header correctly from the cgi script? This may be the problem. Otherwise, can you post a small example that reproduces this behavior (script + template)?
--Alex ----- Original Message ----- From: Boex,Matthew W. <[EMAIL PROTECTED]> To: HTML-Template mailing list <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 4:41 PM Subject: RE: [htmltmpl] dumb template/apache question > > nope. i am trying to run a .cgi file that references my template... > > -----Original Message----- > From: Alex Porras [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 12, 2001 4:36 PM > To: Boex,Matthew W.; HTML-Template mailing list > Subject: Re: [htmltmpl] dumb template/apache question > > > Ok, here's a dumb question too: are you trying to access the template files > directly? > > --Alex > > ----- Original Message ----- > From: Boex,Matthew W. <[EMAIL PROTECTED]> > To: HTML-Template mailing list <[EMAIL PROTECTED]> > Sent: Monday, November 12, 2001 4:22 PM > Subject: [htmltmpl] dumb template/apache question > > > > > > why can i run my cgi's fine, through a browser, while my H:T files print > the > > html source. i can't figure it out. > > > > i have script alias pointing to /var/www/cgi-bin. if it wasn't the right > > spot or didn't work, my normal cgi's wouldn't execute. > > > > i don't have a valid domain for the test box, i am using an ip address and > > have specified in httpd.conf ( redhat 7.1 ). i am specifying the ip in > the > > url i am requesting. > > > > the permissions and ownership are exactly the same for all my files in > > cgi-bin ( where cgi's and H:T's reside ). > > > > i also tried putting the actual template file in the html dir, and > specified > > the exact path in my script ( that's prolly the right way to do it ) > > > > and here is the capper. when i open an H:T page using opera on linux > not > > locally ), it open up fine. when i try from the same machine using > > netscape, the source comes up. it doesn't execute. both have exact same > > proxy settings... i even tried using opera on windows and the source > comes > > up on it also...??? > > > > any ideas. sorry for the off topic post. > > > > matt > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
