uec / Issue.Tracker

Automatically exported from code.google.com/p/usc-epigenome-center
0 stars 0 forks source link

webapp/eccpgxt-beta will now redirect to webapp-dev/eccpgxt-beta #729

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
from this point forward, all beta testing etc will occur on webapp-dev

http://webapp.epigenome.usc.edu/eccpgxt-beta/
will now redirect to 
http://webapp-dev.epigenome.usc.edu/eccpgxt-beta/

we migrate away from the old webapp server asap. see issue 690

Original issue reported on code.google.com by zack...@gmail.com on 16 Apr 2014 at 12:15

GoogleCodeExporter commented 8 years ago
Did you change the root password for new machine? I attempted to deploy  a
new version of eccpgxt- beta and the password that I know was rejected
multiple times.

Original comment by natalia....@gmail.com on 16 Apr 2014 at 1:20

GoogleCodeExporter commented 8 years ago
yes, it is now the same as the other machines and webapp

Original comment by zack...@gmail.com on 16 Apr 2014 at 1:47

GoogleCodeExporter commented 8 years ago
Ok I got it. But I still cant do sudo with my user.

I just tried to open eccpgxt-beta from home and it didn't work. Looks like 
eccpgxt-beta is not accessible from outside of USC.

Original comment by natalia....@gmail.com on 16 Apr 2014 at 2:18

GoogleCodeExporter commented 8 years ago
feel free to add yourself to sudoers. 

the machines services to the outside world being blocked by ITS, you can tunnel 
through your desktop or use VPN.

Once the machine looks good, I will have carlos put a new firewall policy in 
place.

Original comment by zack...@gmail.com on 16 Apr 2014 at 2:26

GoogleCodeExporter commented 8 years ago
for redirect, I changed web.xml

 Default page to serve
  <welcome-file-list>
    <!-- <welcome-file>ECControlCenter.html</welcome-file> -->
    <welcome-file>redirect.jsp</welcome-file>
  </welcome-file-list>

then created redirect.jsp in app root
<%@ page import="java.io.*,java.util.*" %>
<html>
<head>
<title>Page Redirection</title>
</head>
<body>
<center>
<h1>We are moving to a new server</h1>
</center>
<%
   // New location to be redirected
   String site = new String("http://webapp-dev.epigenome.usc.edu/eccpgxt-beta/");
   response.setStatus(response.SC_MOVED_TEMPORARILY);
   response.setHeader("Location", site);
%>
</body>
</html>

Original comment by zack...@gmail.com on 17 Apr 2014 at 7:43

GoogleCodeExporter commented 8 years ago

Original comment by zack...@gmail.com on 20 May 2014 at 8:39