Re: xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 25 March 2008 09:55:16 Melanie Pfefer wrote:
> the page property is Firefox Document (should be xml
> document)

I'm not sure what you mean by the "page property". Have you looked at the
HTTP response headers to see what's actually being sent down to your system?
If you just ask the browser or the operating system "what kind of file", you
are likely to get an answer that depends more on the file association settings
in your workstation rather than what the server is actually sending.

If you run Linux or have access to a Linux machine, try something like this,
but with your own URL:

$ wget -S -O /dev/null http://www.apache.org/

--10:04:06--  http://www.apache.org/
           => `/dev/null'
Resolving www.apache.org... 140.211.11.130
Connecting to www.apache.org|140.211.11.130|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Tue, 25 Mar 2008 14:04:02 GMT
  Server: Apache/2.2.8 (Unix)
  Last-Modified: Mon, 17 Mar 2008 22:48:46 GMT
  ETag: "14f34f3-4613-448a9d28d6f80"
  Accept-Ranges: bytes
  Content-Length: 17939
  Cache-Control: max-age=86400
  Expires: Wed, 26 Mar 2008 14:04:02 GMT
  Vary: Accept-Encoding
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html
Length: 17,939 (18K) [text/html]

The Content-Type header at the end tells you what the server is sending,
independent of what your workstation's o.s. is configured to do with it.

Kind regards,

Scott

-- 
-----------------------------------------------------------------------------
Scott D. COURTNEY, Principal Engineer                  Sine Nomine Associates
scourtney@xxxxxxxxxxxxxx                           http://www.sinenomine.net/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux