-
Notifications
You must be signed in to change notification settings - Fork 8
Wuild/TorrentCaching
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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;About
Opensource torrent caching system
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published