htaccess и cgi-bin

Discussion in 'PHP' started by Chezarius, 1 Apr 2016.

  1. Chezarius

    Chezarius New Member

    Joined:
    22 Mar 2016
    Messages:
    1
    Likes Received:
    0
    Reputations:
    0
    Здравствуйте!

    Подскажите как написать правило для RewriteRule для строки site.com/cgi-bin/router.cgi?=h=18

    на файл site.com/_router.php

    Для обычных каталогов работает такое
    RewriteRule ^(.*)$ _router\.php\?$1? [QSA,L]

    А для cgi-bin не хочет(