by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:07
    thomdask opened #201
  • Sep 25 21:14
    YahavGB starred Erudika/scoold
  • Sep 25 14:22
    veloxity-bmayer starred Erudika/scoold
  • Sep 25 06:56
    huasanyelao starred Erudika/scoold
  • Sep 25 05:55
    aryankhandal0 commented #199
  • Sep 24 11:11
    albogdano commented #199
  • Sep 24 11:09
    albogdano closed #199
  • Sep 24 11:09

    albogdano on master

    added option to configure redir… (compare)

  • Sep 24 05:34
    aryankhandal0 commented #199
  • Sep 24 04:52
  • Sep 23 15:39
    albogdano commented #199
  • Sep 23 15:37
    albogdano commented #199
  • Sep 23 15:35
    albogdano commented #199
  • Sep 23 10:25
    albogdano commented #200
  • Sep 23 10:22
    aryankhandal0 edited #199
  • Sep 23 10:17
    aryankhandal0 closed #200
  • Sep 23 10:17
    aryankhandal0 commented #200
  • Sep 23 10:13
    aryankhandal0 opened #200
  • Sep 23 10:11
    aryankhandal0 opened #199
  • Sep 23 09:51
    hrhneil starred Erudika/scoold
Kkoonnrraadd
@Kkoonnrraadd
scoold url is host/scoold and it redirects to directory opt where the scoold is
Alex Bogdanovski
@albogdano
ok, then set para.context_path = "/scoold" and restart Scoold
Kkoonnrraadd
@Kkoonnrraadd
I will try this, before i had para.context_path = "/opt"
I have got 404
Alex Bogdanovski
@albogdano
what if you set it to /opt/scoold?
I don't quite understand what that proxypass does in Apache - I think your setup is a bit too complicated
Kkoonnrraadd
@Kkoonnrraadd
Same error, hmm the main purpose was to redirect from URL host/scoold to directory and port where scoold was deployed and accessible from the network. Do you know how could I simplify it ?

Suppose the local server has address http://example.com/; then

<Location "/mirror/foo/">
ProxyPass "http://backend.example.com/"
</Location>
will cause a local request for http://example.com/mirror/foo/bar to be internally converted into a proxy request to http://backend.example.com/bar.

host/scoold -> localhost:8420/opt/
Alex Bogdanovski
@albogdano
have you tried removing the para.context_path setting altogether?
Kkoonnrraadd
@Kkoonnrraadd
yes, i did. In this case I have naked scoold webpage without scripts/images etc
Alex Bogdanovski
@albogdano
again, where do you go to access scoold? is it http://example.com/ or http://example.com/scoold?
Kkoonnrraadd
@Kkoonnrraadd
Alex Bogdanovski
@albogdano
and when you open it you see 404 errors in the browser dev console in tab "Network"?
so the HTML page loads but none of the static assets?
Kkoonnrraadd
@Kkoonnrraadd
yes
yes x2
Alex Bogdanovski
@albogdano
but this is when you have para.context_path = "/scoold" correct?
what happens if you try to open http://example.com/opt/scoold?
Kkoonnrraadd
@Kkoonnrraadd
image.png
  1. no, it is when I commented para.context_path. All I found out is that request to server are incorrect. I show you output of console.
  1. Then i am accesing port 80 and i have got a content of the directory
image.png
Alex Bogdanovski
@albogdano
so you definitely have to set para.context_path = "/scoold" and para.host_url = "https://that-public-host"
aah ok
the correct settings should be:
para.context_path = "/opt/scoold"
para.host_url = "https://de-s-uta..etc..com"
Kkoonnrraadd
@Kkoonnrraadd
I will try it.
Alex Bogdanovski
@albogdano
then you open it from https://de-s-uta..etc.com/opt/scoold
Kkoonnrraadd
@Kkoonnrraadd
host/scoold - 404
results
Alex Bogdanovski
@albogdano
ok ok I think we have a misunderstanding here... Scoold is a Java application running on the JVM - it can't be deployed like a static site or a PHP site
you need to run java -jar scoold.jar and that starts its own HTTP server on localhost:8000
it has nothing to do with Apache or nginx
Kkoonnrraadd
@Kkoonnrraadd
Thanks for a help, i fixed it
Alex Bogdanovski
@albogdano
you can use Apache or nginx in front of Scoold for HTTPS
:thumbsup:
Kkoonnrraadd
@Kkoonnrraadd
you were right with host and context, the result was 404 because of proxy pass at host/opt i switch to /opt/scoold with correct port.
I am grateful, have a great day
Alex Bogdanovski
@albogdano
nice! I'm glad it works now :)
Aryan Khandal
@aryankhandal0
Even after creating a bunch of questions with tags the tag page is still empty. No errors anywhere just the empty page loads.
Alex Bogdanovski
@albogdano
@aryankhandal0 that's strange. can you see the questions? are you posting them in a space other than the default space?
Aryan Khandal
@aryankhandal0
No, I dont think so. I am redeploying the whole setup, will send screenshots then.
Aryan Khandal
@aryankhandal0
tempsnip2.png
tempsnip.png
Alex Bogdanovski
@albogdano
@aryankhandal0 are you on the latest Scoold version 1.40.2?
check Para logs, Scoold logs, browser console logs. are there tag objects in Para?
Aryan Khandal
@aryankhandal0
Sorry it was related to some mongo firewall settings apparently, thank you for your update.
Alex Bogdanovski
@albogdano
:thumbsup: