Thursday, March 5, 2009

Setup apache to serve xml files.

Apache by default is configured to serve html files, if you want to setup Apache to serve other files then you have to edit the "httpd.conf" file. This file is usually located in your apache installation folder conf directory, open the file using notepad search for the following tag "<IfModule mime_module>" within this tag you have to tell apache to serve other content types, you have to add the new type that you want to publish with the following values

    AddType application/xhtml+xml .xhtml .xml

    AddEncoding xhtml xml

The first variable defines the type of media and the second tell the encoding that you want to use, this will instruct the browser to handle these media types respectively. For a list of registered media types see here.


10 comments:

  1. The XML file extension similar to the HTML extension represents a XML web file. XML files are shown on the Internet; however they can also be saved on a computer and displayed as documents. Take a look: xml file

    ReplyDelete
  2. What’s up to every one, as I am in fact eager of reading this web site’s post to be updated regularly. It includes nice stuff.
    SEO in Toronto

    ReplyDelete
  3. Such are in fact cool YouTube movies, its my luck to go to see this web page and finding these awesome YouTube movies.League of Legends Boosting

    ReplyDelete
  4. I acknowledge there are various more pleasurable open entryways ahead for individuals that looked site.Boosting lol

    ReplyDelete
  5. Basically wish to say your article is as stunning. The clarity in your post is essentially exceptional and i could expect you are an authority on this subject. Well with your agree let me to grab your RSS channel to keep redesigned with foreseen post. You shake and please keep up the wonderful work.Server Hosting Singapore

    ReplyDelete
  6. Impressive! The content found on this blog is really amazing, I'll be browsing around more! By the way, if you need to register a business, I know the best singapore company incorporation consultant! register a business immediately!

    ReplyDelete
  7. Superb I like it and I'll also start blogging as you guys are doing. Keep it up the wonderful works. Thanks guys.

    delhi escorts

    http://blog.jaskaur.in/

    Noida escorts
    Call girls in Delhi
    Delhi Russian Escorts
    Aerocity escorts
    Mahipalpur escorts
    Karol Bagh escort

    ReplyDelete
  8. I found original and great huge content here. I never saw this kind of information, thanks you man.

    female escorts in mumbai

    mumbai escorts

    ReplyDelete
  9. Looking for independent escorts in Delhi, VIP escorts in Delhi, Escorts in Delhi contact us for best Delhi high profile escort services with 5 star hotel facilities.Here, girls from all walks of life Here, Delhi Female escort girls provide you with the perfect body.

    High Profile Escorts in Delhi

    Independent Escorts in Delhi

    VIP Escorts in Delhi

    Independent Escorts in Delhi

    Escorts in Delhi

    ReplyDelete
  10. Hey, I'm Saachi Arora top of the line Delhi's fruitful friend to travel or appreciate with. I am a previous underwear VIP model and healer. I am liberal, tasteful, all around voyaged, very taught and normally delightful body and pretty face. Vast almond shape dark - hazel eyes, full normal appealing lips and shocking grin alongside a warm, fun, energetic and neighbourly identity. I am sufficient to be your fantasy young VIP Escorts In Delhi lady. So select me and pick my valuable fellowship. Trust me you will invest vital energy with me. Outcall-Incall escort administration in Delhi city.
    Vip Escorts In Delhi
    High Profile Escorts In Delhi
    Independent Escorts In Delhi
    Vip Escorts In Delhi
    High Profile Escorts In Delhi
    Independent Escorts In Delhi
    Vip Escorts In Delhi
    High Profile Escorts In Delhi
    Independent Escorts In Delhi
    Vip Escorts In Delhi
    High Profile Escorts In Delhi
    Independent Escorts in Delhi

    ReplyDelete