Уважаемые!Подскажите пожалуйста, вот у меня установлен базовый пакет денвера, сайт на modx.
А теперь суть проблемы: Хочу вместо
http://localhost/art/index.php?id=5 http://localhost/art/contacts.html. Делаю дружественные урлы - получается, но страница не найдена, когда кликаешь. .htaccess есть 2 файла
1(в /manager):
# For unexpected logouts in multi-server/cloud environments see:
#
http://svn.modxcms.com/docs/display/MODx09...y+URL+SolutionsRewriteEngine Off
<
IfModule mod_security.c>
# Turn the filtering engine Off
SecFilterEngine Off
<
/IfModule>
2(в корне):
# For full documentation and other suggested options, please see
#
http://svn.modxcms.com/docs/display/MODx09...y+URL+Solutions# including for unexpected logouts in multi-server/cloud environments
# and especially for the first three commented out rules
#php_flag register_globals Off
#AddDefaultCharset utf-8
#php_value date.timezone Europe/Moscow
Options +FollowSymlinks
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]*).html$ /index.php?page=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /index.php?path=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([^/]*).html$ /index.php?path=$1&page=$2 [L,QSA]
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
#RewriteRule (.*)
http://www.example.com/$1 [R=301,L]
# Exclude /assets and /manager directories and images from rewrite rules
RewriteRule ^(manager|assets)/*$ - [L]
RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
Я море статей излазил и не могу настроить, сделать так чтоб всё работало правильно.
URL страницы чтоб стал человеку понятный))
Надо ли ставить сервер на аппачи? и там редактировать httpd?
просто последняя попытка оказалась безнадежной и все слетело.
Кто-нить может на пальцах описать порядок действий?
Спасибо.
В блогах и на форумах пишут "добавить то, добавить сё", а когда делаю - ничего не получается