RE: How can I simplify this URL to just the hostname with rewrite rules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Darryl.

 

I was able to do this with:

 

RewriteEngine on

RewriteRule ^/$ 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 <darryl.baker@xxxxxxxxxxxxxxxx>
Sent: Tuesday, August 13, 2019 5:36 PM
To: users@xxxxxxxxxxxxxxxx
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
  2. Redirect permanent “/q3/app%3Fservice%3Dexternal/EmployerPages:DudeLogin”  “https://test.thing.seabass.com

 

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

darryl.baker@xxxxxxxxxxxxxxxx

(847) 467-6674

 

 

From: "Dorrian, William" <wdorr@xxxxxxxxxxxx>
Reply-To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Date: Tuesday, August 13, 2019 at 4:24 PM
To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux