473,382 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Re file names and IE

Hi

when using the extension *.xhtml internet explorer refuses to load them
and simple gives the opeption to open or save, apache2 seems to be
passing through ok, mozzila loads them fine, and yes validates with
w3.org going through the same server
regards

Adrian

Oct 14 '05 #1
5 1515
adrian suri <as**************@tele2.se> wrote:
Re file names and IE
Don't prefix a subject of a new post with "Re".
when using the extension *.xhtml internet explorer refuses to load them
and simple gives the opeption to open or save, apache2 seems to be
passing through ok, mozzila loads them fine, and yes validates with
w3.org going through the same server


I'm going to assume that you didn't tell us this because you thought we
would like to know (we don't), but that you are in fact looking for the
reason and possibly a solution.

The noted IE behaviour typically occurs when the content is served with
the http header Content-Type: application/xhtml+xml

Had you posted the url we would have been able to check the mime type.
If you don't have a way to check the mime type you can use a web service
like http://web-sniffer.net/

If that is the reason then your web server is probably configured to
send out this mime type for files ending in ".xhtml". Change the server
configuration if you don't want that, or change the file "extension" to
htm or html.

--
Spartanicus
Oct 15 '05 #2
Hi Spartanicus
the reason I didn't post the url is that it is located on a "part-time"
server which is not always running, I'll try and keep it up at least for
today, the url is included in the out put bellow, neither firefox or moz
have any problems with this, but I will upload to a reomte server to see
if it makes any difference

GET / HTTP/1.1[CRLF]
Host: os2.no-ip.info[CRLF]
Connection: close[CRLF]
Accept-Encoding: gzip[CRLF]
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5[CRLF]
Accept-Language: sv,en-us;q=0.7,en;q=0.3[CRLF]
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7[CRLF]
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.7.12)
Gecko/20050922 Web-Sniffer/1.0.22[CRLF]
Referer: http://web-sniffer.net/[CRLF]
[CRLF]

it also gave it a responce header
HTTP Status Code: HTTP/1.1 200 OK
Date: Sat, 15 Oct 2005 09:30:46 GMT CRLF
Server: Apache/2.0.53 (OS/2) PHP/4.3.10 CRLF
Last-Modified: Fri, 14 Oct 2005 20:58:36 GMT CRLF
ETag: "0-791-1f01f700" CRLF
Accept-Ranges: bytes CRLF
Content-Length: 1937 CRLF
Connection: close CRLF
Content-Type: application/xhtml+xml

I cant see anything here to indicate a problem

regards

Adrian Suri
adrian suri <as**************@tele2.se> wrote:

Re file names and IE

Don't prefix a subject of a new post with "Re".

when using the extension *.xhtml internet explorer refuses to load them
and simple gives the opeption to open or save, apache2 seems to be
passing through ok, mozzila loads them fine, and yes validates with
w3.org going through the same server

I'm going to assume that you didn't tell us this because you thought we
would like to know (we don't), but that you are in fact looking for the
reason and possibly a solution.

The noted IE behaviour typically occurs when the content is served with
the http header Content-Type: application/xhtml+xml

Had you posted the url we would have been able to check the mime type.
If you don't have a way to check the mime type you can use a web service
like http://web-sniffer.net/

If that is the reason then your web server is probably configured to
send out this mime type for files ending in ".xhtml". Change the server
configuration if you don't want that, or change the file "extension" to
htm or html.

Oct 15 '05 #3
adrian suri <as**************@tele2.se> wrote:
Hi Spartanicus
Please don't top post here, snip quotes down to the bare minimum, put
your reply beneath it.
Content-Type: application/xhtml+xml

I cant see anything here to indicate a problem


This time read the explanation and advice previously given to you.

--
Spartanicus
Oct 15 '05 #4
JRS: In article <i2********************************@news.spartanic us.ut
vinternet.ie>, dated Sat, 15 Oct 2005 00:05:16, seen in news:comp.infosy
stems.www.authoring.html, Spartanicus <in*****@invalid.invalid> posted :
adrian suri <as**************@tele2.se> wrote:
Re file names and IE


Don't prefix a subject of a new post with "Re".


Nothing wrong with that; it is "Re: " that needs to be avoided.
RFC1036, Son-Of, RFC2822, and USEFOR drafts.

You should notice that my (notoriously standards-compliant) news
software has spurned the OP's mere "Re ".

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
Oct 15 '05 #5
On Sat, 15 Oct 2005 01:28:41 +0200, adrian suri
<as**************@tele2.se> wrote:
when using the extension *.xhtml internet explorer refuses to load them
and simple gives the opeption to open or save...


Patient to doctor;
Sir; when I bend my arm into this specific angle it hurts like hell.

Doctor to patient;
Well Sir; don't do that then.

Conclusion; don't try to bend the arm of IE into angels where it "hurts
like hell".

--
Rex
Oct 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joe Gazda | last post by:
I'm a relative newbie to PHP, but have been able to put together some PHP code to generate a CSV/XLS file from a Query result. Now, I would like to include custom column names instead of the MySQL...
6
by: Kevin T. Ryan | last post by:
Hi All - I'm not sure, but I'm wondering if this is a bug, or maybe (more likely) I'm misunderstanding something...see below: >>> f = open('testfile', 'w') >>> f.write('kevin\n') >>>...
3
by: Chris | last post by:
Hi, In C# I tried to save a file from a generated file name. Just before launching the dialog I check for a valid file name to be sure. There for I used the method ValidateNames from the save...
7
by: Petr Jakes | last post by:
I have got names of functions stored in the file. For the simplicity expect one row only with two function names: printFoo, printFOO In my code I would like to define functions and then to read...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
2
by: gonzo | last post by:
So I have a project where I'm supposed to have a .txt input file of no more than ten first names, last names and birth years, and than in a menu I'm to give the user some options as to how the...
8
by: OziRus | last post by:
Hi, I've char* array that I defined like char *str. I want to read from a file, that contains names in each row, and assign them to my str char * array. m is a char array, f is a file...
4
by: Jay | last post by:
What's the recommended way to change file/folder names within a project? I want to change the solution name from (say) sol1.sln to sol2.sln, and also everything else named sol1.* (eg sol1.suo,...
5
by: Steven D'Aprano | last post by:
After reading an earlier thread about opening and closing lots of files, I thought I'd do a little experiment. Suppose you have a whole lot of files, and you need to open each one, append a...
1
by: mujunshan | last post by:
Yesterday, I installed PythonCE on my cellphone whose OS is Windows Mobile 5.I wanted to use numpy as calculation tool.But after I copy numpy module in my desktop computer into my phone,I find many...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.