blob: 8d9f07014015bb2834b00bb9b8eb0fff0c39fccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<IfModule mod_rewrite.c>
RewriteEngine on
# Uncomment this if mod_rewrites are not working for you. some hosting services have cranky mod_rewrite
# RewriteBase /users/
# These should pass existing files on through, but do not for some reason. needs to be debugged,
# and then \. can be added to regex's below
# RewriteCond %{DOCUMENT_ROOT}%{SCRIPT_FILENAME} -f [OR]
# RewriteCond %{DOCUMENT_ROOT}%{SCRIPT_FILENAME}/index.php -f
# RewriteRule ^/.* - [L]
RewriteRule ^view/([-A-Za-z0-9_]+)$ index.php?home=$1 [L,QSA]
RewriteRule ^([-A-Za-z0-9_]+)$ index.php?home=$1 [L,QSA]
</IfModule>
|