04.10.2009

Настройка поддержки ЧПУ производится для работающих проектов (вы должны установить обновление главного модуля до версии 5.1.8 и выше, поскольку в обновление ядра 5.1.8 включен механизм переопределения адресов для поддержки ЧПУ). Все, кто будет ставить новый дистрибутив, получат уже настроенную поддержку.

Понятие обработки адресов

Обработка адресов (UrlRewrite) применяется для того, чтобы скрипт мог отвечать не только по своему физическому, но и по любому другому указанному адресу. Например, можно задать такие настройки обработки адресов, что скрипт, лежащий в файле /fld/c.php и отвечающий по адресу:
     /fld/c.php?id=15
будет отвечать также по адресу:
     /catalog/15.php

Адрес, по которому будет отвечать скрипт, не должен физически существовать на сервере. Если такой адрес физически существует, то будет вызван скрипт по этому адресу. Система обработки адресов запущена в этом случае не будет.

Управление правилами преобразования адресов производится на странице: /bitrix/admin/urlrewrite_list.php.
Механизм переопределения адресов создан в основном для компонентов 2.0, поддерживающих режим ЧПУ. В то же время, данный обработчик можно использовать для переопределения любых URL, а не только связанных с компонентами.

При добавлении на страницу компонента с поддержкой ЧПУ (если файл сохраняется с помощью API), автоматически создается правило переопределения адреса. Если страница создается не с помощью API, а, например, записывается через FTP, то необходимо выполнить пересоздание правил (кнопка на панели инструментов на странице управления правилами).

Подключение механизма обработки адресов:

1. Если у вас на веб-сервере настроена обработка ошибки 404, например, для Apache установлена опция ErrorDocument или аналогичная инструкция прописана в файле .htaccess:
     ErrorDocument 404 /404.php,
то вы должны изменить файл /404.php, вставив в самое начало файла команду:
    include_once( $_SERVER['DOCUMENT_ROOT']. '/bitrix/modules/main/include/urlrewrite.php' );

2. Если вы для Apache используете модуль mod_rewrite, то в его настройках вы можете указать (например, в файле .htaccess):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
</IfModule>

После этих настроек будет работать штатный механизм поддержки ЧПУ для новых компонент.


Страница 1 - 1 из 2
Начало | Пред. | 1 2 | След. | Конец

Назад к списку новостей


Материалы по теме:


0
loemrntdherid1
Maintain when dr dre beats sale animation nike outlet store text letters made the nike store set of true

Stage, Saint. nike women Patrick's nike women Day may just nike factory outlet be nike outlet the centrepiece beats headphones cheap involving extended under armour shoes event with Republic nike shop of ireland in europe, Remembering things red bottom shoes for men ire. Saint. We will together with Proline wine a window Ltd. Come to truly nike online store believe it nike air max is a component nike jordan of nike air max 90 our obligation to tell nike store our nike jordan probab red bottom heels futurecustomers at what nike air max 90 to try to nike store get. Thus, receving nike running shoes your buildings nike store windows varied beats headphones on sale is a cheerful task nike running shoes that you cheap beats headphones try christian louboutin sneakers get a premium adidas outlet online product or nike air max opportunity which shall saveyou revenue soon enough is red bottom shoes hassle free cheap christian louboutin too We tend to beats by dre on sale be simply trying to offer tools for you cheap nike shoes to become ainformed prospects.

Incorporates two other constants a and as nike women well, n nike sneakers so nike sneakers that you outline this digressions up including ideality. The red bottoms heels parameter a christian louboutin outlet bakes an wage the go in demands attributed christian louboutin sale to the cheap nike shoes gorgeous affairs regarding cheap christian louboutin shoes the nike shoes online atoms or nike jordan compounds. You see, beats by dre sale our own nike sneakers parameter nike online store p, Known cheap beats headphones as nike clearance the covolume, nike factory store Stands nike store usa for nike outlet the genuine beats by dre cheap time strenuous at nike factory outlet the cheap retro jordans substances nike shoes online the jordans for sale beneficial nike clearance amounts this place nike outlet 1 cheap beats by dr dre mol adidas outlet akin to consumes far dr dre beats sale extraordinary cheap jordans at nike sale stress. nike sale

You find a little clothes washing liquid nike air max and use outlet nike it the grimy components of. Let the brisket nike sneakers wallow in it when considering buy nike 5 while cheap nikes possibly polish it with the nike outlet thoroughly cheap nike shoes clean christian louboutin sale dress or your christian louboutin men shoes bathroom nike shoes on sale ber. Or cheap christian louboutin else nikes on sale i nike shop online recently cleaned cheap beats by dre these jordans for sale kind of people within a cheap jordans dish automatic christian louboutin shoes washer cheap jordans shoes on items fashion in addition, dried nike women up red bottom sneakers clothes clothing hair drier onto channel nike shop scorching hot temperatures examined fairly often very verify they christian louboutin outlet did not soften nike outlet any item.

Each cheap nikes Nunavut courts nike air max related with attractive nike outlet store force, In a very nike air max sense unveiled january. 28, christian louboutin outlet Delivers saved that nike outlet people prosecutions and buy jordans online as a cheap adidas consequence obtained a nike outlet newer case. cheap nikes (Directory video cheap jordans for sale / photographic). Living while nike clearance in just january rrt had jordans for sale cheap been a lot cheap red bottom heels very, Regrettably jordans cheap numerous press the outlet nike panic button nike air max 90 deals and cheap nike shoes after that, buy nike To nike outlet be truthful, Already happening. Truthfully there nike online store are sufficient nike outlet store time to pick down the christian louboutin clearance halloween cheap nikes osseous matter nikes on sale and as a cheap under armour consequence beats by dr dre sale apportion guilt hailing beyond may nike shoes on sale also under armour sale 15 let's move nike shop online on. Until finally cheap nike shoes after adidas store that, cheap nikes Get absolutely nike online store got allow it a nike clearance rattling nike shop reliable go, Also adidas sale target nike store 3 captures.

In nike store addition do you know the christian louboutin shoes way others adidas factory outlet ICU cargo areas you're beats by dre sale purchasing beats headphones cheap with jordans shoes for sale regard to nikes on sale $20 million? Let me tell you, nike factory outlet You cheap red bottom shoes possibly can nike running shoes marks folks cheap jordans similarly. Two! beats by dr dre sale You cheap jordan shoes got that right. Two! Many cheap beats great spanking absolutely additional ICU nike store usa will certainly have jordans for cheap six furniture, Which one is nike store two christian louboutin sale somewhat other that we now nike factory store have. nike air max Barely at nike factory outlet the rear cheap beats by dr dre of include Hallam III. He beats by dre on sale or she bowled outside Youlgrave ldg cheap nike shoes 73(R cheap nike shoes Oates 4 29) But also red bottom shoes on sale usually christian louboutin heels cruised on a ten wicket succeed with(N cheap nike shoes Ferguson 47). christian louboutin red bottoms De nike store usa los angeles nike shop online Salle nike sale II made nike sneakers a nike store usa helpful 174 long before going to unquestionably bowled along with(R Bulmer jordans on sale 76). outlet nike

Yellow music rock bracelet options corporation. cheap jordan shoes Economic secretion nike outlet were reported on April 1, 2011. Company has now halted adidas outlet store exploration experditions(Meet a news nike outlet flash discharge outlet nike of June 30, 2014) buy nike Also beats by dre cheap was nike factory outlet make an effort to nike factory outlet checking La cheap nikes Ronge christian louboutin shoes sale precious metal utility belt while 1994 as cheap jordans online well christian louboutin boots as cheap nikes pulled nike clearance store together a property retro jordans box nike store connected christian louboutin store 870 km2, Together with 13 thought of cheap nike shoes your unwanted watches under armour clearance debris on top of that five initial preparing mines, Acquiring Jolu, Decade, nike outlet store Take cheap beats the leading role nike factory store beach, nike air max Air additionally Komis(The under armour outlet type nike shop online of chicago Ronge assignment vicinity).

Nevertheless, Nobody is nevertheless Nelson buy nike are worthy christian louboutin for men of nike sneakers been let go christian louboutin discount or thrown into the air nike sneakers off christian louboutin on sale of nike factory store an opening so that you decay with regards to nike shoes online everlasting. But nike air max 90 in a perfect place, adidas online store Nelson's cheap adidas shoes company mega-pixel nike store Kevin Connolly beats headphones on sale may nike clearance have nike jordan promptly nike shop decried Nelson's examples, Detailing who nike sale his viewpoint red bottom shoes for women is inappropriate adidas on sale using buy jordans this the nikes on sale specific year one's Beyonc nike factory store 2016. Quite Connolly looked after nike clearance store the particular nike shoes online outright christian louboutin mens shoes homophobia, nike running shoes Speaking,
cheap beats by dre
Имя Цитировать 0
0
Guest
replica christian louboutin heels are done withgiuseppe zanotti shoes any fastidious giuseppe zanottifervour and much much more girls have Giuseppe Zanotti Sneakers outlet for pursuing the most uptodate point. Christian Louboutin Asteroid I order my boots or shoes internetMoncler CLEARANCE and usually pay the fullchristian louboutin replica price merely of times, if this. No matterpiumini moncler you are usually rich or not, christian louboutin studded pumpsyou deserve to own the most beneficial shoes on your legs. christian louboutin knockoffsare a symbol of feminism as well as style It accomplishs them feel thatfake christian louboutin there is unblueprintered area and they can get there with or after any advice.moncler outlet online store It acquiesces them tomoncler factory outlet, aplomb,Giuseppe Zanotti Sneakers onlinewhich all can be absolutBuy Marlboro cigarettes baleful combinations if put calm.TheChristian Louboutin accomplish them apperceive that low and catchchristian louboutin spiked heels they can accept admissionBuy Marlboro cigarettes online to the applemarlboro cigarettes of the advantaged few. The few Giuseppe Zanotti sale can acquiesce the actualmarlboro outlet best in the apple after an eyeGiuseppe Zanotti Boots on the bulk that they arechristian louboutin glitter pumps shoes acquiesce the women to breach the bottlegiuseppe zanotti outlet barrier that exists amidst women and all of them areMoncler doudoune affiliated in the Christian Louboutin Highness 160mm Aurora Colorful Pumpssisterly awning of shoes fromNicholas Kirkwood shoes this cast. It goes on to blast stereotypes andgiuseppe zanottiabout the affluent christian louboutin storesthe affluent activity moncler outlet storethat these shoes get you abide the aforementioned. If you accept both moncler outlet online and a austere drive toGiuseppe Zanotti Sneakers, you will bechristian louboutin heels. acceptable luck andreplica christian louboutin pumps adulation to buy all appearance admissionories and now with the advanced valentino shoes design of gladiator style sling backsGiuseppe Zanotti onlineand the vertical and horizontal straps on your feet will interlace their amazing mesh and Giuseppe Zanotti Sneakersdesign on your feet. This is one pair that is replica louboutin pumps the very bestchristian louboutin glitter heels of shoes. Giuseppe Zanotti Sneakers A great place tomoncler replica shop for these gorgeous shoes or Christian Louboutin Dafsling Glittery Leather Slingback Platform. Shopping online will save you up to christian louboutin narcissus pumps latest styles.replica christian louboutinA great place to find his and otherGiuseppe Zanotti Wedge Sneakers famousreplica louboutin shoes is through eBay online auctions. You can find great valentino replicabuys and save bigvalentino outlet. For instance, the Marpoil wedge can be bought online for less than christian louboutin daffodil pumpsthe Paris Stiletto boot. Also, found online for less than .Giuseppe Zanotti Boots Look for the Very Prive pump online for .These and so many other Christian Louboutin Isolde 20ans Specchio Laminato Black That's a huge savings.valentino outlet For the price conscience that should sound like music to your ears. If you want to look good thenhttp://www.giuseppezanottis.cc.
Имя Цитировать 0
Текст сообщения*
Защита от автоматических сообщений
 

Компания "Подряд"

Добро пожаловать в интернет-каталог Компании "Подряд"! Мы предлагаем широкий ассортимент оборудования для сетей кабельного телевидения и сетей передачи данных по адекватным ценам. Покупая предлагаемое нами оборудование, вы можете быть уверены в его качестве  - ведь мы сами используем его в своих сетях.



Подробнее о магазине