Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 13373 invoked from network); 22 Apr 2010 10:12:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 10:12:33 -0000 Received: (qmail 48252 invoked by uid 500); 22 Apr 2010 10:12:32 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 47668 invoked by uid 500); 22 Apr 2010 10:12:31 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 47128 invoked by uid 99); 22 Apr 2010 10:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:12:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.86.168.183] (HELO mxout-08.mxes.net) (216.86.168.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:12:23 +0000 Received: from [192.168.178.25] (unknown [130.60.157.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id EA640509DD for ; Thu, 22 Apr 2010 06:12:01 -0400 (EDT) Subject: Re: Redirect MainSite From: Manuel Innerhofer To: clerezza-dev@incubator.apache.org In-Reply-To: <5863FB4055D90542A7A7DAE0CEF2ACB005842AB756@E2K7CCR1.netvigour.com> References: <5863FB4055D90542A7A7DAE0CEF2ACB005842AB756@E2K7CCR1.netvigour.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 22 Apr 2010 12:12:00 +0200 Message-ID: <1271931120.2575.24.camel@mir-station> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Oli, This is not possible at the moment. What you could do is implement a TypeHandler that handles a resource of (let's say) "RedirectResource". This redirect resource has a property "location" which specifies the location to redirect to. The TypeHandler would simply implement a @GET method which returns a SEE_OTHER (303) Response with the location header set to the location specified in the "location" property. In your case you would make http://localhost:8080 a redirect resource and set the location to http://localhost:8080/admin/clips . E.g. http://localhost:8080/ ------------------------------ http://localhost:8080/admin/clips | http://example.com/location |RDF:type | http://example.com/RedirectResource Cheers, Manuel On Thu, 2010-04-22 at 05:12 -0400, Oliver Strässer wrote: > Hello > > it's possible to register an URL or an Bundle that the System automatically redirects to the bundle URL? > > example: http://localhost:8080/ redirects to http://localhost:8080/admin/clips > > If it isn't possible with registering or saving the url in the graph anywhere - what for an apache bundle I need to extend for me? > > > cheers > oli > > > --getunik ag------------------------------------------- > oliver straesser oliver.straesser@getunik.com > hardturmstrasse 101 fon: +41 (0)44 388 55 88 > ch-8005 zuerich fax: +41 (0)44 388 55 89 > > --aktuelles getunik projekt------------------------- > Agieren Sie lokal! Geo Marketing für Ihre E-Mail Kampagne: www.geomarketing.com > > --best of swiss web awards 2009------------------ > Gold & Silber für Connect2Earth / Bronze für WWF UK > > we make the web a better place - www.getunik.com > > > > > ***************************************************************** > P Bitte drucken Sie dieses E-Mail nur bei Bedarf aus. Die Umwelt dankt es Ihnen. > ***************************************************************** >