pgpckuYkeBtBs.pgp
Description: PGP signature
Eric,
thank you.
Now I see it's mentioned at
http://httpd.apache.org/docs/2.0/rewrite/rewrite_tech.html mentions
that 'in per-directory context mod_rewrite first rewrites the
filename... and then initiates a new internal sub-request with the new
URL. This restarts processing of the API phases.'
> rewriter log says it rewrites to /index.php first (1st rule) and then
> it rewrites it to /set_cookie.php (2nd rule). I thought [L] and [NS]
> should stop any further rules. What am I missing?
In per-directory context, any time you make a change the entire cycle
is restarted -- 'L' only applies
Hi. My goal was: if URI contains cuckoo, no matter what cookies, then
show /index.php. Otherwise if the user hasn't got BREEZESESSION cookie
set, then show /set_cookie.php.
I've got it working inside but outside :
ServerAdmin [EMAIL PROTECTED]
DocumentRoot
"/Users/peterk/demo_project/con
Dennis Birkholz wrote:
Hello together,
I want to create a rule, that maps /images/xyz.png to
/foo/images/xyz.png (if that file exists), otherwise to /bar/images/xyz.png.
My problem is that i cannot get the current working directory to test if
file /foo/... exists because mod_rewrite wants absol
Hello together,
I want to create a rule, that maps /images/xyz.png to
/foo/images/xyz.png (if that file exists), otherwise to /bar/images/xyz.png.
My problem is that i cannot get the current working directory to test if
file /foo/... exists because mod_rewrite wants absolute pathnames only,
relat
Robert T Wyatt wrote:
Yes, in a community with 70,000 users and millions of hits a day, the
admins don't like every department to have access to httpd.conf.
:-)
Ok, I can understand them.
Although one could wonder, then, why they allow .htaccess files anyway.
I believe said departments could
Yes, in a community with 70,000 users and millions of hits a day, the
admins don't like every department to have access to httpd.conf.
Eric Covener wrote:
> On Wed, Nov 5, 2008 at 5:46 AM, André Warnier <[EMAIL PROTECTED]> wrote:
>> I mean, before Apache even gets to the .htaccess file, it has to
On Wed, Nov 5, 2008 at 11:46 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> On the other hand, in the Apache 2.2 mod_rewrite on-line help, there is this
> paragraph :
> RewriteRule can be used in per-directory config files (.htaccess). In such
> a case, it will act locally, stripping the local di
On Wed, Nov 5, 2008 at 5:46 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> I mean, before Apache even gets to the .htaccess file, it has to find the
> path to the directory wher the .htaccess file is. And once it finds it, it
> would have to re-interpret that same path and change it.
> It does not
Eric Covener wrote:
On Tue, Nov 4, 2008 at 4:16 PM, Seb <[EMAIL PROTECTED]> wrote:
Hi,
I'm having trouble specifying a seemingly very simple rewrite rule in
.htaccess, where I simply want to redirect from say
http://some.host.com/path to http://some.host.com/Path, and any
subdirectories of cour
On Tue, Nov 4, 2008 at 4:16 PM, Seb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having trouble specifying a seemingly very simple rewrite rule in
> .htaccess, where I simply want to redirect from say
> http://some.host.com/path to http://some.host.com/Path, and any
> subdirectories of course. I thoug
Hi,
I'm having trouble specifying a seemingly very simple rewrite rule in
.htaccess, where I simply want to redirect from say
http://some.host.com/path to http://some.host.com/Path, and any
subdirectories of course. I thought this would do it:
RewriteRule ^path(.*)$ /Path$1 [last]
but it doe
On Mon, Nov 3, 2008 at 2:09 PM, JimRaynor <[EMAIL PROTECTED]> wrote:
> I tried this on several apache servers. On some it works perfectly. On some
> it doesn't work at all. And on some it rewrites first part of the link, but
> not query string (part after ? ) . How to configure Apache for this to
As part of SEO optimization, I use this code in my .htaccess file :
RewriteEngine On
RewriteRule ^some/(.*)/(.*).html$ some.php?&reqa=$1&reqb=$2
This code should rewrite this link:
some/valuea/valueb.html
into this:
some.php?&reqa=valuea&reqb=valueb
I tried this on several apache servers
I am having trouble getting the external program option of RewriteMap to
work.
RewriteMap convert rnd:/path/to/rnd/file
and
RewriteMap convert txt:/path/to/txt/file
both work as expected.
RewriteMap convert prg:/path/to/prg/file
does not work, and the program does not even seem to be called.
On Thu, Oct 16, 2008 at 2:28 PM, ampo <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I have client who turn to Server1.
> Server1 send xmlHTTPRequest Server2 (another domain - "cross domain").
> Server2 should response with XML back to client (through Server1).
> Who can I do this to avoide the security
Hello.
I have client who turn to Server1.
Server1 send xmlHTTPRequest Server2 (another domain - "cross domain").
Server2 should response with XML back to client (through Server1).
Who can I do this to avoide the security problem?
I read the mod_rewrite / documentation but found nothing about it
On Wed, Oct 15, 2008 at 7:25 AM, howard chen <[EMAIL PROTECTED]> wrote:
> Thanks.
>
> On Wed, Oct 15, 2008 at 7:19 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
>> Only where they overlap and it's before 2.2, because it's undefined as
>> to which will run first.
>>
>> In 1.3 you might be able to cont
Thanks.
On Wed, Oct 15, 2008 at 7:19 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
> Only where they overlap and it's before 2.2, because it's undefined as
> to which will run first.
>
> In 1.3 you might be able to control it by AddModule ordering, but in
> 2.0 it may differ from system to system an
On Wed, Oct 15, 2008 at 7:07 AM, howard chen <[EMAIL PROTECTED]> wrote:
> Hello,
>
> On Wed, Oct 15, 2008 at 6:49 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
>> On Wed, Oct 15, 2008 at 4:47 AM, howard chen <[EMAIL PROTECTED]> wrote:
>>>
>>> Seems that Rewrite is done after the proxy? How to control
Hello,
On Wed, Oct 15, 2008 at 6:49 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 15, 2008 at 4:47 AM, howard chen <[EMAIL PROTECTED]> wrote:
>>
>> Seems that Rewrite is done after the proxy? How to control the order then?
>
> in 2.2, rewrite will always happen first. In 2.0 it's unpre
On Wed, Oct 15, 2008 at 4:47 AM, howard chen <[EMAIL PROTECTED]> wrote:
>
> Seems that Rewrite is done after the proxy? How to control the order then?
in 2.2, rewrite will always happen first. In 2.0 it's unpredictable.
To control the order, use RewriteRule with [P] instead of ProxyPass
when it "
bject: [EMAIL PROTECTED] mod_rewrite, mod_proxy, order of execution?
Hello ,
I have the following config in httpd.conf:
my site is http://www.example.com (port 80)
==
RewriteEngine On
RewriteRule ^/$/cgi-bin/index.cgi
ProxyPass /cgi-bin/ http://www.example.com
Hello ,
I have the following config in httpd.conf:
my site is http://www.example.com (port 80)
==
RewriteEngine On
RewriteRule ^/$/cgi-bin/index.cgi
ProxyPass /cgi-bin/ http://www.example.com:9000/cgi-bin/
ProxyPassReverse /cgi-bin/ http://www.example.c
Tom Evans wrote:
On Thu, 2008-10-02 at 16:41 +0100, Tom Evans wrote:
Following up my own email, for the archive, the solution was to add flag
NE to the RewriteRule.
Cheers
Tom
Keeping up my monologue, adding flag NE (no-escape) is still just half a
solution. For an example I created
On Thu, 2008-10-02 at 16:41 +0100, Tom Evans wrote:
> Following up my own email, for the archive, the solution was to add flag
> NE to the RewriteRule.
>
> Cheers
>
> Tom
Keeping up my monologue, adding flag NE (no-escape) is still just half a
solution. For an example I created the file %.html i
On Thu, 2008-10-02 at 09:19 +0100, Tom Evans wrote:
> On Wed, 2008-10-01 at 09:49 -0500, Justin Pasher wrote:
> > Tom Evans wrote:
> > > Hi all.
> > >
> > > I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to
> > > canonicalize the server name. The problem is that the query string s
On Wed, 2008-10-01 at 09:49 -0500, Justin Pasher wrote:
> Tom Evans wrote:
> > Hi all.
> >
> > I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to
> > canonicalize the server name. The problem is that the query string seems
> > to be double escaped by this process. Here is a sample
Tom Evans wrote:
Hi all.
I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to
canonicalize the server name. The problem is that the query string seems
to be double escaped by this process. Here is a sample vhost that
triggers the issue:
ServerName sweetums
ServerAlias fo
Hi all.
I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to
canonicalize the server name. The problem is that the query string seems
to be double escaped by this process. Here is a sample vhost that
triggers the issue:
ServerName sweetums
ServerAlias foofoo
DocumentR
Alain Roger wrote:
Hi,
i would like to rewrite some of my pages so i have the following
.htaccess file under my subfolder _sub/test/
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.php$
article.php?numero=$1&page=$2 [L]
i also have 1 file article.php whic
Hi,
i would like to rewrite some of my pages so i have the following .htaccess
file under my subfolder _sub/test/
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.php$ article.php?numero=$1&page=$2
[L]
i also have 1 file article.php which only display the numero
@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_rewrite bug/by design with mod_mem_cache
cached files?
On Fri, Sep 5, 2008 at 1:20 PM, Anthony J. Biacco
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using apache 2.2.9 with mod_mem_cache to cache some javascript
> files, which is wor
On Fri, Sep 5, 2008 at 1:20 PM, Anthony J. Biacco
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using apache 2.2.9 with mod_mem_cache to cache some javascript
> files, which is working fine.
>
> Today, I added a rewrite rule to forbid access (403) to everything in a
> virtualhost based on the Opera brow
Hi,
I'm using apache 2.2.9 with mod_mem_cache to cache some javascript
files, which is working fine.
Today, I added a rewrite rule to forbid access (403) to everything in a
virtualhost based on the Opera browser, which obviously included the
javascript files.
Problem is, the cached files in memo
On Sep 2, 2008, at 8:01 AM, Krist van Besien wrote:
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
Hi Everyone,
Thanks for your help on this! I ended up changing my thinking a little
bit and ended up doing a subdomain since I found out the server that
is going to
On Sep 2, 2008, at 8:01 AM, Krist van Besien wrote:
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
and this is my log file entry:
127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
[127.0.0.1/sid#1802648][rid#1836238/initial] (2) init rewrite
engine with
requested uri /server
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
> and this is my log file entry:
> 127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
> [127.0.0.1/sid#1802648][rid#1836238/initial] (2) init rewrite engine with
> requested uri /server-status
> 127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
On Sep 2, 2008, at 6:54 AM, Eric Covener wrote:
On Tue, Sep 2, 2008 at 6:20 AM, Jason Pruim <[EMAIL PROTECTED]>
wrote:
RewriteEngine on
RewriteLog "/var/log/httpd/rewrite.log"
RewriteLogLevel 9
RewriteRule /(.*) p.php?purl=$1
Outside of directory/location/htac
On Tue, Sep 2, 2008 at 6:20 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>RewriteEngine on
>RewriteLog "/var/log/httpd/rewrite.log"
>RewriteLogLevel 9
>RewriteRule /(.*) p.php?purl=$1
Outside of directory/location/htaccess, you have to rewrite to an
absolute pa
On Aug 29, 2008, at 10:10 AM, Krist van Besien wrote:
On Fri, Aug 29, 2008 at 15:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
Look in to your log:
It says:
[127.0.0.1/sid#1802648][rid#1836238/initial] (4) RewriteCond:
input='GET' pattern='^TRACE' => not-matched
What exactly do you have in you
On Mon, Sep 1, 2008 at 1:25 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 1, 2008 at 8:01 AM, Stephen Wellington
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Am having trouble with mod_rewrite and would appreciate a little help.
>> I've tried searching Google and reading the manual but fou
On Mon, Sep 1, 2008 at 8:01 AM, Stephen Wellington
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am having trouble with mod_rewrite and would appreciate a little help.
> I've tried searching Google and reading the manual but found little
> that helps!
>
> I am trying to achieve something like this:
>
> Rewr
Hi,
Am having trouble with mod_rewrite and would appreciate a little help.
I've tried searching Google and reading the manual but found little
that helps!
I am trying to achieve something like this:
RewriteRule ^a.php$ b.php [L]
RewriteRule ^b.php$ - [F]
The intention is that requests to a.php
On Fri, Aug 29, 2008 at 15:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
Look in to your log:
It says:
[127.0.0.1/sid#1802648][rid#1836238/initial] (4) RewriteCond:
input='GET' pattern='^TRACE' => not-matched
What exactly do you have in your config? Looks like you have a
RewriteCond somewhere, tha
On Aug 29, 2008, at 3:08 AM, Krist van Besien wrote:
On Thu, Aug 28, 2008 at 17:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
It is case 1 that I want. I want people to be able to type in:
HTTP://www.raoset.com/jasonpruim112 and have my script at:
HTTP://www.raoset.com/purl/purl.php?purl=jasonpru
On Thu, Aug 28, 2008 at 17:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
It is case 1 that I want. I want people to be able to type in:
> HTTP://www.raoset.com/jasonpruim112 and have my script at:
> HTTP://www.raoset.com/purl/purl.php?purl=jasonpruim112 take over control.
OK, than this rule:
RewriteR
On Aug 28, 2008, at 9:21 AM, Krist van Besien wrote:
On Thu, Aug 28, 2008 at 14:41, Jason Pruim <[EMAIL PROTECTED]> wrote:
What I want to do is to rewrite this url:
HTTP://www.raoset.com/purl/customer/index.php?purl=jasonpruim112
To something more like:
HTTP://www.raoset.com/jasonpruim112
On Thu, Aug 28, 2008 at 14:41, Jason Pruim <[EMAIL PROTECTED]> wrote:
> What I want to do is to rewrite this url:
> HTTP://www.raoset.com/purl/customer/index.php?purl=jasonpruim112
>
> To something more like:
>
> HTTP://www.raoset.com/jasonpruim112
In what direction do you want the rewrite? Do yo
Hi Everyone,
Just recently joined this list so I apologize upfront for the toes
that I'm about to stomp on!
I am trying to understand mod rewrite, and not having much luck... I
am looking to do what I feel would be a simple rewrite but have not
found the answer or could not understand it.
mdn teo wrote:
Hi, I have a question about mod_rewrite.
I want to deny access if the variables included in the GET or the POST are
matching a defined string
this is what I use:
RewriteCond %{REQUEST_METHOD} ^(GET|POST)$ [NC]
RewriteCond %{QUERY_STRING} (myvariable=xxx123) [NC]
RewriteR
On Tue, Jul 22, 2008 at 6:04 AM, mdn teo <[EMAIL PROTECTED]> wrote:
> Is there a way with mod_rewrite to verify and match the content of the POST?
No, but maybe something like mod_security can.
--
Eric Covener
[EMAIL PROTECTED]
--
Hi, I have a question about mod_rewrite.
I want to deny access if the variables included in the GET or the POST are
matching a defined string
this is what I use:
RewriteCond %{REQUEST_METHOD} ^(GET|POST)$ [NC]
RewriteCond %{QUERY_STRING} (myvariable=xxx123) [NC]
RewriteRule .*? - [F]
---
Hi,
I'm trying to track down an issue with a set of rewrite rules that I'm
using to convert links from www.mysite.com/dir/page (and /dir/page/)
format into a query-string for a script. To give a better example:
www.example.com/projects/foo=> /index.php?projects/foo
www.example.com/projects/
Hello,
I need to hide an embedded directory in a URL site2.com/site2files/
<-- need to remove that and just see site2.com for the files in /
site2files/
Here's a visual representation of my file system.
site1.com
Document root:
-file
-file.html
-folder/
-site2folder/ (Important!)
-file
-fun
Hello,
I need to hide an embedded directory in a URL site2.com/site2files/
<-- need to remove that and just see site2.com for the files in /
site2files/
Here's a visual representation of my file system.
site1.com
Document root:
-file
-file.html
-folder/
-site2folder/ (Important!)
-file
-fun
- Original Message -
From: [EMAIL PROTECTED]
To: users@httpd.apache.org
Date: 15.06.2008 18:59:13
Subject: Re: [EMAIL PROTECTED] mod_rewrite difference Apache 2.0 and 2.2 ?
> Do you have MultiViews enabled under 2.2 but not under 2.0?
>
> >
> > Hi,
> &g
Do you have MultiViews enabled under 2.2 but not under 2.0?
On Sun, Jun 15, 2008 at 9:09 AM, Sascha Kersken <[EMAIL PROTECTED]> wrote:
> Krist van Besien schrieb:
>>
>> On Sat, Jun 14, 2008 at 13:41, Jan <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Hi!
>>>
>>> I have just noticed yesterday that one of my
Krist van Besien schrieb:
On Sat, Jun 14, 2008 at 13:41, Jan <[EMAIL PROTECTED]> wrote:
Hi!
I have just noticed yesterday that one of my mod_rewrite rules which works fine
in Apache 2.0 doesn't seem to work in Apache 2.2.
Here is the rule:
RewriteRule ^portfolio/([0-9]+)(/)?$ portfolio.ph
On Sat, Jun 14, 2008 at 13:41, Jan <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have just noticed yesterday that one of my mod_rewrite rules which works
> fine in Apache 2.0 doesn't seem to work in Apache 2.2.
>
> Here is the rule:
>
> RewriteRule ^portfolio/([0-9]+)(/)?$ portfolio.php?serie=$1
>
> So a
Hi!
I have just noticed yesterday that one of my mod_rewrite rules which works fine
in Apache 2.0 doesn't seem to work in Apache 2.2.
Here is the rule:
RewriteRule ^portfolio/([0-9]+)(/)?$ portfolio.php?serie=$1
So a request to portfolio/ID is supposed to be send to portfolio.php?serie=ID.
Th
David Bylsma wrote:
> On Sat, Apr 26 at 11:49 AM, Josua Silve
> <[EMAIL PROTECTED]> wrote:
>
>
>> I would probably avoid the program rewrite map (which is a potential
>>
> bottleneck).
>
>
In the end, we have opted for use of the rewrite program, rewritten in c
for speed. So far it appe
You've probably already seen this, but just in case: I see in the config
file in the "Alias" section, this:
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
#
459-5354
-Original Message-
From: Eric Bowman [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 9:30 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_rewrite to fix trailing slash problem
Tim Gustafson wrote:
> Hi,
>
> I have a web page that works when you in
Tim Gustafson wrote:
Hi,
I have a web page that works when you include the trailing slash:
http://www.foo.com/blah/
But, if you leave the trailing slash off, it does not work and you get a 403
error:
http://www.foo/com/blah
So, I tried to fix this using some mod_rewrite rules, as follows:
R
Hi,
I have a web page that works when you include the trailing slash:
http://www.foo.com/blah/
But, if you leave the trailing slash off, it does not work and you get a 403
error:
http://www.foo/com/blah
So, I tried to fix this using some mod_rewrite rules, as follows:
RewriteEngine On
Rewrite
Hi all
I have a 2.2.8 server directing traffic (mod_rewrite) to a bunch of
back-end servers. We use a 499 status code from the back end to
indicate some sort of error condition to clients.
When the clients access the back-end directly, there is no problem.
When an error ocurrs, they get the 499.
On Sat, Apr 26 at 11:49 AM, Josua Silve
<[EMAIL PROTECTED]> wrote:
> I would probably avoid the program rewrite map (which is a potential
bottleneck).
Agreed, unfortunately, neither of your suggestions can be implemented in
my environment:
> One very simple one would be to make your RewriteRule
On Fri, Apr 25, 2008 at 4:32 PM, David Bylsma
<[EMAIL PROTECTED]> wrote:
>
> Is there a simpler way?
I would probably avoid the program rewrite map (which is a potential
bottleneck). There are several ways to do this. One very simple one
would be to make your RewriteRule something like
RewriteRu
URL for product pages used to look like this:
/product?sku=SKU
In our new version, each product is getting a nice looking path
assigned. New URLs are of the form
/product/PRODUCT_PATH?sku=SKU
I create a txt rewrite map file. Here is an example
/etc/httpd/conf/sku_to_path.txt:
01 Path_To_
-- Forwarded message --
From: Rich Bowen <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tue, 22 Apr 2008 10:02:04 -0400
Subject: Re: [EMAIL PROTECTED] mod_rewrite: PATH_INFO gets injected with each
Rule
On Apr 21, 2008, at 08:54, Aleksander Budzynowski wrote:
Hi
On Apr 21, 2008, at 08:54, Aleksander Budzynowski wrote:
Hi,
The behaviour I'm seeing resemebles the bug described here: http://
archive.apache.org/gnats/7879 Reportedly it was fixed in 2.0.30.
However, testing under both 2.2.3 and 2.0.61 I get the same sort of
problem.
Essentially, PAT
Hi,
The behaviour I'm seeing resemebles the bug described here:
http://archive.apache.org/gnats/7879 Reportedly it was fixed in
2.0.30.However, testing under both 2.2.3 and 2.0.61 I get the same
sort of problem.
Essentially, PATH_INFO is appended to the end of the URI before each
RewriteRule is p
I am having trouble telling mod_rewrite to leave an incoming url as is. There
are other rules that take every incoming url and rewrite it based on some
parameters.
In other words i am trying to say this url is an exception and there no
matter what, leave it alone and let it go as is to tomca
On Tue, 2008-03-11 at 14:22 +0100, Thorsten Scherler wrote:
> On Tue, 2008-03-11 at 13:20 +0100, Krist van Besien wrote:
> > On Tue, Mar 11, 2008 at 12:29 PM, Thorsten Scherler
> > <[EMAIL PROTECTED]> wrote:
...
> > Now, what is not entirely clear is what you are trying to do. You want
> > to look
On Tue, 2008-03-11 at 13:20 +0100, Krist van Besien wrote:
> On Tue, Mar 11, 2008 at 12:29 PM, Thorsten Scherler
> <[EMAIL PROTECTED]> wrote:
>
> > To overcome that problem I took your suggestion and combined it like:
> > RewriteCond ${portadaboja:boletin} ^(.+)$
> > RewriteCond %{REQUEST
On Tue, Mar 11, 2008 at 12:29 PM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> To overcome that problem I took your suggestion and combined it like:
> RewriteCond ${portadaboja:boletin} ^(.+)$
> RewriteCond %{REQUEST_URI} /%1
>
> but that is never got hit.
>
> What I actually trying i
On Tue, 2008-03-11 at 09:04 +0100, Krist van Besien wrote:
> On Tue, Mar 11, 2008 at 8:37 AM, Thorsten Scherler
> <[EMAIL PROTECTED]> wrote:
> > On Mon, 2008-03-10 at 14:01 +0100, Krist van Besien wrote:
>
> > > If you want to save that information during request processing you can
> > > use an
On Mon, 2008-03-10 at 14:10 +0100, Krist van Besien wrote:
> On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler
> <[EMAIL PROTECTED]> wrote:
>
> > Does somebody has an idea how I can save either whether a rewrite had
> > happened or the result of the rewriteMap expression.
>
> Maybe you could t
On Tue, Mar 11, 2008 at 8:37 AM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> On Mon, 2008-03-10 at 14:01 +0100, Krist van Besien wrote:
> > If you want to save that information during request processing you can
> > use an environment variable, just like you did. If you want to save
> > infor
On Mon, 2008-03-10 at 14:01 +0100, Krist van Besien wrote:
> On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler
> <[EMAIL PROTECTED]> wrote:
>
> > RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt
> > SetEnv FOCUS ${portadaboja:boletin}
> >
> > but the variable will the return the litera
On Mon, Mar 10, 2008 at 10:10 AM, Michael J Gruber
<[EMAIL PROTECTED]> wrote:
> Had you been reading on you would have noticed that processing of
> per-dir config poses some questions already (putting it as per-dir in
> DOCROOT is always an option).
Sure, but I don't see them as worth answerin
Joshua Slive venit, vidit, dixit 10.03.2008 14:57:
On Mon, Mar 10, 2008 at 7:35 AM, Michael J Gruber
<[EMAIL PROTECTED]> wrote:
Background:
I'm experimenting with per dir mod_rewrite although this stuff will end
up in server config finally, this may make a difference. I'm using rules
like
On Mon, Mar 10, 2008 at 7:35 AM, Michael J Gruber
<[EMAIL PROTECTED]> wrote:
> Background:
> I'm experimenting with per dir mod_rewrite although this stuff will end
> up in server config finally, this may make a difference. I'm using rules
> like
I'm not even going to read the rest of the que
On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> Does somebody has an idea how I can save either whether a rewrite had
> happened or the result of the rewriteMap expression.
Maybe you could try this:
RewriteCond ${portadaboja:boletin} ^(.+)$
RewriteRule ^/BO
On Mon, Mar 10, 2008 at 1:44 PM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt
> SetEnv FOCUS ${portadaboja:boletin}
>
> but the variable will the return the literal context. Meaning
> ${portadaboja:boletin} and not the result of this e
On Mon, Mar 10, 2008 at 1:12 PM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> On Mon, 2008-03-10 at 11:20 +0100, Krist van Besien wrote:
> > On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler
> > <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > I am trying to use the E flag in some of m
On Mon, 2008-03-10 at 13:12 +0100, Thorsten Scherler wrote:
> On Mon, 2008-03-10 at 11:20 +0100, Krist van Besien wrote:
> > On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler
> > <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > I am trying to use the E flag in some of my rewrite rules but wit
On Mon, 2008-03-10 at 13:03 +0100, Thorsten Scherler wrote:
> On Mon, 2008-03-10 at 12:35 +0100, Michael J Gruber wrote:
> > Hi there,
> ...
> > Background:
> > I'm experimenting with per dir mod_rewrite although this stuff will end
> > up in server config finally, this may make a difference. I'm u
On Mon, 2008-03-10 at 11:20 +0100, Krist van Besien wrote:
> On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I am trying to use the E flag in some of my rewrite rules but without
> > suggest.
> >
> > I have following configuration:
> > Rewrite
On Mon, 2008-03-10 at 12:35 +0100, Michael J Gruber wrote:
> Hi there,
...
> Background:
> I'm experimenting with per dir mod_rewrite although this stuff will end
> up in server config finally, this may make a difference. I'm using rules
> like
>
> RewriteEngine on
> RewriteRule ^t(.*)/([^/]*)
Hi there,
this is a question about Apache/2.0.52. I have content negotiation and
mod_dir working, serving stuff like dir/index.html.en or
dir/index.html.de on requests for:
dir/index.html
dir/index
dir/
dir
But I'm confused about the order in which rewrite, negotiation and dir
modules are (re)a
On Mon, Mar 10, 2008 at 9:58 AM, Thorsten Scherler
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying to use the E flag in some of my rewrite rules but without
> suggest.
>
> I have following configuration:
> RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt
> RewriteRule "^/BOJA$"
>
Hi all,
I am trying to use the E flag in some of my rewrite rules but without
suggest.
I have following configuration:
RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt
RewriteRule "^/BOJA$"
"http://%{HTTP_HOST}/boja/${portadaboja:boletin}"; [E=FOCUS:true,R]
The redirect works fine but wh
On Thu, Mar 6, 2008 at 2:19 PM, John Donaldson <[EMAIL PROTECTED]> wrote:
>
> I have several sites with URLs like main.server.com/mydir1/page1 and would
> like to use subdomains so people could have their own personal domain that
> maps to their directory. For the above example, I'd like to use
>
I have several sites with URLs like main.server.com/mydir1/page1 and would
like to use subdomains so people could have their own personal domain that
maps to their directory. For the above example, I'd like to use
subdomain.server.com/page1, but it actually pulls the content from
main.server.com/m
> > This is a simple task, except that the value of the cookie actually has
> > a ":" in it which confuses mod_rewrite and the parameters since the
> > parameter separator is a ":".
>
> You just need to escape the colon as "%3A" (percentage-three-uppercase A).
HmmmThanks. How to do that in th
On 2008-03-04, Ben Spencer wrote:
> This is a simple task, except that the value of the cookie actually has
> a ":" in it which confuses mod_rewrite and the parameters since the
> parameter separator is a ":".
You just need to escape the colon as “%3A” (percentage-three-uppercase A).
--
Daniel’s
Configuration: 2 servers which use two different cookies to help maintain
sessions. The cookies are set domain wide so each server can actually update
the others cookies.
When a request is sent to either server, I want to be able to update the
others cookies (session timeout time) with mod_rewrite
1 - 100 of 595 matches
Mail list logo