LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-08-2008, 01:24 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 719

Rep: Reputation: 39
html page shows garbled text


Hi there --

I am trying to run the Conquest DICOM 1.4.14 web interface on our system. The server in question is running Fedora Core 5 with the bundled Apache 2.2.0 release along with php 5.1.4, and the Java 1.4.2 release.

The name of the index file is dgate.html, and it is located in the /var/www/cgi-bin directory. The dgate.html file is also a binary file as evidenced by the strings command.

Apache has been configured so that the DocumentRoot is the /var/www/cgi-bin directory. The reasoning for this is due to the installation script of the DICOM web interface which places the dgate.html and its associated files in a cgi-bin directory.

Whenever someone tries to access the file from a web browser either locally or from a remote computer, there is only garbled text shown on-screen. An excerpt of what is seen is shown below:

Quote:
ELF �E���1ЉE�U���EԈ�E����E���1Ћ��� �E���1ЉE�E�m�}
What do I need to do to correct this problem, and be able to see the dgate.html file properly? Thanks.
 
Old 04-09-2008, 03:14 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
I guess you need to add
Code:
AddHandler cgi-script .html
inside the:
<Directory /var/www/cgi-bin> ...</Directory> section of your httpd.conf
 
  


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
Text is garbled when I switch from X back to text mode Dark Jirachi Linux - Laptop and Netbook 18 09-20-2007 10:41 PM
Garbled text on screen thelight1 Red Hat 3 11-29-2005 07:53 AM
I wanna see garbled text! tumana Linux - Newbie 2 04-12-2004 03:26 AM
SSH shows garbled term when conn from A to B, but not B to A Trygleren Linux - General 2 03-28-2004 07:55 AM
Console text garbled cap'n leaky Slackware 6 09-06-2003 09:18 PM


All times are GMT -5. The time now is 02:35 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration