LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2007, 09:38 AM   #1
praisehim
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
http.conf - comment or uncomment AddType since html files not showing in browser?


Hello All! When I had uploaded my site to www.eldanetworks.com/centalks i recieve some message up scripting alongt he lines of:

$HOME_TITLE, "JS" => _SCRIPT_ . "/function.js", "BGCOLOR" => "#FFFFFF"); include _INCLUDE_ . "/header.inc.html"; //generate menu part $menu_property["ACTIVE_MENU"] = "home"; //include _INCLUDE_ . "/menu.inc.html"; include dirname(__FILE__) . "/body.inc.html"; //generate footer part include _INCLUDE_ . "/footer.inc.html"; ?>

The site is written in php and html. When I copied the httpd.conf file from the working server to my testing server, I still get the same message. I was thinking of changing the current AddType line in the http.conf file from

# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
#AddType application/x-tar .tgz

to this

# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
#AddType application/x-httpd-php .php .html .phtml .php3

Would this make the page display correctly? All help would be appreciated. You can see the page for yourself at http://www.eldanetworks.com/centalks.

Cheers
 
Old 11-28-2007, 10:38 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
yup it would.
and a little <? would also be necessary at the starting.
 
  


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
Anyone know how to Block JavaScript from being run in HTML Comment Editors farmerjoe Programming 8 02-13-2007 02:57 PM
How to put a comment program in HTML. RHLinuxGUY Programming 6 01-18-2006 01:45 PM
vsftpd - comment/uncomment question. zaoka Linux - General 1 07-31-2005 01:09 AM
http.conf or router conf ? regnier Mandriva 1 02-25-2005 08:41 AM
Html Pictues Not Showing Lawful Programming 3 05-12-2004 08:22 PM


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration