Actions
Pligg » History » Revision 2
« Previous |
Revision 2/5
(diff)
| Next »
CyberCr33p, 2009-07-06 21:31
Here are the rewrites for Pligg CMS version 1.0:
url.rewrite-once= ( "^/phpmyadmin.*" => "$0", "^/webmail.*" => "$0", "^/awstats.*" => "$0", "^//?$" => "/index.php", "^/advanced-search/?$" => "/advancedsearch.php", "^/cache/([0-9]+)/?$" => "/index.php", "^/cache/admin_c([0-9]+)/?$" => "/index.php", "^/cache/templates_c/([0-9]+)/?$" => "/index.php", "^/category/([^/]+)/?$" => "/index.php?category=$1", "^/category/([^/]+)/([^/]+)/?$" => "/story.php?title=$2", "^/live/?$" => "/live.php", "^/login/?$" => "/login.php", "^/login/([a-zA-Z0-9-]+)/?$" => "/login.php?return=$1", "^/login/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$" => "/login.php?return=$1/$2", "^/logout/?$" => "/login.php?op=logout&return=index.php", "^/logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$" => "/login.php?op=logout&return=$1/$2", "^/out/([\d]+)/?$" => "/out.php?id=$1", "^/out/(https?:.+)$" => "/out.php?url=$1", "^/out/([^/]+)/?$" => "/out.php?title=$1", "^/profile/?$" => "/profile.php", "^/recommend/([a-zA-Z0-9-]+)/?$" => "/recommend.php?id=$1", "^/register/?$" => "/register.php", "^/search/([^/]+)/page/(\d+)/?$" => "/search.php?search=$1&page=$2", "^/search/(.+)/?$" => "/search.php?search=$1", "^/searchurl/(.+)/?$" => "/search.php?url=$1", "^/settemplate/?$" => "/settemplate.php", "^/story/([0-9]+)/?$" => "/story.php?id=$1", "^/story/([^/]+)/?$" => "/story.php?title=$1", "^/story/([0-9]+)/editcomment/([0-9]+)/?$" => "/edit.php?id=$1&commentid=$2", "^/story/([0-9]+)/edit/?$" => "/editlink.php?id=$1", "^/submit/?$" => "/submit.php", "^/tag/(.+)/(.+)/?$" => "/search.php?search=$1&tag=true&from=$2", "^/tag/(.+)/?$" => "/search.php?search=$1&tag=true", "^/tagcloud/?$" => "/cloud.php", "^/tagcloud/range/([0-9]+)/?$" => "/cloud.php?range=$1", "^/topusers/?$" => "/topusers.php", "^/trackback/([0-9]+)/?$" => "/trackback.php?id=$1", "^/upcoming/?$" => "/upcoming.php", "^/upcoming/category/([^/]+)/?$" => "/upcoming.php?category=$1", "^/upcoming/category/([^/]+)/page/(\d+)/?$" => "/upcoming.php?category=$1&page=$2", #"^/upcoming/([^/]+)/?$" => "/upcoming.php?part=$1", "^/upcoming/([^/]+)/category/([^/]+)/?$" => "/upcoming.php?part=$1&category=$2", "^/upcoming/page/([0-9]+)/?$" => "/upcoming.php?page=$1", #"^/upcoming/([^/]+)/page/(\d+)/?$" => "/upcoming.php?part=$1&page=$2", "^/upcoming/([^/]+)/category/([^/]+)/page/(\d+)/?$" => "/upcoming.php?part=$1&category=$2&page=$3", "^/user/?$" => "/user.php", "^/user/search/([^/]+)/?$" => "/user.php?view=search&keyword=$1", "^/user/([a-zA-Z0-9-]+)/?$" => "/user.php?view=$1", "^/user/([a-zA-Z0-9+]+)/([a-zA-Z0-9+]+)/?$" => "/user.php?view=$1&login=$2", "^/user/([a-zA-Z-]+)/link/([0-9+]+)/?$" => "/user_add_remove_links.php?action=$1&link=$2", "^/admin/?$" => "/admin/admin_index.php", "^/admin_comments/page/([^/]+)/?$" => "/admin/admin_comments.php?page=$1", "^/admin_links/page/([^/]+)/?$" => "/admin/admin_links.php?page=$1", "^/admin_users/page/([^/]+)/?$" => "/admin/admin_users.php?page=$1", "^/story/([0-9]+)/modify/([a-z]+)/?$" => "/admin/linkadmin.php?id=$1&action=$2", "^/view/([^/]+)/?$" => "/admin/admin_users.php?mode=view&user=$1", "^/groups/?$" => "/groups.php", "^/groups/submit/?$" => "/submit_groups.php", #"^/groups/([a-zA-Z0-9_-]+)/?$" => "/group_story.php?title=$1", "^/groups/([a-zA-Z0-9_-]+)/page/([0-9]+)?$" => "/group_story.php?title=$1&page=$2", "^/groups/([a-zA-Z0-9_-]+)/?$" => "/group_story.php?title=$1&view=published", "^/groups/([a-zA-Z0-9_-]+)/(published|upcoming|shared|members)/?$" => "/group_story.php?title=$1&view=$2", "^/groups/([a-zA-Z0-9_-]+)/(published|upcoming|shared|members)/page/([0-9]+)?$" => "/group_story.php?title=$1&view=$2&page=$3", "^/groups/([a-zA-Z0-9_-]+)/(published|upcoming|shared|members)/category/([^/]+)/?$" => "/group_story.php?title=$1&view=$2&category=$3", "^/groups/([a-zA-Z0-9_-]+)/(published|upcoming|shared|members)/category/([^/]+)/page/([0-9]+)?$" => "/group_story.php?title=$1&view=$2&category=$3&page=$4", "^/groups/delete/([0-9]+)/?$" => "/deletegroup.php?id=$1", "^/groups/edit/([0-9]+)/?$" => "/editgroup.php?id=$1", "^/groups/id/([0-9]+)/?$" => "/group_story.php?id=$1", "^/groups/join/([0-9]+)/?" => "/join_group.php?id=$1&join=true", "^/groups/member/admin/id/([0-9]+)/role/([a-zA-Z0-9_-]+)/userid/([0-9]+)/?$" => "/groupadmin.php?id=$1&role=admin&userid=$3", "^/groups/member/normal/id/([0-9]+)/role/([a-zA-Z0-9_-]+)/userid/([0-9]+)/?$" => "/groupadmin.php?id=$1&role=normal&userid=$3", "^/groups/member/moderator/([0-9]+)/role/([a-zA-Z0-9_-]+)/userid/([0-9]+)/?$" => "/groupadmin.php?id=$1&role=$2&userid=$3", "^/groups/member/flagged/([0-9]+)/role/([a-zA-Z0-9_-]+)/userid/([0-9]+)/?$" => "/groupadmin.php?id=$1&role=flagged&userid=$3", "^/groups/member/banned/id/([0-9]+)/role/([a-zA-Z0-9_-]+)/userid/([0-9]+)/?$" => "/groupadmin.php?id=$1&role=banned&userid=$3", "^/groups/page/([0-9]+)/?$" => "/groups.php?page=$1", "^/groups/unjoin/([0-9]+)/([a-zA-Z0-9-]+)/?$" => "/join_group.php?id=$1&privacy=$2&join=false", "^/groups/withdraw/([0-9]+)/user_id/([0-9]+)/?$" => "/join_group.php?group_id=$1&user_id=$2&activate=withdraw", "^/join_group/action/(published|queued|discard)/link/(\d+)/?$" => "/join_group.php?action=$1&link=$2", "^/comments/?$" => "/live_comments.php", "^/comments/page/([^/]+)/?$" => "/live_comments.php?page=$1", "^/live_published/?$" => "/live_published.php", "^/published/page/([^/]+)/?$" => "/live_published.php?page=$1", "^/unpublished/?$" => "/live_unpublished.php", "^/unpublished/page/([^/]+)/?$" => "/live_unpublished.php?page=$1", "^/inbox/?$" => "/module.php?module=simple_messaging&view=inbox", "^/sitemapindex.xml" => "/module.php?module=xml_sitemaps_show_sitemap", "^/sitemap-([a-zA-Z0-9]+).xml" => "/module.php?module=xml_sitemaps_show_sitemap&i=$1", "^/about/?$" => "/page.php?page=about", "^/static/([^/]+)/?$" => "/page.php?page=$1", "^/category/([^/]+)/page/([^/]+)/?$" => "/index.php?category=$1&page=$2", "^/page/([^/]+)/?$" => "/index.php?page=$1", "^/page/([^/]+)/([^/]+)category/([^/]+)/?$" => "/index.php?page=$1&part=$2&category=$3", #"^/published/page/([^/]+)/?$" => "/index.php?page=$1", "^/published/page/([^/]+)/category/([^/]+)/?$" => "/index.php?page=$1&category=$2", "^/published/page/([^/]+)/([^/]+)category/([^/]+)/?$" => "/index.php?page=$1&part=$2&category=$3", #"^/published/page/([^/]+)/([^/]+)/?$" => "/index.php?page=$1&part=$2", "^/published/page/([^/]+)/range/([^/]+)/?$" => "/?page=$1&range=$2", "^/search/page/([^/]+)/([^/]+)/?$" => "/search.php?page=$1&search=$2", "^/topusers/page/([^/]+)/?$" => "/topusers.php?page=$1", "^/topusers/page/([^/]+)/sortby/([^/]+)?$" => "/topusers.php?page=$1&sortby=$2", "^/user/page/([^/]+)/([^/]+)/([^/]+)/?$" => "/user.php?page=$1&view=$2&login=$3", "^/user/([^/]+)/([^/]+)/page/(\d+)/?$" => "/user.php?page=$3&view=$1&login=$2", "^/(year|month|week|today|yesterday|recent)/?$" => "/index.php?part=$1", "^/(year|month|week|today|yesterday|recent)/category/([^/]+)/?$" => "/index.php?part=$1&category=$2", "^/(year|month|week|today|yesterday|recent)/page/(\d+)/?$" => "/index.php?part=$1&page=$2", "^/(year|month|week|today|yesterday|recent)/category/([^/]+)/page/(\d+)/?$" => "/index.php?part=$1&category=$2&page=$3", "^/([^/]+)/rss/?$" => "/storyrss.php?title=$1", "^/rss/?$" => "/rss.php", "^/rss/([a-zA-Z0-9-]+)/?$" => "/rss.php?status=$1", "^/rss/category/([^/]+)/?$" => "/rss.php?category=$1", "^/rss/category/upcoming/([^/]+)/?$" => "/rss.php?status=queued&category=$1", "^/rss/category/published/([^/]+)/?$" => "/rss.php?status=published&category=$1", "^/rss/category/([^/]+)/queued/?$" => "/rss.php?status=queued&category=$1", "^/rss/category/([^/]+)/published/?$" => "/rss.php?status=published&category=$1", "^/rss/category/([^/]+)/group/([a-zA-Z0-9_-]+)/?$" => "/rss.php?category=$1&group=$2", "^/rss/category/upcoming/([^/]+)/([a-zA-Z0-9_-]+)/?$" => "/rss.php?status=queued&category=$1&group=$2", "^/rss/category/published/([^/]+)/([a-zA-Z0-9_-]+)/?$" => "/rss.php?status=published&category=$1&group=$2", "^/rss/search/([a-zA-Z0-9-]+)/?$" => "/rss.php?search=$1", "^/rss/user/([a-zA-Z0-9-]+)/?$" => "/userrss.php?user=$1", "^/rss/user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$" => "/userrss.php?user=$1&status=$2", "^/rssfeeds/?$" => "/rssfeeds.php", "^/upcoming/([^/]+)/?$" => "/upcoming.php?category=$1", "^/upcoming/([^/]+)/page/(\d+)/?$" => "/upcoming.php?category=$1&page=$2", "^/upcoming/(year|month|week|today|yesterday|recent)/([^/]+)/?$" => "/upcoming.php?part=$1&category=$2", "^/upcoming/(year|month|week|today|yesterday|recent)/([^/]+)/page/(\d+)/?$" => "/upcoming.php?part=$1&category=$2&page=$3", "^/published/page/([^/]+)/([^/]+)/?$" => "/index.php?page=$1&category=$2", "^/published/page/([^/]+)/([^/]+)/([^/]+)/?$" => "/index.php?page=$1&part=$2&category=$3", "^/(year|month|week|today|yesterday|recent)/([^/]+)/?$" => "/index.php?part=$1&category=$2", "^/(year|month|week|today|yesterday|recent)/([^/]+)/page/(\d+)/?$" => "/index.php?part=$1&category=$2&page=$3", "^/user/view/([a-zA-Z0-9-]+)/?$" => "/user.php?view=$1", "^/user/view/([a-zA-Z0-9+]+)/([a-zA-Z0-9+]+)/?$" => "/user.php?view=$1&login=$2", "^/user/view/([a-zA-Z0-9+]+)/login/([a-zA-Z0-9+]+)/?$" => "/user.php?view=$1&login=$2", "^/published/([a-zA-Z0-9-]+)/?$" => "/index.php?part=$1", "^/published/([a-zA-Z0-9-]+)/category/([a-zA-Z0-9_-]+)/?$" => "/index.php?part=$1&category=$2", "^/about/([a-zA-Z0-9-]+)/?$" => "/page.php?page=about", "^/upcoming/page/([^/]+)/category/([^/]+)/?$" => "/upcoming.php?page=$1&category=$2", "^/upcoming/page/([^/]+)/upcoming=([^/]+)category/([^/]+)/?$" => "/upcoming.php?page=$1&part=upcoming&order=$2&category=$3", "^/statistics/page/([^/]+)/?$" => "/module.php?module=pagestatistics&page=$1", #"^/(.*)" => "/$1.php", "^/.*\.php" => "$0", "^/([^/]+)/?$" => "/index.php?category=$1", "^/([^/]+)/page/([^/]+)/?$" => "/index.php?category=$1&page=$2", "^/([^/]+)/([^/]+)/?$" => "/story.php?title=$2" )
If you find a bug let me know ( chris [at] cretaforce.gr )
Updated by CyberCr33p over 15 years ago · 2 revisions