1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

mod_rewrite

Discussion in 'Plesk for Linux - 8.x and Older' started by Michael@, Feb 6, 2006.

  1. Michael@

    Michael@ Guest

    0
     
    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
     
Loading...