Re: [users@httpd] I need help with a rewrite request

2022-09-28 Thread Frank Gingras
In that case, you can leverate RedirectMatch which will allow you to capture "name", and redirect to name.html with the rest of the URL. On Wed, 28 Sept 2022 at 16:45, Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote: > I just was rereading the Multiview definition again, for the umptee

Re: [users@httpd] I need help with a rewrite request

2022-09-28 Thread Darryl Philip Baker
I just was rereading the Multiview definition again, for the umpteenth time, and noticed that it may not work for my problem. The original URL is https://school.northwestern.edu/faculty/name/ and the file that exists URL is https://school.northwest

Re: [users@httpd] I need help with a rewrite request

2022-09-28 Thread Darryl Philip Baker
Thank you Frank. That does look like it will do exactly what I want it to do. I am having trouble implementing it. In our development instance I created a .htaccess file with: Options +MultiViews But when I try to browse to that directory I get a 500 error. I checked and mod_ne

Re: [users@httpd] I need help with a rewrite request

2022-09-28 Thread Frank Gingras
You don't need to use mod_rewrite, a simpler solution is to use multiviews: https://httpd.apache.org/docs/current/content-negotiation.html#multiviews On Wed, 28 Sept 2022 at 09:18, Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote: > I have just received a request to rewrite everything

[users@httpd] I need help with a rewrite request

2022-09-28 Thread Darryl Philip Baker
I have just received a request to rewrite everything http://school.northwestern.edu/faculty/name/ to http://school.northwestern.edu/faculty/name.html I believe I can bury this rule in a directory declaration for the faculty directory but I am having problems writing the exact rules to make the