SkillAgentSearch skills...

TorrentCaching

Opensource torrent caching system

Install / Use

/learn @Wuild/TorrentCaching
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Apache rewrite rules

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .* - [L]

RewriteRule ^(torrent|text|link)?/?([0-F]{40})(.torrent)?/?$ index.php?link_type=$1&infohash=$2 [NC,QSA,L] RewriteRule ^([_A-Za-z0-9-]+)/?$ index.php?page_url=$1 [NC,QSA,L] RewriteRule ^([_A-Za-z0-9-]+)/([_A-Za-z0-9-]+)/?$ index.php?page_url=$1&page_action=$2 [NC,QSA,L]

nginx rewrite rules

rewrite "^/(torrent|text|link)?/?([0-F]{40})(.torrent)?$" /index.php?link_type=$1&infohash=$2 last; rewrite ^/([_A-Za-z0-9-]+)/?$ /index.php?page_url=$1 last; rewrite ^/([_A-Za-z0-9-]+)/([_A-Za-z0-9-]+)/?$ /index.php?page_url=$1&page_action=$2 last;

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated7y ago
Forks8

Languages

PHP

Security Score

60/100

Audited on May 13, 2018

No findings