﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Релиб / Веб-программирование / Perl  / Помогите с редиректом / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Релиб</description><link>http://www.relib.com/forums/</link><webMaster>robot@relib.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 06:00:16 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>Совсем не первое в STDOUT!&lt;BR&gt;Я не знаю что у него там не работает, просто если перед print location идёт или формирование html страницы методом use CGI, либо print &amp;quot;Content-type: text/html&lt;br&gt;&lt;br&gt;&amp;quot;;, то этот print &amp;quot;Location...&lt;br&gt;&lt;br&gt;&amp;quot;; просто распечатается на экран! То есть вставлять редирект нужно до строки, которая сообщает серверу заголовок http (до сообщения серверу, к какому приёму тот должен готовиться).</description><pubDate>Fri, 29 Mar 2002 21:25:00 GMT</pubDate><dc:creator>perl</dc:creator></item><item><title>RE: Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>print &amp;quot;Location:&amp;quot; должен быть самым первым выводом в STDOUT.</description><pubDate>Mon, 19 Nov 2001 18:18:00 GMT</pubDate><dc:creator>AiK</dc:creator></item><item><title>RE: Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>а попробуй вот так написать...&lt;BR&gt;&lt;BR&gt;[code]print &amp;quot;&amp;lt;meta http-equiv='Refresh' content='0; URL=http://www.bryansk.org'&amp;gt;&amp;quot;;[/code]&lt;BR&gt;&lt;BR&gt;ну, ссылочку свою, ясен перец :)))</description><pubDate>Mon, 19 Nov 2001 16:38:00 GMT</pubDate><dc:creator>BookMaster</dc:creator></item><item><title>RE: Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>В том-то и дело, что url верный,&lt;BR&gt;на локалке скрипт работает,&lt;BR&gt;а на серваке - не хочет :(</description><pubDate>Mon, 19 Nov 2001 12:51:00 GMT</pubDate><dc:creator>avaria</dc:creator></item><item><title>RE: Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>УРЛ неверный.</description><pubDate>Mon, 19 Nov 2001 11:00:00 GMT</pubDate><dc:creator>Haze</dc:creator></item><item><title>Помогите с редиректом</title><link>http://www.relib.com/forums/Topic733401-18-1.aspx</link><description>Помогуте плиз с таким багом:&lt;BR&gt;написал скрипт-редиректор, на локалке работает.&lt;BR&gt;Переношу на wallst.ru - не пашет, причём пробовал и print &amp;quot;Location: http://my-site.ru&lt;br&gt;&lt;br&gt;&amp;quot;;&lt;BR&gt;и print redirect(-url=&amp;gt;&amp;quot;http://my-site.ru&amp;quot;);&lt;BR&gt;До этого ничего не выводится,&lt;BR&gt;но не то ни другое не работает, IE говорит &lt;BR&gt;&amp;quot;The page cannot be displayed&amp;quot;&lt;BR&gt;Из-за чего это может происходить ?</description><pubDate>Mon, 19 Nov 2001 10:39:00 GMT</pubDate><dc:creator>avaria</dc:creator></item></channel></rss>