root/releases/0.301/.htaccess

Revision 11, 2.1 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.301

Line 
1 RewriteEngine on
2 Options +FollowSymLinks
3
4 RewriteRule ^([0-9\-]+)\.css$ _templates/css.php?template=$1
5
6 RewriteRule ^([A-Za-z0-9]+)(\/)?$ profile/index.php?profile_name=$1
7 RewriteRule ^([A-Za-z0-9]+)\/tags(\/)?$ search/personaltags.php?profile_name=$1
8 RewriteRule ^([A-Za-z0-9]+)\/rss\/?$ profile/rss2.php?profile_name=$1
9 RewriteRule ^([A-Za-z0-9]+)\/rss\/(.*) profile/rss2.php?profile_name=$1&tag=$2
10
11 RewriteRule ^([A-Za-z0-9]+)\/weblog\/?$ _weblog/index.php?weblog_name=$1
12 ReWriteRule ^([A-Za-z0-9]+)\/weblog\/skip=([0-9]+)$ _weblog/index.php?weblog_name=$1&weblog_offset=$2
13 RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/?$ _weblog/archive.php?weblog_name=$1
14 RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/([0-9]+)\/([0-9]+)\/?$ _weblog/archive_month.php?weblog_name=$1&year=$2&month=$3
15 RewriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/?$ _weblog/friends.php?weblog_name=$1
16 ReWriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/skip=([0-9]+)$ _weblog/friends.php?weblog_name=$1&weblog_offset=$2
17 RewriteRule ^([A-Za-z0-9]+)\/weblog\/rss\/?$ _weblog/rss2.php?weblog_name=$1
18 RewriteRule ^([A-Za-z0-9]+)\/weblog\/rss\/(.*) _weblog/rss2.php?weblog_name=$1&tag=$2
19 RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html$ _weblog/view_post.php?post=$1
20
21 RewriteRule ^tag\/(.+)$ search/all.php?tag=$1
22 RewriteRule ^tag\/(.+)/rss\/?$ search/rss.php?tag=$1
23 RewriteRule ^tag\/(.+)/ecl\/?$ search/ecl.php?tag=$1
24
25 RewriteRule ^([A-Za-z0-9]+)\/friends\/?$ _friends/index.php?friends_name=$1
26 RewriteRule ^([A-Za-z0-9]+)\/foaf\/?$ _friends/foaf.php?friends_name=$1
27
28 RewriteRule ^([A-Za-z0-9]+)\/communities\/?$ _communities/index.php?friends_name=$1
29 RewriteRule ^community\/([0-9]+)\/?$ _communities/community.php?community_id=$1
30
31 RewriteRule ^([A-Za-z0-9]+)\/files\/?$ _files/index.php?files_name=$1
32 RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ _files/index.php?files_name=$1&folder=$2
33 RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$ _files/download.php?files_name=$1&folder=$2&filename=$4&id=$3
34 RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/?$ _files/rss2.php?files_name=$1
35 RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.*) _files/rss2.php?files_name=$1&tag=$2
Note: See TracBrowser for help on using the browser.