Thanks Dianne. Yes, that is sort of what I am thinking, but I' think
i'll also may have to add a test condition since I have several branch
sets of pages.
On 2025-06-08 11:19, Dianne Skoll via linux wrote:
On Sun, 8 Jun 2025 11:01:37 -0400
David Patte via linux <linux [ at ] linux-ottawa [ dot ] org> wrote:
Could someone tell me what i need to put in my apache VirtualHost
.conf file to redirect a complete set of pages
from https://mySite/oldsetname/* to https://mySite/newset/*
I'd use mod_rewrite. I have not tested this at all, but something like:
RewriteEngine on
RewriteRule "^/oldsetname/(.*)" "/newset/$1" [L,R]
should work.
Regards,
Dianne.
To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org
To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org