httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: problem with mod_rewrite.c
Date Fri, 09 Jan 1998 22:39:43 GMT
On Fri, 9 Jan 1998, Michael Douglass wrote:

> Okay, I've dug down through source code tyring to find the problem here--and
> actually I'm vaguely following what mod_rewrite.c (shipping with 1.2.5) is
> doing; but not enough to make perfect sense out of it all.  Here is an 
> explanation of my problem:
> 
> Let's say I have this rule
> 
> RewriteCond %{HTTP_HOST} ^.+\.dink\.net$
> 
> This will match any host with any number of characters ending in
> ".dink.net".  And it does, the rule works perfectly... Unless I try
> to use a directory and not put that infamous trailing slash--oh, and
> I've tried all the rules for adding slashes, that's _not_ the problem.

Read the thread from the other week about implementing virtual servers
using this.  It uses the Servername and requires code changes to 
the construct_url area to use the Host: header if present.


Mime
View raw message