[ale] Apache Rewrite rules

Denny Chambers dchambers at snapserver.com
Wed Feb 20 17:11:38 EST 2002


It is a simple Rewrite rule

RewriteEngine on
RewriteRule ^/foobar^/ /foobar/index.html

Thanks,
Denny

Ken Nagorski wrote:
> 
> Hi there,
> 
> Send in the rewrite rule as it stands in the httpd.conf
> 
> Thanks
> Ken
> 
> >
>  I have a rewrite rule setup in my httpd.conf file. The rule works fine
> > as long as I refer to the server as the host name. If I refer to the
> > server by IP address the rewrite rule doesn't seem to get called. I
> > have tried to play around with setting up VirtualHost and declaring
> > Rewrite conditions, but those don't seem to help. Anyone else have a
> > clue?
> >
> > Thanks,
> > --
> > Denny Chambers
> >
> > ---
> > This message has been sent through the ALE general discussion list. See
> > http://www.ale.org/mailing-lists.shtml for more info. Problems should
> > be  sent to listmaster at ale dot org.
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list