LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-07-2017, 09:23 AM   #1
harish.jadhav26
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Rep: Reputation: Disabled
Cool Thruk URL


Hi,

if you want to redirect thruk url without using "/thruk" so edit file.
vim /usr/share/thruk/thruk_cookie_auth.include
#go to line no. 5 and replace RewriteRule ^/thruk$ /thruk/ [R=302,L] to
RewriteRule ^/$ /thruk/ [R=302,L]
 
Old 07-08-2017, 03:19 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Hi,
Quote:
if you want to redirect thruk url without using "/thruk" so edit file.
vim /usr/share/thruk/thruk_cookie_auth.include
#go to line no. 5 and replace RewriteRule ^/thruk$ /thruk/ [R=302,L] to
RewriteRule ^/$ /thruk/ [R=302,L]
Thanks for the tip and off the ZRT

Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mk-livestatus nagios + thruk problem apanasenko Linux - Software 2 07-07-2017 09:20 AM
[SOLVED] help bash script to send request to url and re-writing the result url jmishal Programming 3 04-16-2015 04:46 PM
Redirect with URL not showing the new redirects URL link Apache RHEL 6 gdizzle Linux - Newbie 4 12-03-2013 03:09 AM
Squid ACL to allow access to a child URL below a blocked main URL soslinux Linux - Server 1 10-13-2011 02:47 AM
LXer: Thruk a Monitoring Webinterface for Nagios LXer Syndicated Linux News 0 07-28-2011 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration