Bug fix: allow cleanurls thanks to htaccess
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@65 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
fb7d248f53
commit
db1dfcbff9
1 changed files with 16 additions and 0 deletions
16
.htaccess
Normal file
16
.htaccess
Normal file
|
@ -0,0 +1,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]
|
Loading…
Reference in a new issue