Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elgg's javascript does not work when the site is behind a proxy (Trac #4064) #4064

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 4 comments
Closed

Comments

@elgg-gitbot
Copy link

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

Original ticket http://trac.elgg.org/ticket/4064 on 41847358-07-10 by cash, assigned to unknown.

Elgg version: Github Master

elgg.config.wwwroot = '<?php echo elgg_get_site_url(); ?>'; 

That line exposes the internal URL to the outside world.

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

trac user wiktor12348 wrote on 41847429-12-24

I have problem.
Probably I'm using a proxy. Don't work adding the widgets.
Forum: http://community.elgg.org/mod/groups/topicposts.php?topic=812631&group_guid=729168

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

ewinslow wrote on 42361000-04-21

Is there a recommended approach for fixing this? How does this expose any more information than is already exposed by all the links on the page, for example?

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

trac user mrclay wrote on 42858749-01-11

Trying to understand this problem. Let's say Elgg is on example.com:8080 and Varnish on example.com. Shouldn't Elgg's site URL be set to http://example.com/ so all requests are handled by the proxy?

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

brettp wrote on 43029980-09-01

Closing this because I don't understand it either. Cash please reopen if we're misunderstanding something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant