Discussion:
[Dspace-tech] how to remove "jspui" in url to access jspui interface
Yongming Wang
2015-08-17 15:51:31 UTC
Permalink
Hi,

We just implemented DSpace 5.2 and use jspui interface. In order to access the application, we use the url "http://xxxx.tcnj.edu/jspui" (we have already changed the default port 8080 to 80).

Is it possible to remove the "jspui" part? So that when people enter "http://xxxx.tcnj.edu", it will access the jspui application.

Is this something called "http redirect" which can do the job?


Thanks in advance for your help!



(Our server is RH Linux 7.)



Yongming

---------------------------------
Yongming Wang
Systems Librarian
The College of New Jersey Library
phone: 609-771-3337
email: ***@tcnj.edu
---------------------------------

------------------------------------------------------------------------------
Mark H. Wood
2015-08-18 13:00:52 UTC
Permalink
Post by Yongming Wang
We just implemented DSpace 5.2 and use jspui interface. In order to access the application, we use the url "http://xxxx.tcnj.edu/jspui" (we have already changed the default port 8080 to 80).
Is it possible to remove the "jspui" part? So that when people enter "http://xxxx.tcnj.edu", it will access the jspui application.
If you are using Tomcat as your servlet container, the webapp. at the
root path ("/") is named ROOT. So find the place where JSPUI was
deployed to Tomcat and rename it:

o If you are using an unpacked webapp, it will be a directory named
jspui. Rename it to ROOT.

o If you are using a WAR, it will be named jspui.war, and should be
renamed to ROOT.war.

o If you are using separate Context descriptor files, the file will
be named jspui.xml, and should be renamed ROOT.xml. The directory
or WAR which is named as the docbase in that file need not be
renamed, and it is probably most convenient not to.

http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming

If you're using some other container, I can't give specific advice.
I'm sure there is a way to do this, but it will be different.
--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
Yongming Wang
2015-08-25 13:57:19 UTC
Permalink
Thanks Mark,

It works by changing /jspui to /ROOT

Actually we just created a symlink from 'ROOT' to jspui in [tomcat]/webapps/

Thanks very much for your help!



Yongming

---------------------------------
Yongming Wang
Systems Librarian
The College of New Jersey Library
phone: 609-771-3337
email: ***@tcnj.edu
---------------------------------

----- Original Message -----
From: "Mark H. Wood" <***@IUPUI.Edu>
To: dspace-***@lists.sourceforge.net
Sent: Tuesday, August 18, 2015 9:00:52 AM
Subject: Re: [Dspace-tech] how to remove "jspui" in url to access jspui interface
Post by Yongming Wang
We just implemented DSpace 5.2 and use jspui interface. In order to access the application, we use the url "http://xxxx.tcnj.edu/jspui" (we have already changed the default port 8080 to 80).
Is it possible to remove the "jspui" part? So that when people enter "http://xxxx.tcnj.edu", it will access the jspui application.
If you are using Tomcat as your servlet container, the webapp. at the
root path ("/") is named ROOT. So find the place where JSPUI was
deployed to Tomcat and rename it:

o If you are using an unpacked webapp, it will be a directory named
jspui. Rename it to ROOT.

o If you are using a WAR, it will be named jspui.war, and should be
renamed to ROOT.war.

o If you are using separate Context descriptor files, the file will
be named jspui.xml, and should be renamed ROOT.xml. The directory
or WAR which is named as the docbase in that file need not be
renamed, and it is probably most convenient not to.

http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming

If you're using some other container, I can't give specific advice.
I'm sure there is a way to do this, but it will be different.
--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

------------------------------------------------------------------------------

_______________________________________________
DSpace-tech mailing list
DSpace-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Loading...