| ||||||||||||||||
|
||||||||||||||||
Hi!
Есть в srm.conf:
Alias /errors/ /path-to-file/
ErrorDocument 404 /errors/error.phtml?code=404
Есть в vhosts.conf инклудящегося из httpd.conf:
Alias /xxx/ /some-path/
RewriteEngine on
RewriteRule ^/([^/]+/(.*)$ ${map-to-vhost:$1|/$1}/$2
# оно перекидывает внешним редиректом на вирт-хост,
# если таковой для усерного каталога есть
Проблема:
Алиасы перестают работать! Если ставлю [PT] в рул перестает работать вообще тк
файловый путь красиво умножается... Есть идеи какие?
Или тупо алиасы неперисать как rule? Но это не есть красиво!
SKiller
--
The explanation requiring the fewest assumptions is the most likely to be
correct.
-- William of Occam
--------------------------
Sergei Keler
WebMaster of "ComSet"
E-Mail: skiller@xxxxxxxxxx
http://www.comset.net
--------------------------
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
|
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE. Copyright (C) 1995-2001 The Apache Group. All rights reserved. Copyright (C) 1996 Dm. Kryukov; Copyright (C) 1997-2009 . Design (C) 1998 Max Smolev. |
||