Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • More likely, it's the equivalent of:
    RedirectMatch ^/(index.html)?$
    because otherwise, it'd be an infinite loop (Redirect matches a prefix).
    • Randal L. Schwartz
    • Stonehenge
    • Ah, I see. The trailing slash in my example does indeed cause that problem (which I also discovered when I was trying to get this to work, and I simply redirected / to /dir/). In the real-life versions I set up tonight, this wasn't an issue.

      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers