🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2167

Re: Redirect y RedirectMatch en htaccess

#2167
From: Andrés Pereira
Date: Wed, 22 Feb 2006 19:23
30 lines
1915 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Christian Szita wrote:
> Quiero hacer lo siguiente:
> 
> http://sz.cl/f/<UID> ===>  http://flickr.com/photos/istvan/<UID>
> 
> Es decir, que pase el UID donde corresponde a la URL a redireccionar.
> 
> RedirectMatch permanent ^/f/$ http://www.flickr.com/photos/istvan/$ no
> funciona,
> ni sacandole el $ ni el ^
> 

RedirectMatch permanent ^/f/(.*) http://www.lickr.com/photos/istvan/$1

http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirectmatch

Saludos,

- --
Andrés Pereira
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/Lou7iUaNXa3Ta4RA7UeAJ9A1Hvg/c9ZbWCNEndk8dRXgP+yOACfbEvx
6V94XHsnASfhm+WofdeKqfQ=
=1jpE
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <dtidne$c4i$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news-santiago!helcaraxe.dcc.uchile.cl!not-for-mail
References: <463nfiF95ac7U1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,d0dcac176e7abaee
X-Google-Thread: fad43,d0dcac176e7abaee
X-Google-Attributes: gid1593cb,gidfad43,public
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news-santiago!helcaraxe.dcc.uchile.cl!not-for-mail
From: Andrés Pereira <anpereir@dcc.uchile.cl>
Newsgroups: chile.comp.programacion,chile.comp.www
Subject: Re: Redirect y RedirectMatch en htaccess
Date: Wed, 22 Feb 2006 16:23:26 -0300
Organization: DCC - Universidad de Chile
Lines: 30
Message-ID: <dtidne$c4i$1@helcaraxe.dcc.uchile.cl>
References: <463nfiF95ac7U1@individual.net>
Reply-To:  anpereir@dcc.uchile.cl
NNTP-Posting-Host: anakena.dcc.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: helcaraxe.dcc.uchile.cl 1140636206 12434 192.80.24.6 (22 Feb 2006 19:23:26 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Wed, 22 Feb 2006 19:23:26 +0000 (UTC)
User-Agent: Mail/News 1.5 (X11/20060130)
In-Reply-To: <463nfiF95ac7U1@individual.net>
X-Enigmail-Version: 0.94.0.0