Просмотр файла .htaccess

Размер файла: 1.36Kb
    DirectoryIndex index.php
    AddDefaultCharset UTF-8
    php_value session.use_trans_sid 1

    RewriteEngine On

    RewriteRule ^tag/(.*)$ /_modules/tag/index.php?id=$1 [L,QSA]
    RewriteRule ^watch/(.*)$ /_modules/watch/index.php?id=$1 [L,QSA]
    RewriteRule ^category$ /_modules/category/index.php [L,QSA]
    RewriteRule ^video_new$ /_modules/video_new/index.php [L,QSA]
    RewriteRule ^video_top$ /_modules/video_top/index.php [L,QSA]
    RewriteRule ^video_rating$ /_modules/video_rating/index.php [L,QSA]
    RewriteRule ^search$ /_modules/search/index.php [L,QSA]
    RewriteRule ^captcha$ /_modules/captcha/index.php [L,QSA]

    RewriteRule ^admin$ /_modules/admin/index.php [L,QSA]
    RewriteRule ^admin/login$ /_modules/admin/login/index.php [L,QSA]
    RewriteRule ^admin/config$ /_modules/admin/config/index.php [L,QSA]
    RewriteRule ^admin/stat$ /_modules/admin/stat/index.php [L,QSA]
    RewriteRule ^admin/delete$ /_modules/admin/delete/index.php [L,QSA]
    RewriteRule ^admin/sitemap$ /_modules/admin/sitemap/index.php [L,QSA]


    ErrorDocument 400 /_modules/error/index.php
    ErrorDocument 401 /_modules/error/index.php
    ErrorDocument 402 /_modules/error/index.php
    ErrorDocument 403 /_modules/error/index.php
    ErrorDocument 404 /_modules/error/index.php
    ErrorDocument 500 /_modules/error/index.php
    ErrorDocument 502 /_modules/error/index.php