Jim,
Using mod_alias or mod_rewrite with [R] is functionally equivalent, yes.
The former is simpler and easier to maintain, of course.
Note that you can use RedirectMatch if you need PCRE support and/or
captured expressions.
On 12/06/19 05:42 PM, Jim Weill wrote:
> So just to make sure I have
So just to make sure I have this correct: the main production server has a
couple pages of rewrites for old URLs and home pages that moved servers or
changed path. And changing the baseURL with a Redirect directive in a
vhost instead of mod_rewrite will not break any of that?
jim
On Tue, Jun
Agree, much better than all that rewrite gymnastics.
IC
On Wed, Jun 12, 2019, 6:30 AM Frank wrote:
> No, I assure you, ,mod_rewrite is not needed here.
>
> To enforce a canonical hostname, use the Redirect directive and separate
> vhost. To have all requests handled by a php routing script,
No, I assure you, ,mod_rewrite is not needed here.
To enforce a canonical hostname, use the Redirect directive and separate
vhost. To have all requests handled by a php routing script, use
FallbackResource /path/to/file.php
Lastly, to redirect to https://, use Redirect from a :80 vhost.
On
The sites I am trying to model are drupal-based. We aren't dealing with
plain static HTML or PHP sites. We have the main server, which this test
server is trying to mirror, and a secondary project server which exists to
give project people limited root access to update their own code. The
You are also grossly abusing mod_rewrite for this. It isn't needed at all.
Use FallbackResource, Redirect, and separate vhosts, as Igor mentioned.
On 11/06/19 01:33 AM, Igor Cicimov wrote:
> Since you already have two separate domains why not use virtual hosts
> each with it's own document root?
Since you already have two separate domains why not use virtual hosts each
with it's own document root?
IC
On Tue, Jun 11, 2019, 9:18 AM Jim Weill wrote:
> We have a test server, with test sites that are in two different branches
> of development, but essentially the same base content. They
On Aug 8, 2013, at 7:12 PM, ward.p.fonte...@wellsfargo.com wrote:
I have the following URL that is no longer valid
https://cms.example.com/enterprise/registration/browserinstructions.jsp?productID=100
and I have beat myself silly trying to get it to redirect to the new correct
URL
My bad, this is a site that uses a fair amount of simple rewrite rules and
they are all working correctly.
-Original Message-
From: Noah Duffy [mailto:noahdu...@fastmail.fm]
Sent: Thursday, August 08, 2013 5:20 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_rewrite question
On Thu, Aug 8, 2013 at 8:20 PM, Noah Duffy noahdu...@fastmail.fm wrote:
On Aug 8, 2013, at 7:12 PM, ward.p.fonte...@wellsfargo.com wrote:
I have the following URL that is no longer valid
https://cms.example.com/enterprise/registration/browserinstructions.jsp?productID=100
and I have beat
][rid#61623f0/initial] (1) [perdir E:/cmdbnew/] pass
through E:/cmdbnew/USDADPRTSPW01
From: Akash Jain [mailto:akash.delh...@gmail.com]
Sent: Friday, December 28, 2012 10:40 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_rewrite Question
RewriteRule ^/cmdbnew/(.*)/(.*)$
http
On 29/12/2012 3:12 PM, Martin, Stanley G stanley.mar...@capgemini.com
wrote:
I have been banging my head against the wall on this and when I think I
finally have it, it doesn’t work. I’ve been able to get some basic stuff
to work like:
Setting DirectoryIndex
And doing a simple redirect.
...@gmail.com]
Sent: Friday, December 28, 2012 10:19 PM
To: users
Subject: Re: [users@httpd] mod_rewrite Question
On 29/12/2012 3:12 PM, Martin, Stanley G
stanley.mar...@capgemini.commailto:stanley.mar...@capgemini.com wrote:
I have been banging my head against the wall on this and when I think I
Lee's Summit, MO64086
*People matter, results count.***
___***
*
** **
*From:* Igor Cicimov [mailto:icici...@gmail.com]
*Sent:* Friday, December 28, 2012 10:19 PM
*To:* users
*Subject:* Re: [users@httpd
*Subject:* Re: [users@httpd] mod_rewrite Question
** **
On 29/12/2012 3:12 PM, Martin, Stanley G stanley.mar...@capgemini.com
wrote:
I have been banging my head against the wall on this and when I think I
finally have it, it doesn’t work. I’ve been able to get some basic stuff
to work like
Hi,
have you considered to use 'aliases' for simple URI?
http://httpd.apache.org/docs/2.2/mod/mod_alias.html
Regards,
Rado
On Tue, Sep 25, 2012 at 11:25 PM, Ashley M. Kirchner kira...@gmail.com wrote:
Hi folks,
I'm hoping someone can help me figure this out. We own the domain
On 6/29/05, Steve Blandford [EMAIL PROTECTED] wrote:
Another problem I am seeing is even though I have logging turned on in
my conf file, and that the log file was created, nothing has been
written to it...
Here is the portion of my conf file relating to the problem. (domain
names have been
Joshua,
thanks for the quick response.
To address your comments;
the RewriteEngine On command is just above the Virtual host section
(5th line from the top of the snippet)
I've removed the % signs and nothing changed in the operation of the
rewrite. So the %age sign was superfluous.
On 6/29/05, Steve Blandford [EMAIL PROTECTED] wrote:
Joshua,
thanks for the quick response.
To address your comments;
the RewriteEngine On command is just above the Virtual host section (5th
line from the top of the snippet)
I believe the RewriteEngine directive needs to
19 matches
Mail list logo