• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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