blob: 84cecab223072434fd6845c05ab899ad34e05fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Elgg htaccess directives
# Copyright Curverider Ltd 2008
# License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
# Link http://elgg.org/
php_flag magic_quotes_gpc off
RewriteEngine on
#
# If you are installing Elgg to an unusual location (for example your personal public_html directory)
# then you may need to uncomment this line and modify accordingly:
#
# RewriteBase /web/path/to/elgg/root/
#
RewriteRule ^cron\/$ engine/handlers/cron_handler.php
RewriteRule ^action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule ^default\/([0-9]+)$ services/export/handler.php?guid=$1
RewriteRule ^default\/([0-9]+)\/$ services/export/handler.php?guid=$1
RewriteRule ^default\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?guid=$1&type=$2&idname=$3
RewriteRule ^odd\/([0-9]+)$ services/export/handler.php?view=odd&guid=$1
RewriteRule ^odd\/([0-9]+)\/$ services/export/handler.php?view=odd&guid=$1
RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=odd&guid=$1&type=$2&idname=$3
RewriteRule ^php\/([0-9]+)$ services/export/handler.php?view=php&guid=$1
RewriteRule ^php\/([0-9]+)\/$ services/export/handler.php?view=php&guid=$1
RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=php&guid=$1&type=$2&idname=$3
RewriteRule ^json\/([0-9]+)$ services/export/handler.php?view=json&guid=$1
RewriteRule ^json\/([0-9]+)\/$ services/export/handler.php?view=json&guid=$1
RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=json&guid=$1&type=$2&idname=$3
RewriteRule ^\_css\/css\.css$ _css/css.php
RewriteRule ^pg\/([A-Za-z\_\-]+)\/(.*)$ engine/handlers/pagehandler.php?handler=$1&page=$2
RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php
RewriteRule mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php
|