You don't need to escape characters in the target of the RewriteRule. On 14/08/19 03:01 PM, Dorrian, William wrote: > Hi Darryl. > > > > I was able to do this with: > > > > RewriteEngine on > > RewriteRule ^/$ > https://test.thing.seabass.com/q3/app\?service\=external/EmployerPages\:DudeLogin > <https://test.thing.seabass.com/q3/app/?service\=external/EmployerPages\:DudeLogin> > > > > Escaping the special characters (as you advised), plus escaping the > colon helped me fix. > > > > Thanks! > > Bill D. > > > > *From:* Darryl Philip Baker <[email protected]> > *Sent:* Tuesday, August 13, 2019 5:36 PM > *To:* [email protected] > *Subject:* [External] Re: [users@httpd] How can I simplify this URL to > just the hostname with rewrite rules? > > > > I agree that those are the stumbling blocks. If you haven’t already try > escaping them both or use the ASCII equivilents > > 1. Redirect permanent > “/q3/app\?service\=external/EmployerPages:DudeLogin” > “https://test.thing.seabass.com > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__test.thing.seabass.com&d=DwQGaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=T47OVmVp_3gm3njCU36TeWTS5W9ZoAxPnQ-zGHLl0rs&m=R_93a1RnrlJ3CzdMk72RUw0-P60wShxObvCY53UbuwQ&s=7-YzxaROEkzG72TjeoPOCvRBLTEvJGxVXCdwyGIl8vM&e=>” > 2. Redirect permanent > “/q3/app%3Fservice%3Dexternal/EmployerPages:DudeLogin” > “https://test.thing.seabass.com > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__test.thing.seabass.com&d=DwQGaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=T47OVmVp_3gm3njCU36TeWTS5W9ZoAxPnQ-zGHLl0rs&m=R_93a1RnrlJ3CzdMk72RUw0-P60wShxObvCY53UbuwQ&s=7-YzxaROEkzG72TjeoPOCvRBLTEvJGxVXCdwyGIl8vM&e=>” > > > > *Darryl Baker * (he/him/his) > > Sr. System Administrator > > Distributed Application Platform Services > > *Northwestern University* > > 1800 Sherman Ave. > > Suite 6-600 – Box #39 > > Evanston, IL 60201-3715 > > [email protected] <mailto:[email protected]>_ > > (847) 467-6674 > > > > > > *From: *"Dorrian, William" <[email protected] <mailto:[email protected]>> > *Reply-To: *"[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>> > *Date: *Tuesday, August 13, 2019 at 4:24 PM > *To: *"[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>> > *Subject: *RE: [users@httpd] How can I simplify this URL to just the > hostname with rewrite rules? > > > > Redirect permanent “/q3/app\?service=external/EmployerPages:DudeLogin” > “https://test.thing.seabass.com > <https://urldefense.proofpoint.com/v2/url?u=https-3A__test.thing.seabass.com&d=DwQGaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=T47OVmVp_3gm3njCU36TeWTS5W9ZoAxPnQ-zGHLl0rs&m=2OmUz6HafSUtEz0EEeO4tK_DoyzlEBq-h2pjFWnEyxM&s=XvMwBz1tTA3kKXaFYYhF0yfe3JuGEzX3-90UAgbEVB0&e=> >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
