LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2012, 10:32 PM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
CGI Browser compatibility


I have some cgi scripts and I hosted it in apache.

This is working file in browser IE but in other browsers like chrome/firefox, only the code is shown and not executed properly.

How can I overcome this compatibility issue in cgi ??
 
Old 06-25-2012, 11:51 PM   #2
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
Quote:
Originally Posted by divyashree View Post
How can I overcome this compatibility issue in cgi ??
It is not a compatibility issue in CGI, it is an Internet Explorer compatibility issue.

In most similar cases I've seen, the actual problem is that either the CGI program is not executable, or Apache is not correctly configured to execute the CGI program.

I've never seen a case where one browser does cause the server to execute the CGI, where other browsers do not. It is possible to achieve by using some rather esoteric setenvif/browsermatch directives, but I've never seen in real life.

What I have seen, over and over, is stale caches. In IE, you need to press Ctrl+F5 (I think) to actually reload the page; basic F5 just reloads it from IE's own cache. Go to another page, clear your caches, and restart IE, to see if that was your actual problem.

Last edited by Nominal Animal; 06-25-2012 at 11:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
first cgi script not returning anything on browser linux_cv Linux - Newbie 1 05-28-2009 01:49 AM
cgi via web browser censanian Linux - Server 1 07-13-2007 03:51 PM
Can not access cgi-bin from browser. Spreegem Linux - Software 6 11-07-2005 07:22 PM
CGI problem, works at the command line, but not on the browser izmir Fedora 36 10-08-2005 02:57 PM
How to run simple CGI program in browser ? amit_28oct Programming 5 03-23-2004 11:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration