Mime Type Trouble

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Mime Type Trouble

ckcomputerstallahassee
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!

Reply

truefusion
"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?

Reply

ckcomputerstallahassee
the wc3 validator. I check out on css, but am having problems with xhtml.

Reply

rvalkass
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : mime, type, trouble

  1. I'm Having Trouble Registering
    (my application is accepted, but not going through) (4)
  2. Seeking Help With Javascript
    Need help with drag and drop type script (1)
    What i want to make is a script that has a table, which is a menu for my site, and when you click
    the top of the table you can drag it to another place in the page. This is the code: Test
    run - Right click menu - ©Jack McCrea 2008 <script type="text/javascript"> function
    coordinates(event) { if (event.button==2) { var x=event.x; var y=event.y;
    document.getElementById("element").style.left=x; document.getElementById("element").style.top=y;
    document.getElementById("element").style.visibility="visible"; var oldx=x; var oldy=y; } }
    <script type="....
  3. Browser Compatibility Problem With Firefox - Javascript + Css
    Having trouble making a script work right - any suggestions? (3)
    Hi, Im working on a website, and im trying to make a right-click menu, which opens on right click,
    wherever the cursor is, and closes on mouse out. I wrote the code below, and when i ran it in IE it
    ran fine, just how i wanted it to work. However in firefox, the menu just opened in the top left. im
    presuming this is because it doesnt like my style changing in the javascript. Any ideas, and
    suggestions? If i cant make this work, i will just make it so it works slightly differently when
    viewev in firefox so that it can just open in one place. All ideas appreciated. ....
  4. The Olympics-more Trouble Than It's Worth?
    (6)
    I love watching the Olympics like many other people. It is pretty cool to see athletes from all over
    the world compete in sporting events. However, it seems to me that the Olympics may be causing more
    trouble than what it's worth. The debate over drug involvement, underage gymnasts, tie scores,
    dropping s medal on the ground, and falling on the vault are all examples of things that have been
    debated. It seems to me that all of these things are ruining the Olympics. What's the point in
    winning a gold medal when everyone questions it? It seems to me that the Olympi....
  5. Installing Movable Type 4
    (1)
    Anyone here has tried installing Movable Type 4 on trap 17? I need a deatailed explanation, thanks.....
  6. Movable Type 4
    Installing (0)
    Hi guys. I have a problem here installing Movable Type 4. Has anyone installed it on Trap 17 servers
    before? I would need a detailed installation description, as I had many problems installing it here,
    possibly due to the server behaviours at Trap 17. Thanks.....
  7. Wordpress Vs Movable Type
    (0)
    What do you generally think about Wordpress and Movable type as blogging platforms. With what
    platform are you more comfortable with, which one has more options, which one is more newbie
    friendly? I don't have experience with movable type, but wordpress.org is to me a much better
    alternative (I use it on my self hosted blog on trap17). Tell me your experiences. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thanks.....
  8. How To Change The Gradient Type And Make A Gradient On Adobe Photoshop Cs3
    (1)
    How to change the Gradient type on Adobe Photoshop CS3 Open Adobe Photoshop CS3 On your current
    piece of work or on a new blank canvas, select the area you would like to apply the gradient to.
    Once you have the area selected you would like to work on, hover your curser over the Gradient Tool
    button (Default Location: Left edge of the Program window, center of the tools menu). Apply pressure
    to the mouse so you click the Gradient Tool Button. Once you have this Tool selected, you can
    choose which gradient you would like to use. Choices : Linear Gradient (Defaul....
  9. Canadian Dcma-type Bill Introduced
    Canada's version of the Digital Millennium Copyright Act (1)
    Today on June 12, 2008, Industry Canada Minister Jim Prentice introduces the Canadian version of the
    Digital Millennium Copyright Act. This means that Canada will also seek to prosecute and sue average
    citizens through the monitoring of bit torrent and p2p sharing clients and tracking IP addresses
    with fake trackers. In 1998, the Digital Millennium Copyright Act has be passed in the United
    States, causing over tens of thousands of downloaders their lifetime's savings, due to the high
    lawyer fees and outrageous fines. In an attempt to protect copyright holders, this....
  10. Cms?
    Trouble!!! (2)
    I installed a CMS which is called Slaed. This is the mistake I am getting on the main page: QUOTE
    Warning: unlink(config/counter/sess.txt) : Permission denied in
    /home/alex1985/public_html/function/function.php on line 1607 How can I solve it? Your
    suggestions?....
  11. Cpanel Help, Trouble Logging In.
    Cannot login as it states "Login Attempt Failed!" (4)
    Before I was able to login within my Cpanel without problem but now I try to login and it states
    "Login Attempt Failed!" which makes no sense. I made sure nothing was written incorrectly within
    the fields but yet I get this error. ;-; I hope I wasn't hacked or anything.... anyone has any
    idea of what this could mean?....
  12. Runescape Through A Proxy
    I'm having trouble running Runescape through a proxy server (2)
    I use GhostGo when I surf the web most of the time because it helps protect my privacy. One
    problem I've encountered, is playing Runescape on it. A picture of my screen is attached. I use
    Safari to play Runescape. I'd rather not, but I will use Firefox if I need to.....
  13. Nasal Irrigation For Sinus Trouble
    (4)
    Has anyone ever tried nasal irrigation? I have, it works wonders!....
  14. Trouble Creating Hosting Account
    i would have posted in the HOSTED MEMBERS section but.... (20)
    I need urgent help! When i recieved my email for comfirmation of my hosting account - i went to
    trap17.com/manage/index.php. Logged in and created a hosted account. At the top of it it said "There
    were problems creating your account! Please Contact Administrator. " But i went to my website
    flashy.trap17.com and it was created. But now the only thing is my hosted credits were not set
    back to 0.00 and my group is still Members - not hosted. HELP ME PLEASE!! i dont want to
    get banned....
  15. School Giving You Too Much Trouble?
    Better Here This Audio Clip (1)
    Too Funny! Turn up your Speakers for this one...
    http://mosh.nokia.com/content/32EAC8BB8289...040050AEE041F49 ....
  16. Wordpress Login Trouble [resolved]
    It says something about cookies. (8)
    Whenever I try to login to my newly installed Wordpress account, it gives me this message at the
    top: Warning: Cannot modify header information - headers already sent by (output started at
    /home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 12
    Warning: Cannot modify header information - headers already sent by (output started at
    /home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 24
    And then when I ignore that and try to login, it says that either cookies are blocked or your brow....
  17. Open Any Unknown File Type With Notepad
    Make Notepad as default file opener (0)
    Open Any Unknown File with Notepad
    ************************************************************************ DISCLAIMER: The
    following contains registry edits. If done improperly can cause strange behaviour, and at worst,
    could even entirely corrupt your Windows Installation, requiring you to reinstall Windows. I cannot
    be held for any damage you may cause to your system as a result of taking any action suggested in
    the following article. ************************************************************************
    Target OS: Windows XP Introduction....
  18. [php]diffrent Type Of Template [id] With Includes ;)
    (13)
    ?> Example <!-- A { color: #003366;
    text-decoration: none; } A:link { color: #003366; text-decoration: none; }
    A:visited { color: #003366; text-decoration: none; } A:active { color:
    #54622D; } A:hover { color: #54622D; } BODY,TD,TR{ font-family:
    verdana, arial, sans-serif; color:#000; font-size:11;
    font-weight:normal; } .banner { font-family: georgia, verdana, arial, sans-serif; ....
  19. Trouble With Rpgmaker Xp
    (19)
    I newly installed RPG Maker XP and a message pops up saying. "Failed to obtain a trial activation
    code from the nTitles server!" Now what do I do?....
  20. Bloobs
    Fun puzzle type shooting game (5)
    Anyone heard of Bloobs ? You shoot pieces called Bloobs to form 3 bloobs. Then it clears the
    pieces. You do this until all bloobs clear off the screen. It is fun and mildly addictive. I am
    writing a guide for this game, so people can become more aware of it and play better. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Try it and see. NOTICE: The
    page may not display properly in Opera. It will display in Avant Browser, Netscape, IE, Maxthon and
    Mozilla/SeaMonkey.....
  21. Rpg Maker 2003
    Does anyone use this or any other type of game maker? (7)
    Hi i just recently installed RPG Maker 2003 on my computer and it seems preety good so far of what
    i've seen, I used RPG maker 95 a wile ago and found that anoying, frustrating and just plain
    crap with basically no customization, But this one looks much better. Does anyone use this or any
    sort of similar type of program?....
  22. Rollercoaster Tycoon
    Theme park type simulations (30)
    I've played this game it first came out, and also played the sequel and the add on packs with
    scenarios and missions. In addition, I've also had played the game that started the theme park
    simulations (Theme Park). Is there anyone else out there who loves this game as much as I do? Its
    interesting to change the land and terrain around to get rides into interesting positions or have
    Roller Coasters on a very HIGH steel/cement supports. Its so rewarding to watch a park that you
    started grow from a small park to a bustling busy tourist attraction. Very addicti....
  23. How Fast Can You Type The Alphabet?
    Warning: addictive. (64)
    http://www.morpheme.co.uk/frenzy/ - This game is very addictive for me, but it is good practice
    for knowing where all the letters are if you are not that great at typing. Also if you have a chance
    check out the video section they have, there are 3 videos I think but the people are really fast at
    typing the alphabet. - My record was 4.207 I could probaly get faster but I put alot of time doing
    this nd dont want to get too addicted to it. - Post your times heres.....
  24. Windows Update Trouble
    Office XP Service Pack 3 (7)
    I tried downloading Office XP Service Pack 3 And when I try to download it I Get this box that pops
    up QUOTE Title says: Microsoft Office XP Professional with FrontPage The feature you are
    trying to use is on a network resource that is unavailable. Click ok to try again, or enter and
    alternate path to a folder containing the installation package “PROFLUS.MSI” in the box below Use
    source. C:\Documents and settings\Owner\Desktop (In a drop Down Menu) Then there is
    3 options (OK, Cancel, Browse…) Kind of puzzled as to how I could install the win....
  25. Setting Processor Type
    in the BIOS (4)
    I have a coputer about a year and half old, anyway last night I had to reset the BIOS due to some
    unplesnentness, which I'm not willing to discuss. Anyway that went well however now the
    computer thinks the process is AMD athalon XP 2500+ when it actualy is a 3200+, I know this for a
    fact it is printed on the processor (I checked). Anyway when I was in the BIOS a wile ago I thought
    I saw I clock setting option, anyway now I can't find it. Can anyone tell me where in the BIOS
    these options should be. Some Specs: Board: nVidia-nForce2 Soltek BIOS: Phoenix Techno....
  26. Having Trouble Installin Half Life 1 On Windows Xp
    help me plz... (8)
    im havin trouble installing half life 1 on my computer it meets all the requirments and stuff but it
    wont install and ive read because im using windows xp but ive also read ppl got it to work even
    though there usin windows xp i tried steam but that didnt really help it installed but kept screwin
    up so if anyone has any suggestions plz post them....
  27. Fave Type Of Music?
    Rap, rock, pop, country...? (27)
    What is your fave type of music? My fave is constantly changing, I was really into pop when I was
    still a 'little kid' but I'm really getting into rock now. Anyway, I think that the type
    of music someone likes can relate to how people act. If you look at people who really really like
    Dance or Pop music they are completely different to people that really really like Rock and heavy
    metal stuff. What do you think about that aswell?....
  28. Neomail, Horde, Squirrelmail
    What's the deal?? Having trouble here... (4)
    I'm using an email address under my domain and had been using Neomail to check it for most of
    the time that I've been hosted (less than 2 months now). Not long ago I tried Horde and
    switched to it because it looked nicer. At first, my emails weren't visible in Horde, but later
    they appeared and I couldn't see them in Neomail anymore (I don't know how this happened or
    what I did.) But since using it, Horde was giving me trouble so I decided to switch back to Neomail.
    So I logged into Neomail, but my messages haven't gone back to it. Next, I al....
  29. How Many Songs Can You Type In 1 Minute?
    how may songs you can type in 1 minute (10)
    How many songs can you write down in a reply in one minute? Do the test and write them down here:
    Life For A Rent What You Waiting For? Boulevard Of Broken Dreams Uptown Girl American Idiot Lose
    Yourself Without Me Just Lose It Like Toy Soldiers Roses Not really very good is it? But when I
    rushed of time my mind goes blank. How many of you are like that. Now I'm going to vote in the
    poll.....
  30. Macromedia Flash
    type in farsi language (1)
    hi for type the language farsi in flash you need a ipt 5 this is a symble font for farsi language
    you can downlado it from : www.ipt5.com....

    1. Looking for mime, type, trouble

Searching Video's for mime, type, trouble
Similar
I'm
Having
Trouble
Registering
- (my
application
is accepted,
but not
going
through)
Seeking Help
With
Javascript -
Need help
with drag
and drop
type script
Browser
Compatibilit
y Problem
With Firefox
- Javascript
+ Css -
Having
trouble
making a
script work
right - any
suggestions?
The
Olympics-mor
e Trouble
Than
It's
Worth?
Installing
Movable Type
4
Movable Type
4 -
Installing
Wordpress Vs
Movable Type
How To
Change The
Gradient
Type And
Make A
Gradient On
Adobe
Photoshop
Cs3
Canadian
Dcma-type
Bill
Introduced -
Canada's
version of
the Digital
Millennium
Copyright
Act
Cms? -
Trouble!
!!
Cpanel Help,
Trouble
Logging In.
- Cannot
login as it
states
"Login
Attempt
Failed!&
#34;
Runescape
Through A
Proxy -
I'm
having
trouble
running
Runescape
through a
proxy server
Nasal
Irrigation
For Sinus
Trouble
Trouble
Creating
Hosting
Account - i
would have
posted in
the HOSTED
MEMBERS
section
but....
School
Giving You
Too Much
Trouble? -
Better Here
This Audio
Clip
Wordpress
Login
Trouble
[resolved] -
It says
something
about
cookies.
Open Any
Unknown File
Type With
Notepad -
Make Notepad
as default
file opener
[php]diffren
t Type Of
Template
[id] With
Includes ;)
Trouble With
Rpgmaker Xp
Bloobs - Fun
puzzle type
shooting
game
Rpg Maker
2003 - Does
anyone use
this or any
other type
of game
maker?
Rollercoaste
r Tycoon -
Theme park
type
simulations
How Fast Can
You Type The
Alphabet? -
Warning:
addictive.
Windows
Update
Trouble -
Office XP
Service Pack
3
Setting
Processor
Type - in
the BIOS
Having
Trouble
Installin
Half Life 1
On Windows
Xp - help me
plz...
Fave Type Of
Music? -
Rap, rock,
pop,
country...?
Neomail,
Horde,
Squirrelmail
- What's
the deal??
Having
trouble
here...
How Many
Songs Can
You Type In
1 Minute? -
how may
songs you
can type in
1 minute
Macromedia
Flash - type
in farsi
language
advertisement



Mime Type Trouble



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE