Re: [us...@httpd] Query string encoding

2009-04-09 Thread Clodoaldo Pinto Neto
2009/4/8 Igor Cicimov : > Just an idea ... have you tried putting the hexadecimal representation of > the "+" symbol so apache translates it into "+" when encoding? I want all the urls to be human readable. Regards, Clodoaldo > > On Wed, Apr 8, 2009 at 11:19 P

Re: [us...@httpd] Query string encoding

2009-04-08 Thread Clodoaldo Pinto Neto
2009/4/7 Clodoaldo Pinto Neto : > 2009/4/3 André Warnier : >> Clodoaldo Pinto Neto wrote: >>> >>> I want to rewrite a url to a query string like this: >>> >>> from http://example.com/x+ to http://example.com/var=x%2B >>> or >>&

Re: [us...@httpd] Query string encoding

2009-04-07 Thread Clodoaldo Pinto Neto
2009/4/3 André Warnier : > Clodoaldo Pinto Neto wrote: >> >> I want to rewrite a url to a query string like this: >> >> from http://example.com/x+ to http://example.com/var=x%2B >> or >> from http://example.com/x%2B to http://example.com/var=x

[us...@httpd] Query string encoding

2009-04-03 Thread Clodoaldo Pinto Neto
I want to rewrite a url to a query string like this: from http://example.com/x+ to http://example.com/var=x%2B or from http://example.com/x%2B to http://example.com/var=x%2B Using: RewriteRule ^(/([\w-()+]+))?/$ /?var=$2 [QSA] The problem i have is that the query string is passed to the applicat

Re: [EMAIL PROTECTED] RewriteMap and RewriteRule

2008-12-06 Thread Clodoaldo Pinto Neto
2008/12/6 Clodoaldo Pinto Neto <[EMAIL PROTECTED]>: > 2008/12/6 Krist van Besien <[EMAIL PROTECTED]>: >> On Sat, Dec 6, 2008 at 3:05 AM, Clodoaldo Pinto Neto >> <[EMAIL PROTECTED]> wrote: >>> I'm using this config in Apache 2.2.3/Centos 5: >&g

Re: [EMAIL PROTECTED] RewriteMap and RewriteRule

2008-12-06 Thread Clodoaldo Pinto Neto
2008/12/6 Krist van Besien <[EMAIL PROTECTED]>: > On Sat, Dec 6, 2008 at 3:05 AM, Clodoaldo Pinto Neto > <[EMAIL PROTECTED]> wrote: >> I'm using this config in Apache 2.2.3/Centos 5: >> >> RewriteMap redirect txt:/var/www/html/example/redirect.

[EMAIL PROTECTED] RewriteMap and RewriteRule

2008-12-05 Thread Clodoaldo Pinto Neto
I'm using this config in Apache 2.2.3/Centos 5: RewriteMap redirect txt:/var/www/html/example/redirect.txt RewriteRule ^/(a|b|c|d|e)$ http://example.com/${redirect:$1} [NC,R=permanent,L] redirect.txt: a x b y c z d k e j Since the redirected pages are many i would like to not have to put them a

Re: [EMAIL PROTECTED] Directory index forbidden by Options directive

2006-10-30 Thread Clodoaldo Pinto Neto
ons Indexes AllowOverride None Options Indexes Order Allow,Deny Allow from all I think it is kind of ugly. If you can see something more elegant just say it. Regards, Clodoaldo Pinto Neto - The o

Re: [EMAIL PROTECTED] Directory index forbidden by Options directive

2006-10-30 Thread Clodoaldo Pinto Neto
2006/10/30, Boyle Owen <[EMAIL PROTECTED]>: > -Original Message- > From: Clodoaldo Pinto Neto [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 28, 2006 1:11 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Directory index forbidden by Options direct

[EMAIL PROTECTED] Directory index forbidden by Options directive

2006-10-27 Thread Clodoaldo Pinto Neto
ient 10.1.1.101] Directory index forbidden by Options directive: /var/www/html/yum/ But at http://yumrepo.s0/5 it shows a directory listing. There is no .htaccess. This is Fedora Core 5 and Apache 2.2.2 Regards, Clodoaldo Pinto Neto --

Re: [EMAIL PROTECTED] Indexes Option in Virtual Host

2006-05-20 Thread Clodoaldo Pinto
2006/5/20, Rainer Sokoll <[EMAIL PROTECTED]>: On Sat, May 20, 2006 at 10:11:56AM -0300, Clodoaldo Pinto wrote: > Options Indexes > But when I point the browser to fc5.s0/fc5 it works. I can see the > files in that subdir. What am I missing? A "+" ;-), read: "

[EMAIL PROTECTED] Indexes Option in Virtual Host

2006-05-20 Thread Clodoaldo Pinto
I have this virtual host configured: ServerName fc5.s0 DocumentRoot "/var/www/html/fc5" Options Indexes When I point the browser to fc5.s0 the Indexes option does not work and I'm redirected to the default Fedora test page. There are no index.html or index.php files. But when I

Re: [EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Clodoaldo Pinto
2006/5/14, Robert Ionescu <[EMAIL PROTECTED]>: But anyway: Arre trying to substitute one char with an other? That won't work. In order to match the map, the back reference $1 must be '&' and only '&', 'abc&cd' wouldn't match the map. Would it work with the internal function MapType to escape

[EMAIL PROTECTED] RewriteMap causing redirection loop

2006-05-14 Thread Clodoaldo Pinto
I maintain a mediawiki site and I am trying to use short urls as explained here: http://meta.wikimedia.org/wiki/Using_a_very_short_URL#Patching_Apache Apache/2.0.53 (Fedora 3) As my httpd server does not have the int:ampescape patch and I want to avoid patching it I'm using a simple txt map file