summaryrefslogtreecommitdiff
path: root/.htaccess
blob: 323c2fa4c22f7fe6ea62a7f454dd6409f9b31299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# this file is used if you configure your scuttle for nice urls
# (see $cleanurls in config.inc.php)

Options +FollowSymlinks
# AcceptPathInfo On
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?(.*)       $1.php/$2       [L]

# If you have Scuttle in subdirectories e.g. http://www.example.com/myscuttle/links/
# then you need to comment the precedent line and remove comment of the following one
# (replace "myscuttle/links/" with your subdirectories name)

#RewriteRule ^([^/]+)/?(.*)      myscuttle/links/$1.php/$2       [L]