[tor-bugs] #2056 [Company]: metrics apache config

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 13 08:47:28 UTC 2010


#2056: metrics apache config
---------------------+------------------------------------------------------
 Reporter:  weasel   |       Owner:  weasel      
     Type:  defect   |      Status:  needs_review
 Priority:  normal   |   Milestone:              
Component:  Company  |     Version:              
 Keywords:           |      Parent:              
---------------------+------------------------------------------------------
Changes (by weasel):

  * status:  new => needs_review


Comment:

 > 1. Apache shouldn't answer requests to /graphs/* anymore, but Tomcat
 > should answer these. The other redirects can remain the same.

 done.

 > 2. Apache should set the MIME type for files in /csv/* to
 > text/comma-separated-values or whatever is appropriate so that browsers
 > display them as text files. If it's simpler to configure, Apache can set
 > the MIME type for all files ending in .csv to that MIME type.

 It already sends the correct content type:
 | weasel at evi:~$ wget --no-check-certificate -S
 https://metrics.torproject.org/csv/exit.csv
 ...
 |   HTTP/1.1 200 OK
 |   Date: Wed, 13 Oct 2010 08:43:45 GMT
 |   Server: Apache
 |   Last-Modified: Wed, 13 Oct 2010 06:45:04 GMT
 |   ETag: "2cda857-82b1-49279eeec3c00"
 |   Accept-Ranges: bytes
 |   Content-Length: 33457
 |   Keep-Alive: timeout=15, max=100
 |   Connection: Keep-Alive
 |   Content-Type: text/csv
 ^^^^^^^^^^^^^^^^^^^^^^^^^^
 | Length: 33457 (33K) [text/csv]

 Whether or not browsers open that in the browser is a local config issue.
 Also see https://addons.mozilla.org/en-US/firefox/addon/8207/

 Cheers,

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2056#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list