🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.www.server-side
Article #61534

Re: 302 Found error

#61534
From: RM
Date: Tue, 23 Jun 2020 05:05
15 lines
1417 bytes
Próbuję zrobić możliwość wchodzenia na moją stronę bez prefiksu www.
Zmieniłem
	RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1
na
	RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R]
albo
	RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301]
i nadal mam ten komunikat:

Found
The document has moved here.
Additionally, a 302 Found error was encountered while trying to use an 
ErrorDocument to handle the request.

Rozwiązanie wziąłem z książki więc nie wiem dlaczego nie działa.
Technical Details
Message-ID: <rcs2jo$3m9o7$1@portraits.wsisiz.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.public-gprs351253.centertel.pl!not-for-mail
References: <rcqo3v$32lvt$1@portraits.wsisiz.edu.pl> <5ef0ebd5$0$17365$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.public-gprs351253.centertel.pl!not-for-mail
From: RM <robert_magdziarz@wp.pl>
Newsgroups: pl.comp.www.server-side
Subject: Re: 302 Found error
Date: Tue, 23 Jun 2020 07:05:59 +0200
Organization: http://www.wit.edu.pl
Message-ID: <rcs2jo$3m9o7$1@portraits.wsisiz.edu.pl>
References: <rcqo3v$32lvt$1@portraits.wsisiz.edu.pl> <5ef0ebd5$0$17365$65785112@news.neostrada.pl>
Mime-Version: 1.0
Injection-Date: Tue, 23 Jun 2020 05:06:00 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="public-gprs351253.centertel.pl:37.47.3.86"; logging-data="3876615"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1
In-Reply-To: <5ef0ebd5$0$17365$65785112@news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit