• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

mod_rewrite

M

Michael@

Guest
Hi,
i made an .htaccess in /httpdocs with this:


DirectoryIndex news.php

ErrorDocument 404 /404.php

RewriteEngine On
Options FollowSymLinks
Options +ExecCGI
RewriteBase /

RewriteCond %{HTTP_HOST} !^www.wallpaper-area.de$
RewriteRule ^(.*)$ http://www.wallpaper-area.de/$0 [redirect]

RewriteRule ^wa-([1234567890]*)\.php$ kategorie.php?KategorieNr=$1 [nocase,last]
RewriteRule ^wa-([1234567890]*)\.([1234567890]*)\.php$ kategorie.php?KategorieNr=$1&Start=$2 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)\.php$ galerie.php?KategorieNr=$1&GalerieNr=$2 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)\.([1234567890]*)\.php$ galerie.php?KategorieNr=$1&GalerieNr=$2&Start=$3 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)-([1234567890]*)-0\.php$ wallpaper_pre.php?KategorieNr=$1&GalerieNr=$2&WallpaperNr=$3 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)-([1234567890]*)\.php$ wallpaper.php?KategorieNr=$1&GalerieNr=$2&WallpaperNr=$3 [nocase,last]


But it do not work, can you help me what i did wrong?

Thanks

Michael
 
Back
Top