[dspace-tech] Re: Change the default tomcat port 8080 to 80

2019-08-21 Thread Hoang Tran
I am using Ubuntu 18.6 LTS and tomcat8
To change default tomcat port 8080 to 80 follow these steps
Step 1: Enable and change value in file /etc/default/tomcat8
remove # and change value is yes 
sudo vi /etc/default/tomcat8
AUTHBIND=yes

Step 2: Change port default tomcat8 in file server.xml
sudo vi /etc/tomcat8/server.xml

> Hi guys, what is the simplest way to change the 8080 port to 80 so user 
> won't need to type 8080 to access the application?
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/26d4b6d6-9718-4c81-bc30-7711805f4787%40googlegroups.com.


Re: [dspace-tech] Removing /xmlui from the URL

2019-08-14 Thread Hoang Tran
Dear Alan,
Can you help me step by step. i use Tomcat 8, Ubuntu 14.6

Vào 16:43:34 UTC+7 Thứ Năm, ngày 24 tháng 1 năm 2019, Alan Orth đã viết:
>
> Dear Stan,
>
> Assuming you are using Tomcat, you need to rename your XMLUI web 
> application to "ROOT" and restart Tomcat. This is a special/reserved word 
> that makes Tomcat deploy the application at the root level. You will also 
> need to adjust your DSpace configuration, preferably in build.properties or 
> local.cfg for DSpace 5 and 6, respectively, and then rebuild, as this will 
> update all other configuration files as well.
>
> As for handling the old links, you need to use Apache HTTPD's Redirect 
> command or mod_rewrite in your virtual host block to catch and redirect old 
> URLs. Redirect is simpler, but mod_rewrite will allow you to match regular 
> expressions so that's much more flexible. :)
>
> Regards,
>
> On Thu, Jan 24, 2019 at 12:07 AM Stan Orlov  > wrote:
>
>> Greetings!
>>
>> I followed the instructions to remove 8080 from our URL and I can now 
>> access our DSpace communities using either ec.msvu.ca:8080/xmlui or 
>> ec.msvu.ca/xmlui.  However, I would like for visitors to be able to 
>> access the main page of our DSpace by going to ec.msvu.ca (without 
>> "xmlui").  Ideally, it would be great if visitors with old links that have 
>> "/xmlui" in them could access the same page (for backward compatibility).
>>
>> I believe it is a simple matter of adding/removing something in 
>> server.xml, context.xml or dspace.cfg, but I can't come up with an answer.  
>>
>>
>> How can I achieve that?
>>
>> -- 
>> All messages to this mailing list should adhere to the DuraSpace Code of 
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspac...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Alan Orth
> alan...@gmail.com 
> https://picturingjordan.com
> https://englishbulgaria.net
> https://mjanja.ch
> "In heaven all the interesting people are missing." ―Friedrich Nietzsche
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/573e1f95-4530-4743-886f-27b0c6f76563%40googlegroups.com.