Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#32446 closed defect (fixed)

Design Document Link Broken

Reported by: Cad_Aeibfed Owned by:
Priority: Medium Milestone:
Component: Webpages Version:
Severity: Normal Keywords:
Cc: ggus, anarcat Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Child Tickets

Change History (4)

comment:1 Changed 2 months ago by arma

Cc: anarcat added

Shoot, you're right. We moved the files over but we broke the rewriterule that would retain the links correctly.

anarcat, I just changed /etc/apache2/sites-available/svn.torproject.org on gayi from

RewriteRule ^/svn https://svn-archive.torproject.org/svn [L,R=307]

to

RewriteRule ^/svn/projects/articles/(.*)$ https://svn-archive.torproject.org/svn/projects/articles/$1 [L,R=307]
RewriteRule ^/svn/projects/design-paper/(.*)$ https://svn-archive.torproject.org/svn/projects/design-paper/$1 [L,R=307]
RewriteRule ^/svn/projects/presentations/(.*)$ https://svn-archive.torproject.org/svn/projects/presentations/$1 [L,R=307]
RewriteRule ^/svn/projects/roadmaps/(.*)$ https://svn-archive.torproject.org/svn/projects/roadmaps/$1 [L,R=307]
RewriteRule ^/svn https://svn-archive.torproject.org/svn [L,R=307]

and it looks like it now does what we want.

Cad_Aeibfed, if you can confirm it works for you too now, I'll close the ticket.

comment:2 Changed 2 months ago by anarcat

weird, so i screwed up the rewrite rules.. maybe this would have been better:

RewriteRule ^/svn/(.*)$ https://svn-archive.torproject.org/svn/$1 [L,R=307]

comment:3 Changed 2 months ago by anarcat

Resolution: fixed
Status: newclosed

i deployed that change, and it seems the links still work, closing. reopen if you still see problems.

comment:4 Changed 2 months ago by anarcat

i reverted back to arma's configuration. i misunderstood how it worked and it seems that the configuration i put gave more 404s than arma's...

Note: See TracTickets for help on using tickets.