Apache Rewrite Rules

Daniel C. dcrookston at gmail.com
Fri Nov 10 11:28:12 MST 2006


Nothing.  I added this:

RewriteRule foo http://www.apache.org/

And it doesn't forward me.  So, I think mod_rewrite is broken somehow.

LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On

Those are both in there.

On 11/10/06, Nicholas Leippe <nick at leippe.com> wrote:
> On Friday 10 November 2006 10:47, Daniel C. wrote:
> > Just tried that now, still giving a 404 =(
> >
> > On 11/10/06, Nicholas Leippe <nick at leippe.com> wrote:
> > > try dropping the leading '/', none of my rules have it:
> > >
> > > RewriteRule ^invoices/?([^/]*)/?([^/]*)/?([^/]*)/?  \
> > >       invoices/index.php?year=$1&month=$2&day=$3    [PT]
> >
>
> what's in your rewrite log file?
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>



More information about the PLUG mailing list