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]

 



Darryl,

 

Thanks for your answer. Let me give that a try.

 

From: Darryl Philip Baker <darryl.baker@xxxxxxxxxxxxxxxx>
Sent: Tuesday, August 13, 2019 3:10 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [External] Re: [users@httpd] How can I simplify this URL to just the hostname with rewrite rules?

 

The string I supplied has a stray double quote before the keyword Redirect, sorry.

 

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: Darryl Philip Baker <darryl.baker@xxxxxxxxxxxxxxxx>
Reply-To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Date: Tuesday, August 13, 2019 at 2:07 PM
To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Subject: Re: [users@httpd] How can I simplify this URL to just the hostname with rewrite rules?

 

Have you tried “Redirect permanent “/q3/app\?service=external/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 1:55 PM
To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Subject: [users@httpd] How can I simplify this URL to just the hostname with rewrite rules?

 

So – I’m the administrator of a Java application which has a URL similar to the following:

 

https://test.thing.seabass.com/q3/app?service=external/EmployerPages:DudeLogin

 

Can’t have them change it, and there’s no way to simplify.

 

I’d like to redirect the URL above to:

 

https://test.thing.seabass.com

 

 

I’ve tried a few rewrite rules by trial and error, unsuccessfully.

 

 

I also attempted to use generators such as http://www.visiospark.com/mod-rewrite-rule-generator/ and https://www.generateit.net/mod-rewrite/index.php.

 

Any thoughts?

 

Thanks in advance.


[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