Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Mime Type Trouble
ckcomputerstalla...
post Jun 4 2008, 10:09 PM
Post #1


Advanced Member
*******

Group: [HOSTED]
Posts: 112
Joined: 20-May 08
Member No.: 62,413



I have been trying to validate my site with xhtml 1.1 and I am supposed to serve it as an application vs. text/html...

1. It recommends changing to .xml or .xhtml extension but when I do this in my home folder it doesn't recognize the extension and calls is text/generic.
2. Yes, i have added the mime type in apache, but I don't know why it doesn't recognize it?? It recognized a pearl script I made.
3. I also tried adding a perl script to the top of my pages to declare mime type but it doesn't seem to be working.

How can I get cpanel to recognize these files and serve them properly. Im a newb, thanks!

This post has been edited by ckcomputerstallahassee: Jun 4 2008, 10:12 PM
Go to the top of the page
 
+Quote Post
truefusion
post Jun 5 2008, 11:15 AM
Post #2


Ephesians 6:10-17
Group Icon

Group: [MODERATOR]
Posts: 1,896
Joined: 22-June 05
From: The World of Gentoo
Member No.: 8,528
T17 GFX Crew



"It"—you have a lot of "it"s in your post. Most seem to be referencing the validator. If so, what validator are you using to try and validate your file(s) with?
Go to the top of the page
 
+Quote Post
ckcomputerstalla...
post Jun 5 2008, 12:13 PM
Post #3


Advanced Member
*******

Group: [HOSTED]
Posts: 112
Joined: 20-May 08
Member No.: 62,413



the wc3 validator. I check out on css, but am having problems with xhtml.
Go to the top of the page
 
+Quote Post
rvalkass
post Jun 5 2008, 12:35 PM
Post #4


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,116
Joined: 28-May 05
From: Hertfordshire, England
Member No.: 7,593
Spam Patrol



The information from the validator says the following:
QUOTE
The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:

* the MIME Media Type (text/html) can be used for XML or SGML document types
* No known Document Type could be detected
* No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.

As a default, the validator is falling back to SGML mode.


It states that the text/html MIME type can be used for XML (XHTML) documents, as long as you put the XML declaration shown on the third bullet point at the top of your document.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Macromedia Flash(1)
  2. How Many Songs Can You Type In 1 Minute?(10)
  3. Neomail, Horde, Squirrelmail(4)
  4. Fave Type Of Music?(27)
  5. Having Trouble Installin Half Life 1 On Windows Xp(8)
  6. Setting Processor Type(4)
  7. Windows Update Trouble(7)
  8. How Fast Can You Type The Alphabet?(64)
  9. Rollercoaster Tycoon(30)
  10. Rpg Maker 2003(7)
  11. Bloobs(5)
  12. Trouble With Rpgmaker Xp(19)
  13. Wordpress Login Trouble [resolved](8)
  14. School Giving You Too Much Trouble?(1)
  15. Trouble Creating Hosting Account(20)
  1. Nasal Irrigation For Sinus Trouble(4)
  2. Runescape Through A Proxy(2)
  3. Cpanel Help, Trouble Logging In.(4)
  4. Cms?(2)
  5. Canadian Dcma-type Bill Introduced(1)
  6. How To Change The Gradient Type And Make A Gradient On Adobe Photoshop Cs3(1)
  7. Wordpress Vs Movable Type(0)
  8. Movable Type 4(0)
  9. Installing Movable Type 4(1)
  10. The Olympics-more Trouble Than It's Worth?(6)
  11. Browser Compatibility Problem With Firefox - Javascript + Css(3)
  12. Seeking Help With Javascript(1)
  13. I'm Having Trouble Registering(4)


 



- Lo-Fi Version Time is now: 8th September 2008 - 07:15 AM