Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-08-2008, 12:24 PM   #1
Registered: Nov 2003
Posts: 757

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:

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, 02:14 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,479

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


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 09:41 PM
Garbled text on screen thelight1 Red Hat 3 11-29-2005 06:53 AM
I wanna see garbled text! tumana Linux - Newbie 2 04-12-2004 02:26 AM
SSH shows garbled term when conn from A to B, but not B to A Trygleren Linux - General 2 03-28-2004 06:55 AM
Console text garbled cap'n leaky Slackware 6 09-06-2003 08:18 PM

All times are GMT -5. The time now is 09:22 PM.

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