anyone who knows a website that
hosts .xhtml pages. I just need one
so I can upload my .xhtml pages so that
I can present my MathML assignment.
BTW. I just need a free host.
Thanks.
i need an xhtml web host to upload my .xhtml pages
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: i need an xhtml web host to upload my .xhtml pages
You don't need any special permission on any normal host to use whatever file extensions you'd like. If you have a host that allows only certain file extensions time to dump then and move on!
I'm not sure off hand if you use the same content-type as XHTML in general though if you are already executing PHP on the server you can just have PHP set the content-type headers as so...
Remember you can not set headers once any content has been sent so you'll want to setup your header file as the first to be included in your serverside templates.
I'm not sure off hand if you use the same content-type as XHTML in general though if you are already executing PHP on the server you can just have PHP set the content-type headers as so...
Code: Select all
<?php
header('Content-Type: application/xhtml+xml');
?>Re: i need an xhtml web host to upload my .xhtml pages
I think freehostia will allow this. You need to use addtype in your .htaccess file.koguee wrote:anyone who knows a website that
hosts .xhtml pages. I just need one
so I can upload my .xhtml pages so that
I can present my MathML assignment.
BTW. I just need a free host.
Thanks.
create a file called .htaccess and put this in it:
AddType text/html .xhtml
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: i need an xhtml web host to upload my .xhtml pages
thanks. i't try header thingy.
Re: i need an xhtml web host to upload my .xhtml pages
header doesn't work. it cannot recognize the
symbol <? for the xml tag.
____
tried freehostia and goes pretty nice.
thanks.
symbol <? for the xml tag.
____
tried freehostia and goes pretty nice.
thanks.
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: i need an xhtml web host to upload my .xhtml pages
Code: Select all
<?php
header('Content-Type: application/xhtml+xml');
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
?>