2009/4/7 Clodoaldo Pinto Neto clodoaldo.pi...@gmail.com:
2009/4/3 André Warnier a...@ice-sa.com:
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
2009/4/3 André Warnier a...@ice-sa.com:
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%2B
Using:
RewriteRule ^(/([\w-()+]+))?/$ /?var=$2
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
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.txt
RewriteRule ^/(a|b|c|d|e)$ http://example.com/${redirect:$1
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:
RewriteMap redirect txt:/var/www/html/example/redirect.txt
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
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 directive
I can't see a directory
Location /
Options Indexes
/Location
Directory /var/www/html/yum
AllowOverride None
Options Indexes
Order Allow,Deny
Allow from all
/Directory
/VirtualHost
I think it is kind of ugly. If you can see something more elegant just say it.
Regards, Clodoaldo Pinto Neto
/VirtualHost
When I go to http://yumrepo.s0 i get this error:
[client 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
I have this virtual host configured:
VirtualHost 10.1.1.103:80
ServerName fc5.s0
DocumentRoot /var/www/html/fc5
Directory /var/www/html/fc5
Options Indexes
/Directory
/VirtualHost
When I point the browser to fc5.s0 the Indexes option does not work
and I'm redirected to the default
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: Options +Indexes.
I Added
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
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 '', 'abccd' wouldn't match the map.
Would it work with the internal function MapType to escape the
13 matches
Mail list logo