On Thu, 2023-01-12 at 16:30 +0100, Ruediger Pluem wrote: > > $ wget http://localhost/games > > /home/rbowen/devel/presentations/puzzles is a directory, correct? > If yes, you get a redirect by mod_dir > Try making puzzles a file. > > > > > It looks like it works as intended, but then for some reason, a > > separate second request is initiated, with the trailing slash > > added. I > > am not sure why that's happening. > > > > But with curl: > > > > $ curl http://localhost/games > > > > I get the desired/expected: > > Add '-L' to your curl command and the behavior will be the same as > with wget. > curl does not follow redirects by default wget does.
Thanks. Brain cramp resolved. I was treating the target of the RewriteRule as a file path, when it was, in fact, an (incomplete) URL. Thanks. Clearly I've been away from the wizardry of mod_rewrite for a little too long. --Rich