[svlug] web address is 'application/x-trash'

Tony Hartzell hartzellt at charter.net
Fri Apr 13 21:31:12 PDT 2007

   Thanks a lot!...It turns out I put a file called TOC.html in that
directory. I renamed it & everything works fine now!
   I remember, years ago, telnetting to the site, port 80. but it never
occurred to me until your E-Mail
			Thanks again

-----Original Message-----
From: svlug-bounces+hartzellt=charter.net at lists.svlug.org
[mailto:svlug-bounces+hartzellt=charter.net at lists.svlug.org] On Behalf
Of Brian J. Tarricone
Sent: Friday, April 13, 2007 2:17 PM
To: svlug at lists.svlug.org
Subject: Re: [svlug] web address is 'application/x-trash'

On Fri, 13 Apr 2007 13:31:13 -0700 Tony Hartzell wrote:

>   I didn't do anything (that I'm aware of) with
> http://hartzellt.net/ ,
>but it was brought to my attention last week that when you try to bring
>up my page, Firefox responds with a pop-up that says 
>	Opening
>		You have chosen to open
>		which is a: application/x-trash
>		from http:/hartzellt.net
>	What should Firefox do with this file?
>   If I try opening the site with Konquerer, it says;
>	Open http://www.hartzellt.net?
>	Type: backup file
>I used to get a directory listing...does anybody know what's happened?
>			Tony Hartzell


$ telnet www.hartzellt.net 80
Connected to www.hartzellt.net.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.hartzellt.net:80
Connection: close

HTTP/1.1 200 OK
Date: Fri, 13 Apr 2007 21:13:31 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10
Content-Location: index.php.old.old
Vary: negotiate
TCN: choice
Last-Modified: Tue, 05 Sep 2006 04:54:16 GMT
ETag: "20e1ea-1dde-44fd02f8;461fe810"
Accept-Ranges: bytes
Content-Length: 7646
Connection: close
Content-Type: application/x-trash

[snip content]

It looks like your index page is getting redirected to a file called
'index.php.old.old' which some mime-type definition file somewhere
(perhaps /etc/mime.types on the server?) is serving as
application/x-trash.  Likely you just need to figure out why it isn't
just serving up index.php, fix that, and you'll be good to go.


svlug mailing list
svlug at lists.svlug.org

More information about the svlug mailing list