Check-in [e98c1f377a]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Addition of redir/ script for obfuscated URLs (not sure if needed though). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e98c1f377ae47ddef9aa8642d5c366ed |
User & Date: | mario 2014-12-29 14:11:37 |
Context
2015-01-08
| ||
15:55 | COLLATE NOCASE for version_exists() check check-in: 3886be7986 user: mario tags: trunk | |
2014-12-29
| ||
14:11 | Addition of redir/ script for obfuscated URLs (not sure if needed though). check-in: e98c1f377a user: mario tags: trunk | |
14:10 | Addition of gtkapps, kdeapps, qtapps, cliapps to feed list. check-in: 20f04cf33d user: mario tags: trunk | |
Changes
Changes to .htaccess.
︙ | ︙ | |||
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | RewriteRule ^projects/([\w-_]+)/urls\.json$ index.php?page=api&name=$1&api=urls [L,NS,QSA] #-- Page dispatching RewriteRule ^index/?$ / [R=301,L] RewriteRule ^$ index.php?page=index [L,NS,QSA] RewriteRule ^(projects|submit|search|flag|names?|tags?|feed|login|links|rc|admin|github-releases|drchangelog)\b/?(\w+(?:[-_]\w+)*(?:\.\w{2,7})?)?(?:\.(json|atom|rss))?/?$ index.php?page=$1&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] | > | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | RewriteRule ^projects/([\w-_]+)/urls\.json$ index.php?page=api&name=$1&api=urls [L,NS,QSA] #-- Page dispatching RewriteRule ^index/?$ / [R=301,L] RewriteRule ^$ index.php?page=index [L,NS,QSA] RewriteRule ^(projects|submit|search|flag|names?|tags?|feed|login|links|rc|admin|github-releases|drchangelog)\b/?(\w+(?:[-_]\w+)*(?:\.\w{2,7})?)?(?:\.(json|atom|rss))?/?$ index.php?page=$1&name=$2&ext=$3 [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] |
Changes to index.php.
︙ | ︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41 | case "links": case "tags": case "search": case "rc": case "drchangelog": case "githubreleases": case "login": include("page_$page.php"); break; case "forum": case "meta": include("page_forum.php"); break; | > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | case "links": case "tags": case "search": case "rc": case "drchangelog": case "githubreleases": case "login": case "redir": include("page_$page.php"); break; case "forum": case "meta": include("page_forum.php"); break; |
︙ | ︙ |