Ticket #115 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

broken links if TorStatus is not in the webroot

Reported by: martin Owned by: kasimir
Priority: minor Milestone: release_4.1
Component: web Version: 4.0
Keywords: Cc:

Description

3 links expect the TorStatussite? to run in the webroot.

Say, if you have stored your TorStatus website in /var/www/somedir/index.php and reach it by http://someip/somedir/, you get a 404 with these links as they expect the file to be in http://someip/FILE and not in http://someip/somedir/FILE:

  • whois.php, if you want to look up the useragents IP Adress in the box if or if not you appear to use Tor
  • LICENSE, in the footerText
  • CHANGES, in the footerText

Attachments

Change History

follow-up: ↓ 2   Changed 3 months ago by kasimir

  • status changed from new to assigned

Thanks for the ticket Martin! I have fixed those three, but before I close this ticket, would you mind and checking if all of the images and such work, assuming that you have it installed in a separate subdirectory? If you don't, just let me know and I'll go ahead and install TorStatus somewhere and see if it all works.

Thanks again for the ticket!

in reply to: ↑ 1   Changed 3 months ago by anonymous

I suspect that there are some more, I found this in my logfiles: 404 Not Found

/CHANGES: 4 Time(s) /LICENSE: 1 Time(s) /favicon.ico: 4 Time(s) /img/blank.gif: 24 Time(s) /img/graygradient.png: 43 Time(s) /img/middleboxgreengradient.png: 28 Time(s) /img/middleboxshadow.png: 28 Time(s) /img/notusingtor.png: 28 Time(s) /img/routerdown.png: 24 Time(s) /img/topbargradient.png: 43 Time(s)

Hope this helps, as I don't know where in the source these files are referenced ...

  Changed 3 months ago by kasimir

  • status changed from assigned to closed
  • resolution set to fixed

Hello Martin!

These errors should now be fixed, thanks for reporting this!

Add/Change #115 (broken links if TorStatus is not in the webroot)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.