Cant get SEO-Rewriting work. 500 internal Server error.

32 views
Skip to first unread message

newnoise

unread,
Dec 16, 2011, 11:37:17 AM12/16/11
to UrlRewrite
Hi,

im trying to get RewriteURLFilter to work with textpattern.
So I would need to redirect something like:

--------------------------------------------------------
myurl.de/anleitung
to
myurl.de/cms/index.php?s=anleitung
--------------------------------------------------------


or in other words, I would need to translate this .htaccess

-------------------------------------------------------
DirectoryIndex index.php index.html

Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{http_host} !^myurl\.com$ [NC]
RewriteRule ^(.*)$ http://myurl.com/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]

</IfModule>

#php_value register_globals 0

------------------------------------------------------


thanks a lot!
noise

Reply all
Reply to author
Forward
0 new messages