- தீர்வுற்றது
- Archived
Is it possible that Firefox prevents serverside includes (SSI) from functioning?
I am no doubt asking in the wrong place, but...I have Apache2 running on a linux locally. I believe I have set it up to support server-side includes. I have a cgi-bin per… (மேலும் படிக்க)
I am no doubt asking in the wrong place, but...I have Apache2 running on a linux locally. I believe I have set it up to support server-side includes. I have a cgi-bin perl script, hell.pl:
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "Hello, world\n"; exit;
Under Firefox, I can generate the Hello World page through the url
xxx.xxx.xxx.xxx/cgi-bin/hell.pl
where xxx.xxx... is the apache2 server address.
But if I try to do that via the html file:
<HTML> <HEAD></HEAD> Test:<BR> <BODY> <!--#include virtual=/cgi-bin/hell.pl" --> </BODY></HTML>
All I get is page which is blank except for the "Test:" on line 1. The apache error and access logs show no relevant problems, as if the browser treats the serverside include as a comment.
I realize that the fault no doubt lies with the apache2 configuration, but I have studied and studied... and am now clutching at straws.