Skip to content

Commit

Permalink
Override apache it works landing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Jethwa committed Aug 26, 2016
1 parent a6798a1 commit c95d83e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/var/www/html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="refresh" content="0; url=/icingaweb2" />
</head>
</html>

4 comments on commit c95d83e

@rgov
Copy link

@rgov rgov commented on c95d83e Aug 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I achieved the same effect by adding RedirectMatch ^/$ /icingaweb2/ to my icingaweb2.conf.

@jjethwa
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rgov

I didn't want to touch the icingaweb2.conf file just in case changes are made to it. Less maintenance my side hehe

@rgov
Copy link

@rgov rgov commented on c95d83e Aug 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, it could be added to any other file Apache configuration file, too.

@jjethwa
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm open to it, I just feel this was the option with the least likely collision upstream and downstream :)

Please sign in to comment.