Skip to content

Commit

Permalink
Merge pull request #227 from fecgov/feature/226-redirect-courtcase-pd…
Browse files Browse the repository at this point in the history
…f-with-spaces

www redirects for court case PDF filenames with spaces
  • Loading branch information
dorothyyeager authored Dec 23, 2020
2 parents fdef9a4 + ac8ab37 commit 3c87311
Showing 1 changed file with 60 additions and 1 deletion.
61 changes: 60 additions & 1 deletion redirects-www.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Redirect rules for specific pages

rewrite ^/legal-resources/court-cases/mcconnell-v-fec/02%20--%2002-1674&02-1675resptojs%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_jx_stmt.pdf redirect;
rewrite ^/resources/foia/foiareport2015.pdf https://www.fec.gov/resources/cms-content/documents/foiareport2015.pdf redirect;
rewrite ^/resources/foia/chieffoiareport2015.pdf https://www.fec.gov/resources/cms-content/documents/chieffoiareport2015.pdf redirect;
rewrite ^/resources/updates/agendas/2011/mtgdoc_1145.pdf https://www.fec.gov/resources/cms-content/documents/mtgdoc_1145.pdf redirect;
Expand Down Expand Up @@ -257,6 +256,66 @@ rewrite ^/resources/about-fec/reports/gifts-to-foreigners-fy2016-letter.pdf http
rewrite ^/resources/foia/chieffoiareport2016.pdf https://www.fec.gov/resources/cms-content/documents/chieffoiareport2016.pdf redirect;
rewrite ^/resources/foia/chieffoiareport2017.pdf https://www.fec.gov/resources/cms-content/documents/chieffoiareport2017.pdf redirect;

# Redirects for /resources/legal-resources/litigation/
rewrite ^/resources/legal-resources/litigation/01%20--%2002-1674jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mcconnell_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/03%20--%2002-1674replytojurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mcconnell_reply_supp_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/04%20--%2002-1674brief(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mcconnell_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/05%20--%2002-1674_fec_brief(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_fec_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/06%20--%2002-1674rbef(mcconnell)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mcconnell_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/07%20--%2002-1675jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nra_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/09%20--%2002-1675brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nra_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/10%20--%2002-1675replybrief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nra_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/11%20--%2002-1676jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_fec_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/12%20--%2002-1676_echols_merits(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_echols_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/13%20--%2002-1676rbrief-echols(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_echols_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/14%20--%2002-1702jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mccain_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/15%20--%20merbrredacted-final02-1702%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_mccain_brief_redacted.pdf redirect;
rewrite ^/resources/legal-resources/litigation/16%20--%2002-1727jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_rnc_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/18%20--%2002-1727,02-1733,02-1753briefs%20(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_rnc_brief_parties.pdf redirect;
rewrite ^/resources/legal-resources/litigation/19%20--%2002-1727reply_brief_merits%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_rnc_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/20%20--%2002-1733jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nrl_jx_stmnt.pdf redirect;
rewrite ^/legal-resources/court-cases/mcconnell-v-fec/21%20--%2002-1727&02-1733resptojs%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nrl_resp_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/22%20--%2002-1733_brief_(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nrl_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/23%20--%2002-1733reply_brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_nrl_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/24%20---%2002-1734jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aclu_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/26%20--%2002-1734briefmerits%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aclu_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/27%20--%2002-1734rbriefmerits%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aclu_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/28%20--%2002-1740jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_adams_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/29%20--%2002-1740merits-brief-final%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_adams_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/30%20--%2002-1740reply-brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_adams_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/31%20--%2002-1747jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_paul_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/32%20--%20paul_brief_02-1747(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_paul_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/33%20--%2002-1747reply_brief(final)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_paul_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/34%20--%2002-1753jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_cadems_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/35%20--%2002-1755jurisstl%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aflcio_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/37%20--%2002-1755brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aflcio_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/38%20--%2002-1755reply_brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aflcio_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/39%20--%2002-1756jurisst%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_commerce_jx_stmnt.pdf redirect;
rewrite ^/resources/legal-resources/litigation/41%20--%2002-1756merits-brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_commerce_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/42%20--%2002-1756reply-brief%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_commerce_reply_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/43%20--%20amcur-cato-inst(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_cato_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/44%20--%20amcur-states-of-va-et-al(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_va_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/45%20--%20amcur-rodney-a-smith(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_smith_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/46%20--%20amcur-amciv-rights-union(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_acru_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/47%20--%20amcur_j_dennis_hastert(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_hastert_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/48%20---%20amicus-moshman%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_moshman_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/49%20--%20amcur_ctr_for_govt_studies(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_cgs_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/50%20--%20amcur_international_experts(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_intl_experts_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/51%20--%20amcur_interfaith_alliance(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_interfaith_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/52%20--%20amcur_fred_thompson(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_thompson_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/53%20--%20cur_common_cause_and_aarp(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_common_cause_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/54%20--%20amcur_center_for_responsive_politics(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_crp_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/55%20--%20amcur_league_of_women_voters(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_lwv_amicus_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/56%20--%20amcur_aclu(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_aclu_leaders_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/57%20--%20amcur_ca_student_pub_int(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_ca_students_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/58%20--%20amcur_comm_for_economic_dev(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_ced_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/59%20--%20amcur_bipartisan_frmr_mem_usc(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_frm_congress_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/60%20--%20amcur_iowa(02-1674)%5B1%5D.pdf https://www.fec.gov/resources/legal-resources/litigation/mcconnell_iowa_amici_brief.pdf redirect;
rewrite ^/resources/legal-resources/litigation/citizens_united_sc_08_%20ameindbizalliance.pdf https://www.fec.gov/resources/legal-resources/litigation/citizens_united_sc_08_ameindbizalliance.pdf redirect;
rewrite ^/resources/legal-resources/litigation/citizens_united_sc_08_%20bsac_publicgood.pdf https://www.fec.gov/resources/legal-resources/litigation/citizens_united_sc_08_bsac_publicgood.pdf redirect;
rewrite ^/resources/legal-resources/litigation/epstein_epstein_memo%20_of_pts_auth_opp_msj.pdf https://www.fec.gov/resources/legal-resources/litigation/epstein_epstein_memo_of_pts_auth_opp_msj.pdf redirect;
rewrite ^/resources/legal-resources/litigation/odonnell_crew_%20amicus.pdf https://www.fec.gov/resources/legal-resources/litigation/odonnell_crew_amicus.pdf redirect;

# This section is for broader redirects
rewrite ^/pubrec/fe2020/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2018/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
Expand Down

0 comments on commit 3c87311

Please sign in to comment.