Return-Path: X-Original-To: apmail-httpd-users-de-archive@www.apache.org Delivered-To: apmail-httpd-users-de-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B41836E0D for ; Mon, 16 May 2011 13:02:07 +0000 (UTC) Received: (qmail 55377 invoked by uid 500); 16 May 2011 13:02:07 -0000 Delivered-To: apmail-httpd-users-de-archive@httpd.apache.org Received: (qmail 55362 invoked by uid 500); 16 May 2011 13:02:07 -0000 Mailing-List: contact users-de-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users-de@httpd.apache.org List-Id: Delivered-To: mailing list users-de@httpd.apache.org Received: (qmail 55354 invoked by uid 99); 16 May 2011 13:02:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 13:02:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of m.seidl@live.de designates 65.55.90.102 as permitted sender) Received: from [65.55.90.102] (HELO snt0-omc2-s27.snt0.hotmail.com) (65.55.90.102) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 13:02:01 +0000 Received: from SNT0-EAS189 ([65.55.90.71]) by snt0-omc2-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 16 May 2011 06:01:41 -0700 X-Originating-IP: [2.204.231.36] X-Originating-Email: [m.seidl@live.de] Message-ID: Date: Mon, 16 May 2011 15:00:51 +0200 Subject: Re: Temp. Wartungsseite From: Matthias Seidl To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-OriginalArrivalTime: 16 May 2011 13:01:41.0113 (UTC) FILETIME=[6636E690:01CC13C9] =0A= =0A= Reindl Harald schrieb:=0A= =0A= > Unsaubere L=C3=B6sung die wenn sie funktionieren w=C3=BCrde 200 OK zur=C3= =BCckgibt > und die Wartungsseite damit von Suchmaschinen indiziert wird! >=20 > ErrorDocument 404 /index.php >=20 > In der "index.php" > header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error'=2C true= =2C 500)=3B >=20 > UND BITTE keine HTML-Mails in Mailing-Listen und auch sonst > am besten nicht! >=20 > Am 16.05.2011 13:49=2C schrieb Alexander Diedler: >> Ich bekomme es nicht hin=2C dass alle Aufrufe an eine Domain immer mit e= iner Wartungsseite quittiert werden sollen: >>=20 >> =20 >>=20 >> Httpd-vhosts.conf >>=20 >> ### Baustelle ######### >>=20 >> >>=20 >> ServerAdmin info@XXXXX.de >>=20 >> DocumentRoot "D:\\extranet\baustelle" >>=20 >> ServerName XXX.XXX.XXX.XXX >>=20 >> ServerAlias sub-test.domain.de =20 >>=20 >> AccessFileName .htaccess >>=20 >> RewriteEngine On >>=20 >> RewriteOptions Inherit >>=20 >> =20 >>=20 >> ErrorLog "|D:/error.log 86400" >>=20 >> CustomLog "|D:/access.log 86400" common >>=20 >> =20 >>=20 >> >>=20 >> Options Indexes FollowSymLinks >> AllowOverride None >> Order allow=2Cdeny >> Allow from all >>=20 >> =20 >>=20 >> >>=20 >> .htaccess >>=20 >> Options +FollowSymlinks >> RewriteEngine on >>=20 >> RewriteCond %{REQUEST_URI} !/baustelle.html$ >> RewriteRule $ /baustelle.html [R=3D302=2CL] >>=20 >> Ein Aufruf : http://www.domain.de bringt entsprechende Wartungsseite=2C = aber ein http://www.domain.de/test/ bringt >> 404 und nicht entsprechend die Wartungsseite. >>=20 >> Alex >=20 > --=20 >=20 > Mit besten Gr=C3=BC=C3=9Fen=2C Reindl Harald > the lounge interactive design GmbH > A-1060 Vienna=2C Hofm=C3=BChlgasse 17 > CTO / software-development / cms-solutions > p: +43 (1) 595 3999 33=2C m: +43 (676) 40 221 40 > icq: 154546673=2C http://www.thelounge.net/ >=20 > http://www.thelounge.net/signature.asc.what.htm >=20 -------------------------------------------------------------------------- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org sonstige Anfragen an users-de-help@httpd.apache.org --------------------------------------------------------------------------