aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
blob: 5b6f81775f5cab8853d38707427a6f433a992c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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

RewriteRule ^action\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
RewriteRule ^odd\/([0-9]+)\/$ export/handler.php?view=odd&guid=$1
RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=odd&guid=$1&type=$2&idname=$3

RewriteRule ^\_css\/css\.css$ _css/css.php

RewriteRule ^pg\/([A-Za-z]+)\/(.*)$ pagehandler.php?handler=$1&page=$2