Check-in [baa05022e2]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Broke up main RewriteRule for readability and constraining subpage input. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
baa05022e2bef1af107410aff94dcc1b |
User & Date: | mario 2015-04-20 22:56:14 |
Context
2015-04-20
| ||
22:57 | Introduced "summary" field on /submit form. Currently .semi-visible because it's not displayed yet anywhere, and existing project entries need update first. check-in: cd58099048 user: mario tags: trunk | |
22:56 | Broke up main RewriteRule for readability and constraining subpage input. check-in: baa05022e2 user: mario tags: trunk | |
2015-04-15
| ||
15:13 | Prepared default filter for short project `summary` field. Limited to 200 chars in the DB, but just 160 for current usage. (Still needs UI/submit form integration anyway.) check-in: a1206e67e3 user: mario tags: trunk | |
Changes
Changes to .htaccess.
︙ | ︙ | |||
44 45 46 47 48 49 50 | #-- Temp disable #RewriteRule ^ error500.html [L] #-- Page dispatching | | | | > > > | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | #-- Temp disable #RewriteRule ^ error500.html [L] #-- Page dispatching RewriteRule ^index/?$ / [R=301,L] RewriteRule ^$ index.php?page=index [L,NS,QSA] RewriteRule ^(projects|submit|search|flag|feed|admin)\b/?(\w+(?:[-_]\w+)*(?:\.\w{1,7})?)?(?:\.(json|atom|rss))?/?$ index.php?page=$1&name=$2&ext=$3 [L,NS,QSA] RewriteRule ^(search|flag|names?|tags?|login|links|rc)(?:/(\w+)?)?$ index.php?page=$1&name=$2 [L,NS,QSA] RewriteRule ^(github-releases|launchpad-releases|drchangelog)/?$ index.php?page=$1 [L,NS,QSA] RewriteRule ^(ssl)/?$ index.php?page=$1 [L,NS,QSA] RewriteRule ^(url|go)/(\w+(?:[-_.]\w+)*)/(\w+)/?$ index.php?page=redir&name=$2&ext=$3 [L,NS,QSA] RewriteRule ^(forum|meta)\b/?(\w+)?/?$ page_forum.php?name=$2 [L,NS,QSA] #-- Deny direct invocations RewriteRule ^freshcode\.db.*$ - [F] RewriteRule ^\. - [F] RewriteCond %{ENV:REDIRECT_STATUS} !200 RewriteRule ^\w+\.php(|/.*)$ - [F,L,NS] #-- invalid resources RewriteRule ^favicon\.(png|ico|jpeg)$ http://freshcode.club/img/changes.png [R=301,L] |