linshare icon indicating copy to clipboard operation
linshare copied to clipboard

upload-request URL is not working on 4.1.0

Open georgej77 opened this issue 5 years ago • 10 comments

Hi Linshare,

I'm getting tomcat admin interface when opening the below upload-request URL. There is no issue for accessing linshare-user and linshare-admin URL's.

http://linshare-upload-request.local/#/38709b3b-4221-47ff-9977-30427e693e33

Product version : 4.1.0 Core version : 4.1.0-1 O/S : Redhat 8

image

cat /etc/httpd/sites-available/linshare-upload-request.conf <VirtualHost *:80> ServerName linshare-upload-request.local DocumentRoot /var/www/linshare-ui-upload-request <Location /linshare> ProxyPass http://127.0.0.1:8080/linshare ProxyPassReverse http://127.0.0.1:8080/linshare ProxyPassReverseCookiePath /linshare /

# Workaround to remove httpOnly flag (could also be done with tomcat)
Header edit Set-Cookie "(JSESSIONID=.*); Path.*" "$1; Path=/"
# For https, you should add Secure flag.
# Header edit Set-Cookie "(JSESSIONID=.*); Path.*" "$1; Path=/; Secure"

#This header is added to avoid the  JSON cache issue on IE.

Header set Cache-Control "max-age=0,no-cache,no-store"

ErrorLog /var/log/httpd/linshare-ui-upload-request-error.log CustomLog /var/log/httpd/linshare-ui-upload-request-access.log combined

Kindly support it.

georgej77 avatar Mar 26 '21 06:03 georgej77

Hi, Did you enable the upload-request vhost file ? (because I saw the path is /etc/httpd/sites-available/linshare-upload-request.conf) Regards

fmartin-linagora avatar Mar 26 '21 09:03 fmartin-linagora

Thanks for the help. Its working now.

georgej77 avatar Mar 26 '21 12:03 georgej77

Hi,

When I use uploadrequest as subdirectory of main domain, I'm getting below error. Can you help me on it. Im getting blank page on browser.

root@linshare01#curl http://linshare-user.test.com/uploadrequest

LinShare Upload Request
[root@linshare01 www]#

cat /etc/httpd/sites-available/linshare-user.conf <VirtualHost *:80> ServerName linshare-user.test.com DocumentRoot /var/www/linshare-ui-user Alias /uploadrequest /var/www/linshare-ui-upload-request

<Location /linshare> ProxyPass http://127.0.0.1:8080/linshare ProxyPassReverse http://127.0.0.1:8080/linshare

ProxyPassReverseCookiePath /linshare /

Header edit Set-Cookie "(JSESSIONID=.); Path." "$1; Path=/"

Header set Cache-Control "max-age=0,no-cache,no-store"

ErrorLog /var/log/httpd/linshare-user-error.log CustomLog /var/log/httpd/linshare-user-access.log combined

Sorry to disturb you. Thanks, Jinju.

georgej77 avatar Mar 27 '21 16:03 georgej77

Hi, It is not an error, just the default page when you try to access it with a client without the support of Javascript. :) Regards.

fmartin-linagora avatar Mar 29 '21 09:03 fmartin-linagora

Hi,

I can access the URL http://linshare-upload-request.local without any issue. But in the same browser, I can't access it like http://linshare-user.test.com/uploadrequest. I have shared the apache configuration here. The same configuration is working for linshare version 1.

Any idea how to resolved it.

Thanks Jinju

georgej77 avatar Mar 31 '21 06:03 georgej77

Hi,

Indeed, Upload request module does not support to be deployed into a folder. For now it must be at the document root of your server.

Can you create a new dedicated issue on github, as a feature request ?

Tks.

fmartin-linagora avatar Apr 05 '21 16:04 fmartin-linagora

Thanks Fred.

I saw the below comment on the portal. Waiting for the new release.

[image: image.png]

On Mon, Apr 5, 2021 at 10:19 PM Frédéric MARTIN @.***> wrote:

Hi,

Indeed, Upload request module does not support to be deployed into a folder. For now it must be at the document root of your server.

Can you create a new dedicated issue on github, as a feature request ?

Tks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/161#issuecomment-813498352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ6OJAUCMYSUL3LAOWG3KY3THHSYJANCNFSM4Z2YOZ7A .

georgej77 avatar Apr 09 '21 05:04 georgej77

Hi Fred,

Kindly let me know about the next release of version 4.1.2

Thanks Jinju.

On Fri, Apr 9, 2021 at 11:08 AM Jinju George @.***> wrote:

Thanks Fred.

I saw the below comment on the portal. Waiting for the new release.

[image: image.png]

On Mon, Apr 5, 2021 at 10:19 PM Frédéric MARTIN @.***> wrote:

Hi,

Indeed, Upload request module does not support to be deployed into a folder. For now it must be at the document root of your server.

Can you create a new dedicated issue on github, as a feature request ?

Tks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/161#issuecomment-813498352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ6OJAUCMYSUL3LAOWG3KY3THHSYJANCNFSM4Z2YOZ7A .

georgej77 avatar Apr 19 '21 09:04 georgej77

Hi, I hope, we will release the4.1.2 by the end of the next week. :) Fred

fmartin-linagora avatar Apr 19 '21 09:04 fmartin-linagora

Thanks Fred

On Mon, Apr 19, 2021 at 3:20 PM Frédéric MARTIN @.***> wrote:

Hi, I hope, we will release the4.1.2 by the end of the next week. :) Fred

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/161#issuecomment-822335391, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ6OJAUE25LD4T37VQXUPXLTJP4EVANCNFSM4Z2YOZ7A .

georgej77 avatar Apr 19 '21 10:04 georgej77