<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Настройка .htaccess на 404 ошибку</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 12 Apr 2026 21:10:13 -0000</pubDate>

		<item>
			<title>Oughtem</title>
			<description><![CDATA[<p>
	велосипед марки "сео"</p>
]]></description>
			<pubDate>Пт, 11 Бер 2011 18:38:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6204&d=0#post28868]]></link>
		</item>
		<item>
			<title>jcrush</title>
			<description><![CDATA[<p>
	я вообще не понимаю зачем этот велосипед?</p>
<p>
	 </p>
<p>
	у меня просто: ErrorDocument 404 /message.php?msg=950</p>
<div>
	 </div>
]]></description>
			<pubDate>Вт, 08 Бер 2011 06:35:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6204&d=0#post28828]]></link>
		</item>
		<item>
			<title>Oughtem</title>
			<description><![CDATA[<p>
	Проблема так не устраняется. А если бы и устранялась, то было бы совсем не гуд, сказаь пользователю, что "неверный урл", а потом заредиректить его на 404 заглушку :)</p>
]]></description>
			<pubDate>Пн, 07 Бер 2011 17:25:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6204&d=0#post28826]]></link>
		</item>
		<item>
			<title>jcrush</title>
			<description><![CDATA[<p>
	 </p>
<div>
	Redirect 301 /message.php?msg=950 <a href="http://studportal.net.ua/page.php?al=404" rel="nofollow" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-size:13px;vertical-align:baseline;background-color:transparent;color:rgb(0,121,193);text-decoration:none;">http://studportal.net.ua/page.php?al=404</a></div>
<div>
	как вариант</div>
<div>
	 </div>
]]></description>
			<pubDate>Сб, 05 Бер 2011 11:49:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6204&d=0#post28801]]></link>
		</item>
		<item>
			<title>Oughtem</title>
			<description><![CDATA[<p>
	хочу настроить .htaccess так, чтобы не было сообщения "неверный урл", а был простой редирект на страницу /page.php?al=404.</p>
<p>
	Получилось наполовину. Когда пишу <a href="https://www.cotonti.com/dfgdsgsdg,">http://сайт/dfgdsgsdg,</a> то всё нормально, редиректит.</p>
<p>
	Если сознательно исправить существующий урл, дописав, ему левые буквы, (например <a href="http://studportal.net.ua/page.php?al=internet-konkurs_shpora" rel="nofollow">http://studportal.net.ua/page.php?al=internet-konkurs_shpora</a><strong>ddddddd</strong>), то выдаётся редирект через 950-е сообщение (/message.php?msg=950). Как это исправить?</p>
<p>
	Вот код</p>
<blockquote>
	<p>
		ErrorDocument 400 <a href="http://studportal.net.ua/message.php?msg=930" rel="nofollow">http://studportal.net.ua/message.php?msg=930</a><br />
		ErrorDocument 401 <a href="http://studportal.net.ua/message.php?msg=930" rel="nofollow">http://studportal.net.ua/message.php?msg=930</a><br />
		ErrorDocument 403 <a href="http://studportal.net.ua/page.php?al=404" rel="nofollow">http://studportal.net.ua/page.php?al=404</a><br />
		ErrorDocument 404 <a href="http://studportal.net.ua/page.php?al=404" rel="nofollow">http://studportal.net.ua/page.php?al=404</a><br />
		ErrorDocument 500 <a href="http://studportal.net.ua/page.php?al=404" rel="nofollow">http://studportal.net.ua/page.php?al=404</a></p>
</blockquote>
<p>
	Добавляя строчку ErrorDocument 950 <a href="http://studportal.net.ua/page.php?al=404," rel="nofollow">http://studportal.net.ua/page.php?al=404,</a> обрекаешь сервер на такую ошибку:</p>
<blockquote>
	<p>
		Internal Server Error<br /><br />
		The server encountered an internal error or misconfiguration and was unable to complete your request.<br /><br />
		Please contact the server administrator, webmaster@studportal.net.ua and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br /><br />
		More information about this error may be available in the server error log.<br /><br />
		Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p>
</blockquote>
]]></description>
			<pubDate>Сб, 05 Бер 2011 11:24:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6204&d=0#post28800]]></link>
		</item>
	</channel>
</rss>