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 th
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 11
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, use
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 11/06
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
second
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 li
On Thu, Aug 8, 2013 at 8:20 PM, Noah Duffy wrote:
> On Aug 8, 2013, at 7:12 PM, 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 t
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 Aug 8, 2013, at 7:12 PM, 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
> https://cms.example.com/enterpri
Dec/2012:09:43:15 --0600]
[ckcftpa2/sid#26c828][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
R
r Team | Outsourcing Services
>>
>>
>> ** **
>>
>> Capgemini "US" | KCSC Service Center
>>
>> Tel.: (816) 347-7692 – Mob.: (816) 284-7415
>>
>> www.capgemini.com
>>
>> ** **
>>
>> 777 NW Blue Pkwy
>>
>> Lee's Summit, MO64086
>>
>> *People matter, results
*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] mod_r
_
From: Igor Cicimov [mailto:icici...@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"
mailto:stanley.mar...@capgemini.com>> wrote:
>
> I have been banging my
On 29/12/2012 3:12 PM, "Martin, Stanley G"
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.
>
>
>
> But, what I
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 wrote:
> Hi folks,
>
> I'm hoping someone can help me figure this out. We own the domain
> 'fairviewbands.org' which at
Fantastic!
I moved
RewriteEngine On
RewriteLog "/var/log/httpd/rewrite_log"
RewriteLogLevel 8
into the VirtualHost and the logging is now working. Many thanks!
The one thing left for me to accomplish is to either;
1. rewrite all .php requests as https
or
2. rewrite a specific http://...
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
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.
N
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 ha
20 matches
Mail list logo