Hi, I am having a little problem here, I have a .htaccess that looks
thus:
RewriteEngine on
RewriteBase /INDEX
RewriteRule \.(log|sqlite)$ index.php [L]
RewriteRule \.(js|css|png|jpg|gif|xml)$ - [L]
RewriteRule ^(.*)$ index.php?m=$1 [L,QSA]
When I type "http://foo/INDEX/mp3"; it goes [internally
On Sun, 23 Mar 2008, Joshua Slive wrote:
Mh, is that new?
That particular document is relatively new. But the behavior of
mod_rewrite in this regard has not changed for as long as I remember.
Ah, QSA appends, and doesn't allow parsing. I've always wanted to parse.
Still, you are right, t
On Sun, Mar 23, 2008 at 12:16 PM, Nils Jeppe <[EMAIL PROTECTED]> wrote:
>
>
> On Sun, 23 Mar 2008, Joshua Slive wrote:
>
> > Not quite. See:
> > http://wiki.apache.org/httpd/RewriteQueryString
>
> Mh, is that new?
That particular document is relatively new. But the behavior of
mod_rewrite in t
On Sun, 23 Mar 2008, Joshua Slive wrote:
Not quite. See:
http://wiki.apache.org/httpd/RewriteQueryString
Mh, is that new?
- Nils
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://htt
On Sun, Mar 23, 2008 at 11:19 AM, Nils Jeppe <[EMAIL PROTECTED]> wrote:
>
>
> On Sun, 23 Mar 2008, Sam Carleton wrote:
>
> > The category/fldoid is always going to be present, the p can be
> > changed for other variables, so this is what I came up with, but the 7
> > is not being picked up by t
On Sun, 23 Mar 2008, Sam Carleton wrote:
The category/fldoid is always going to be present, the p can be
changed for other variables, so this is what I came up with, but the 7
is not being picked up by the PHP code:
Well - you terminate your rule at .php and then create a new url with
empty
I am trying to get this URL
/category/838fe8cb-40d2-4a38-85ba-a1ee46214894/p.php?7
Turned into this:
index.php?fldoid=838fe8cb-40d2-4a38-85ba-a1ee46214894&p=7
The category/fldoid is always going to be present, the p can be
changed for other variables, so this is what I came up with, but the 7
i
-Original Message-
From: Shelley [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2008 3:19 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] RewriteRule help
Hi all,
Anybody knows what apache RewriteRule to use if I want url:
http://www.aaa.comm/user//
be rewritten as:
http
On Sat, Mar 1, 2008 at 5:49 PM, Shelley <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Anybody knows what apache RewriteRule to use if I want url:
> http://www.aaa.comm/user//
> be rewritten as:
> http://www.aaa.comm/user/index.php//
>
try:
RewriteRule ^/(.*)/(.+)/$ /$1/index.php/$2/
Not
Hi all,
Anybody knows what apache RewriteRule to use if I want url:
http://www.aaa.comm/user//
be rewritten as:
http://www.aaa.comm/user/index.php//
Any help, thank you very much.
--
Cheers,
Shelley
-
The official Use
On Feb 20, 2008, at 3:45 PM, Ruslan Sivak wrote:
Krist van Besien wrote:
On Wed, Feb 20, 2008 at 6:20 PM, Ruslan Sivak
<[EMAIL PROTECTED]> wrote:
So basically appache is not encoding the arguments when they're
proxied. When it gets to index.html it just sees user=testing.
How do I make
Krist van Besien wrote:
On Wed, Feb 20, 2008 at 6:20 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
So basically appache is not encoding the arguments when they're
proxied. When it gets to index.html it just sees user=testing.
How do I make apache properly encode the arguments?
Prop
On Wed, Feb 20, 2008 at 6:20 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
> So basically appache is not encoding the arguments when they're
> proxied. When it gets to index.html it just sees user=testing.
>
> How do I make apache properly encode the arguments?
Properly encoding the arguments i
Krist van Besien wrote:
On Feb 19, 2008 11:35 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
Logs:
for somehostname.com/u/testing test
127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
[somehostname.com/sid#7680e0][rid#a82fa0/initial] (2) init rewrite
engine with requested uri /u/testing test
127.0
On Feb 19, 2008 11:35 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
> Logs:
>
> for somehostname.com/u/testing test
>
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (2) init rewrite
> engine with requested uri /u/testing test
> 127.0.0.1 - - [19/Feb
On Tue, 19 Feb 2008, Ruslan Sivak wrote:
for somehostname.com/u/#1 test
127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
[somehostname.com/sid#7680e0][rid#aa10c8/initial] (2) init rewrite engine
with requested uri /u/#1 test
127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
[somehostname.com/sid#7680
Eric Covener wrote:
On Feb 19, 2008 3:37 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
I have the following rewrite rule
RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC]
for some reason this rule is not working for things like this
/u/Testing test
/u/#1 Test
etc. What am I missing? I t
On Feb 19, 2008 3:37 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote:
> I have the following rewrite rule
>
> RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC]
>
> for some reason this rule is not working for things like this
>
> /u/Testing test
> /u/#1 Test
>
> etc. What am I missing? I though .+ w
I have the following rewrite rule
RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC]
for some reason this rule is not working for things like this
/u/Testing test
/u/#1 Test
etc. What am I missing? I though .+ would match everything?
Russ
--
On Feb 4, 2008 5:20 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote:
> I tried adding this line
> -
> RewriteRule ^(.*)$ /$1/ [R=301]
> -
> The page isn't redirecting properly
At least protect it from running when the URL ends in a slash such as:
RewriteRule ^(.*[^/])$ /$1/ [R=301
Hi.
Using Apache 2, I want to create a RewriteRule within the '.htaccess'
file which redirects from:
http://foo.com/directory
to
http://foo.com/directory/
This last "directory" is a RewriteRule:
--
RewriteRule ^([^/]+)/$ /directory.php?label=$1 [L]
-
I tried adding this line
On Sun, 13 Jan 2008 12:37:54 +
Mike Cardwell <[EMAIL PROTECTED]> wrote:
> > [B] was new in 2.2.7.
>
> 2.2.6 is the latest version I can find on
> http://httpd.apache.org/download.cgi, which makes me wonder why the
> documentation includes stuff that doesn't even exist in a stable
> release
Nick Kew wrote:
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)$
http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P]
and this gives $1 only part to first space. However, on
What happens if you add [B] to the [P] rule
On Fri, 11 Jan 2008, Nick Kew wrote:
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P]
and this gives $1 only part to first space.
What happens if you add [B] to the
On Fri, 11 Jan 2008 12:03:22 +0200 (EET)
Jori Mantysalo <[EMAIL PROTECTED]> wrote:
> On Thu, 10 Jan 2008, Pau Garcia i Quiles wrote:
>
> >> See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
> >>
> >> There is per-directory .htaccess that says
> >>
> >> RewriteRule ^(.+)$
> >> http://www.u
On Thu, 10 Jan 2008, Pau Garcia i Quiles wrote:
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1
[P]
and this gives $1 only part to first space. However, on
What ha
Quoting Jori Mantysalo <[EMAIL PROTECTED]>:
I asked about this two weeks ago. Anyone got ideas? If not, who is
right person to contact? Maintainer of mod_proxy or mod_rewrite?
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)
I asked about this two weeks ago. Anyone got ideas? If not, who is right
person to contact? Maintainer of mod_proxy or mod_rewrite?
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/f
See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
There is per-directory .htaccess that says
RewriteRule ^(.+)$ http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P]
and this gives $1 only part to first space. However, on
http://www.uskonnonvapaus.fi/apache-bug/2/one%20two
there is
Hi,
Vincent Bray wrote:
> On 14/12/2007, Neil A. Hillard <[EMAIL PROTECTED]> wrote:
>> To me this doesn't make sense. All rewriting is relative to the
>> DocumentRoot anyway so you shouldn't have to include it in the
>> RewriteRule. You can't use RewriteRule to map to arbitrary directories
>> in
On 14/12/2007, Neil A. Hillard <[EMAIL PROTECTED]> wrote:
> To me this doesn't make sense. All rewriting is relative to the
> DocumentRoot anyway so you shouldn't have to include it in the
> RewriteRule. You can't use RewriteRule to map to arbitrary directories
> in the filesystem.
Hi Neil,
Tha
Hi,
Samuel Vogel wrote:
> It seems like Apache just forgets about the "../". A relative path to
> "../wcf/" called from "wbb.samy.domain.de" results in the following:
> [Thu Dec 13 21:26:24 2007] [error] [client 160.94.18.117] File does not
> exist: /data/apache/users/domain.de/samy/www/wbb/wcf, r
It seems like Apache just forgets about the "../". A relative path to
"../wcf/" called from "wbb.samy.domain.de" results in the following:
[Thu Dec 13 21:26:24 2007] [error] [client 160.94.18.117] File does not
exist: /data/apache/users/domain.de/samy/www/wbb/wcf, referer:
http://wbb.samy.domain
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
> I don't understand why it worked beforehand with my insecure RewriteRule.
> Also in my opinion mod_rewrite should/does not change the path, it just
> makes it appear different!?
>
> For example, when I call "samy.domain.de/wbb" it works, but
Vincent Bray schrieb:
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I did that, but unfortunately it breaks something else, which worked
before. When a page in a subdirectory tried to get an image from an
directory relative to the docroot, that does not work anymore.
This can be seen
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
> I did that, but unfortunately it breaks something else, which worked
> before. When a page in a subdirectory tried to get an image from an
> directory relative to the docroot, that does not work anymore.
> This can be seen here: http://tinyur
Ok, thanks for the hint!
I did that, but unfortunately it breaks something else, which worked
before. When a page in a subdirectory tried to get an image from an
directory relative to the docroot, that does not work anymore.
This can be seen here: http://tinyurl.com/37owgr
How can I fix this?
On Dec 13, 2007 7:31 PM, Samuel Vogel <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I just noticed a really bad security problem on my servers!
> The following RewriteRule exposes my system directories like /etc and
> /var etc. :
>
> RewriteCond %{HTTP_HOST} !^www\.user\.domain\.de
> RewriteCond %{HTT
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
> I just noticed a really bad security problem on my servers!
> The following RewriteRule exposes my system directories like /etc and
> /var etc. :
Hi,
This is a common misconception, sadly. Documented here:
http://wiki.apache.org/httpd/Rewr
I guess I would have to mention, that this is inside of the virtual host
definition!
Samuel Vogel schrieb:
Hey guys,
I just noticed a really bad security problem on my servers!
The following RewriteRule exposes my system directories like /etc and
/var etc. :
RewriteCond %{HTTP_HOST} !^www\.
Hey guys,
I just noticed a really bad security problem on my servers!
The following RewriteRule exposes my system directories like /etc and
/var etc. :
RewriteCond %{HTTP_HOST} !^www\.user\.domain\.de
RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+)\.user\.domain\.de
RewriteRule (.*) /%2/$1 [L]
On 10/22/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
> On 10/22/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
> > On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> > > How should I write a rewrite rule so that it appears to
> > > visitors that they are at http://foo(.*) but the files
> > > res
On 10/22/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
> On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> > How should I write a rewrite rule so that it appears to
> > visitors that they are at http://foo(.*) but the files
> > reside at http://bar/site/foo? Supposing that the rewrite
> > rule
On 10/22/07, BP Jonsson <[EMAIL PROTECTED]> wrote:
> How should I write a rewrite rule so that it appears to
> visitors that they are at http://foo(.*) but the files
> reside at http://bar/site/foo? Supposing that the rewrite
> rule is in a .htaccess under the foo root directory, what
> should it l
How should I write a rewrite rule so that it appears to
visitors that they are at http://foo(.*) but the files
reside at http://bar/site/foo? Supposing that the rewrite
rule is in a .htaccess under the foo root directory, what
should it look like?
TIA,
/BP
-
You could try something like that
RewriteEngine On
RewriteCond %{HTTP_HOST} demo.mysite.com [NC]
RewriteCond %{QUERY_STRING} .*logout=1.* [NC]
RewriteRule ^/.* http://www.mysite.com [L,R=302]
--
Bj
On 9/12/07, Aziz Sasmaz <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi all,
>
> I want to write a rule.
Hi all,
I want to write a rule. When visitors logs out from our demo site i dont
want them to to see demo sites index page. I want to reidirect them to the
original site using rewriterules..
For example when apache sees the site
http://demo.mysite.com/srv/home?logout=1 It has to redirect i
On 8/6/07, wi <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I need to create a rule to map requests such as
>
> /names/123/data
>
> to
>
> /names/1/2/3/data
>
> I can't control how many digits I need to split up like this, which is where
> my regex skillz are breaking down.
RewriteRule ^/names/([0-9]/)*
Hi all
I need to create a rule to map requests such as
/names/123/data
to
/names/1/2/3/data
I can't control how many digits I need to split up like this, which is where
my regex skillz are breaking down.
Any ideas?
thanks
Wayne
--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+
i´ve got it ;-)
@martijn thanks for your help.
RewriteCond %{HTTP_USER_AGENT} .*nokia.* [NC,OR]
[...]
RewriteCond %{HTTP_USER_AGENT} .*safari.* [NC]
RewriteRule ^/$ http://www.domain.de/XY2/ [R,L]
RewriteCond %{HTTP_USER_AGENT} .*nokia.* [NC,OR]
[...]
RewriteCond %{HTT
On 7/17/07, tina exner <[EMAIL PROTECTED]> wrote:
I have the below RewriteRules configured in my httpd.conf (Apache
Version 2.0.54)
But i never reach the site XY1, because:
(rewrite.log)...explicitly forcing redirect with...
I changed the Flags but it still doesn´t work.
How do i have to configur
hi,
I have the below RewriteRules configured in my httpd.conf (Apache
Version 2.0.54)
But i never reach the site XY1, because:
(rewrite.log)...explicitly forcing redirect with...
I changed the Flags but it still doesn´t work.
How do i have to configure it to work correctly ?
RewriteCond %{HTTP
On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote:
##
RewriteRule ^/index.mv [L] # Don't affect main index
RewriteRule ^/admin [L] # Don't affect /admin directory
RewriteRule ^/gallery [L] # Don't affect /gall
At 07:11 PM 7/16/2007, you wrote:
On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote:
Hey guys.
It looks like I'm not the only one having rewriterule/cond fun lately. LOL
I'm having a tough time figuring this out, and it's probably
something simple that I'm making harder than it is.
Rather t
On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote:
Hey guys.
It looks like I'm not the only one having rewriterule/cond fun lately. LOL
I'm having a tough time figuring this out, and it's probably
something simple that I'm making harder than it is.
Rather than post examples of what I've trie
On 7/16/07, Thierry Kennes <[EMAIL PROTECTED]> wrote:
I've just tried :
RewriteRule ^Test\.com$ Testcom
and
RewriteRule (.*)\.(.*) $1$2
as you suggested.
Here is the message i get with the browser : The requested URL /Test.com was
not found on this server.
Server error and access logs (and of
Hey guys.
It looks like I'm not the only one having rewriterule/cond fun lately. LOL
I'm having a tough time figuring this out, and it's probably
something simple that I'm making harder than it is.
Rather than post examples of what I've tried - since none of them
work - and it'll show my maj
I've just tried :
RewriteRule ^Test\.com$ Testcom
and
RewriteRule (.*)\.(.*) $1$2
as you suggested.
Here is the message i get with the browser : The requested URL /Test.com was
not found on this server.
the .htaccess file :
RedirectMatch ^/wiki/([A-Z].*)$ http://wiki.tpkennes.com/$1
RewriteEngi
On 7/16/07, Thierry Kennes <[EMAIL PROTECTED]> wrote:
Thanks Joshua for your advice.
Though it didn't worked. It's like if the server is trying to find a file
named "Test.com" like if it was index.php.
So i don't know what should i have to do ... btw, i'm using mediawiki.
Statements like "it d
Thanks Joshua for your advice.
Though it didn't worked. It's like if the server is trying to find a file
named "Test.com" like if it was index.php.
So i don't know what should i have to do ... btw, i'm using mediawiki.
Joshua Slive-2 wrote:
>
> When you say "it doesn't work because of the dot"
On 7/13/07, Thierry Kennes <[EMAIL PROTECTED]> wrote:
Hi there,
I completely new in Apache config and all that stuff.
I've got a wiki (for example : http://wiki.thierrykennes.com)
and when I want to create a page Test.com
so that it looks like this : http://wiki.thierrykennes.com/Test.com, it
do
Hi there,
I completely new in Apache config and all that stuff.
I've got a wiki (for example : http://wiki.thierrykennes.com)
and when I want to create a page Test.com
so that it looks like this : http://wiki.thierrykennes.com/Test.com, it
doesn't work because of the dot.
I was told to look
On 4/24/07, uxwrstre <[EMAIL PROTECTED]> wrote:
I tried to use RewriteRule in a .htaccess file and it does not work. Its
totally ignored by mod_rewrite. And its strange because in the configuration
file of Apache it works.
RewriteRule ^/intranet$ /internet [R]
Prefix matching
Hello,
I have a problem:
I tried to use RewriteRule in a .htaccess file and it does not work. Its
totally ignored by mod_rewrite. And its strange because in the configuration
file of Apache it works.
And I put in the main configuration file:
Options Indexes FollowSymLinks MultiVie
Hi there.
I've got a set of rewrite rules designed to allow for search-engine
freindly URLs. An example rule looks like this:
RewriteRule ^(register|course)/([A-Z]{2,2}[0-9]{4,4}) $1.php?id=$2
This rule has been working for the past year or so in rewriting URLs like
http://my.server.com/reg
On 2/2/07, Andreas Matthias <[EMAIL PROTECTED]> wrote:
My RewriteRule is working for http connections but not for https
connections.
In my .htaccess I have the following RewriteRule:
RewriteEngine on
RewriteBase /drupal/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAM
On Friday, February 02, 2007 11:59 AM [GMT+1=CET],
Andreas Matthias <[EMAIL PROTECTED]> wrote:
> But if I am trying to connect to https://localhost/drupal/ the
> RewriteRule doesn't seem to be executed.
You probably need to have 'RewriteEngine On' (and of
course all the rule set too) for the http
My RewriteRule is working for http connections but not for https
connections.
In my .htaccess I have the following RewriteRule:
RewriteEngine on
RewriteBase /drupal/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
This
On 1/31/07, Javier Martínez Fernández <[EMAIL PROTECTED]> wrote:
Thanks, but I can't understand this. I'm a newbie on apache config.
Some more help, please?
El 31/01/2007, a las 21:04, Joshua Slive escribió:
> On 1/31/07, Javier Martínez Fernández <[EMAIL PROTECTED]> wrote:
>> I'm making a rew
Thanks, but I can't understand this. I'm a newbie on apache config.
Some more help, please?
El 31/01/2007, a las 21:04, Joshua Slive escribió:
On 1/31/07, Javier Martínez Fernández <[EMAIL PROTECTED]> wrote:
I'm making a rewrite rule and I'm having problems with the "?"
character
Read the
On 1/31/07, Javier Martínez Fernández <[EMAIL PROTECTED]> wrote:
I'm making a rewrite rule and I'm having problems with the "?" character
Read the box labeled "Note: Query String" under
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
Joshua.
-
I'm making a rewrite rule and I'm having problems with the "?" character
My rule is this
RewriteRule ^([a-z0-9-]+)/?([a-z0-9-]+)?/?([0-9]+)?\?([a-z0-9=]+)?$
index.php?controller=$1&action=$2&id=$3&$4 [NC,L]
and the url I test is "http://localhost:/kmodo/something/more/1?
mivar=5"
It doesn
On Tue, December 12, 2006 1:22 am, Boyle Owen wrote:
>> -Original Message-
>> From: Richard Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, December 12, 2006 2:32 AM
>> To: users@httpd.apache.org
>> Subject: [EMAIL PROTECTED] RewriteRule oddity
>>
&
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 12, 2006 2:32 AM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] RewriteRule oddity
>
> I have a RewriteRule that works on all but one (1) input where I woul
I have a RewriteRule that works on all but one (1) input where I would
expect it to work.
Here is the site (currently very ugly, but functional):
http://telephonebook.com/index.php
The example redirect links all work.
If you try it with '2' the re-direct behaves as expected:
http://telephonebook
After installing RoR on Apache 1.3 there is a problem with the trailing
Slash
HowtoInstallAndRunRubyOnRailsOnCpanel
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpane
l
Problem
This url displays the site
1. http://www.yourtestdomain.com/rails/
but this displays 400 Bad Re
Hi Josha,
Thanks for excellent advise; the following works:
RewriteCond %{REQUEST_URI} ^/Merchant2/merchant.mv [NC]
RewriteCond %{QUERY_STRING}
^Screen\=CTGY\&Store_Code=AWLAS\&Category_Code\=Abc+Xyz$
RewriteRule (.*)
http://www.sitename.com/index.php?action=view_user&user=2[R=301,L]
On 11/17/0
Hi Josha,
Thanks for your patience and help. I do not have access to a server and the
application that is serving the old url's.
I think it is a syntax issue, one old URL routed to one new URL.
Old url
http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote:
I have also tried with quotes, same error message
RewriteLog "/usr/local/var/apache/logs/rewrite.log"
> your security could be compromised if the directory where logfiles are
stored is writable by anyone other than the user that starts the se
I have also tried with quotes, same error message
RewriteLog "/usr/local/var/apache/logs/rewrite.log"
your security could be compromised if the directory where logfiles are
stored is writable by anyone other than the user that starts the server.
I am on a virtual host, Hosting provider is pro
I udated the Rewrite rule as follows:
RewriteRule merchant.mv
http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L]
It is not being rerouted.
#This RewriteLog line gives an error message
RewriteLog /home/site/www/Merchant2/logs_server_rewrite.txt
500 Internal Server error
The serv
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote:
Old url
http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz
New URL
http://www.sitename.com/index.php?action=view_user&user=2
htaccess is located in folder Merchant2
RewriteEngine On
RewriteBase /
Old url
http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz
New URL
http://www.sitename.com/index.php?action=view_user&user=2
htaccess is located in folder Merchant2
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING}
^Screen=CTGY&Store_Code=A
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote:
RewriteCond %{QUERY_STRING}
/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz
RewriteRule ^/$
http://www.sitename.com/index.php?action=view_user&user=2
[R=301,L]
The condition is not met; It is going to the old url.
It
RewriteCond %{QUERY_STRING}
/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz
RewriteRule ^/$
http://www.sitename.com/index.php?action=view_user&user=2[R=301,L]
The condition is not met; It is going to the old url.
It should redirect to the new url when the old string (url
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote:
RewriteRule
^/merchant.mv\?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$
http://www.sitename.com/index.php?action=view_user&user=2
[R=301,L]
I have tried the above, but not working.
Telling us that it is "not working" is not a good way
RewriteRule
^/merchant.mv\?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$
http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L]
I have tried the above, but not working.
Thanks, Darly
On 11/16/06, Joshua Slive <[EMAIL PROTECTED]> wrote:
On 11/16/06, Darly Coupet <[EMAIL PROT
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote:
Hi,
Unable to get Rewriterule working
I have modified htaccess file in folder Merchant2 as follows:
RewriteEngine On
#RewriteRule ^old/URL/path$ http://yourdomain.com/new/path [R=301,L]
Redirect 301
/Merchant2/merchant.mv?Screen=CTGY&Store_
Hi,
Unable to get Rewriterule working
I have modified htaccess file in folder Merchant2 as follows:
RewriteEngine On
#RewriteRule ^old/URL/path$ http://yourdomain.com/new/path [R=301,L]
Redirect 301
/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz
http://www.sitename.c
On 8/4/06, Ikke Snoeckx <[EMAIL PROTECTED]> wrote:
Hello all
I seem to have a weird problem with a RewriteRule...
RewriteCond %{HTTP_USER_AGENT} !^Mozilla/5.* [OR]
RewriteCond %{HTTP_USER_AGENT} !^Opera.*
RewriteRule ^/$ http://www.getfirefox.com [R]
Basically, I want every MSIE to be redirect
Hello all
I seem to have a weird problem with a RewriteRule...
RewriteCond %{HTTP_USER_AGENT} !^Mozilla/5.* [OR]
RewriteCond %{HTTP_USER_AGENT} !^Opera.*
RewriteRule ^/$ http://www.getfirefox.com [R]
Basically, I want every MSIE to be redirected to getfirefox.com (please
don't argue or ask why
On 7/6/06, Michael <[EMAIL PROTECTED]> wrote:
Hello, everyone. I've got a bunch of directories like
http://www.example.com/mem_AAA/mem_AAA.htm, where AAA is a member's initials.
I'm trying to redirect all traffic to these directories to their new
location: http://www.example.com/members/mem_AA
Hello, everyone. I've got a bunch of directories like
http://www.example.com/mem_AAA/mem_AAA.htm, where AAA is a member's initials.
I'm trying to redirect all traffic to these directories to their new
location: http://www.example.com/members/mem_AAA/mem_AAA.htm
So I've tried countless combinati
Graham Frank wrote:
RewriteRule ^album/([a-z0-9]*)/category/([0-9-]*)/img/([0-9-]*)/?$
displayimage.php?album=$1&cat=$2&pos=$3
Did you check the RewriteLog? So you're using the rule in your
section? Because it is per-dir context (and since you
have access to httpd.conf, there is no need to
Hello all,
I am having a very strange issue with mod_rewrite.
I am in the process of preparing a new web server to production, and I
have been testing the various scripts and programs we use to verify
that everything works properly. My major issue is that a specific
rewrite rule that works
David Hull wrote:
ServerName www.myserver.com
RewriteEngine On
RewriteRule ^/gift/(.*)$ http://www.myserver.com/buy.jsp?gift=$1
RewriteRule ^/refer/(.*)$ http://www.myserver.com/buy.jsp?refer=$1
ProxyPass /download/ http://www.myserver.com/download/
ProxyPassReverse /download/ http
I am running apache 2.0.50 on SuSE 9.2. I also run
Tomcat 5.0.28 and pass connections to it from Apache. I installed Apache from
the SuSE package.
My RewriteRule is not working. It appears to be
completely ignored. Connections get passed to Tomcat via the Proxy pass w/o
being rewritten. I ha
Hi,
Robert Ionescu wrote:
Neil A. Hillard wrote:
Hi,
I've been bashing my head against the wall with this problem for a
while now and apart from a headache haven't really got anywhere.
I currently have Apache (2.0.54 but I've tried 2.0.55), built from
source, running as an accelera
Neil A. Hillard wrote:
Hi,
I've been bashing my head against the wall with this problem for a
while now and apart from a headache haven't really got anywhere.
I currently have Apache (2.0.54 but I've tried 2.0.55), built from
source, running as an accelerator to several backends. Wi
Hi,
I've been bashing my head against the wall with this problem for a
while now and apart from a headache haven't really got anywhere.
I currently have Apache (2.0.54 but I've tried 2.0.55), built from
source, running as an accelerator to several backends. Without getting
too deep into h
1 - 100 of 111 matches
Mail list logo