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

Brian J. Tarricone bjt23 at cornell.edu
Fri Apr 13 14:16:39 PDT 2007

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.


More information about the svlug mailing list