root/releases/0.1.2a/.htaccess

Revision 7, 2.0 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.1.2a

Line 
1 Options +FollowSymLinks
2 RewriteEngine on
3 RewriteBase /
4
5 RewriteRule ^([0-9\-]+)\.css$ _templates/css.php?template=$1
6
7 RewriteRule ^([A-Za-z0-9]+)(\/)?$ profile/index.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
24 RewriteRule ^([A-Za-z0-9]+)\/friends\/?$ _friends/index.php?friends_name=$1
25 RewriteRule ^([A-Za-z0-9]+)\/foaf\/?$ _friends/foaf.php?friends_name=$1
26
27 RewriteRule ^([A-Za-z0-9]+)\/communities\/?$ _communities/index.php?friends_name=$1
28 RewriteRule ^community\/([0-9]+)\/?$ _communities/community.php?community_id=$1
29
30 RewriteRule ^([A-Za-z0-9]+)\/files\/?$ _files/index.php?files_name=$1
31 RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ _files/index.php?files_name=$1&folder=$2
32 RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$ _files/download.php?files_name=$1&folder=$2&filename=$4&id=$3
33 RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/?$ _files/rss2.php?files_name=$1
34 RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.*) _files/rss2.php?files_name=$1&tag=$2
Note: See TracBrowser for help on using the browser.