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

Open OnDemand portal page is not accessible if Apache2 default site is enabled #239

Open
mikej888 opened this issue Mar 22, 2024 · 2 comments

Comments

@mikej888
Copy link

Environment:

  • Ubuntu 22.04
  • Python 3.11.5
  • Ansible 8.0.0
  • osc.open_ondemand 3.1.4

After deployment, browsing to http://localhost/ shows the 'Apache2 Default Page'.

This is because the Apache 2 default site is enabled:

$ sudo ls -1 /etc/apache2/sites-enabled/
000-default.conf
ood-portal.conf

Please could the role be extended to disable this site if it is enabled.

@johrstrom
Copy link
Collaborator

I think that's a known issue for apache on Ubuntu. Documentation indicates you likely need a servername for apache to respond correctly.

image

https://osc.github.io/ood-documentation/latest/installation/install-software.html#verify-installation

I'm not 100% sure what this role can do here - I don't think we should remove/modify other conf files. We could possible enforce the need for servername - but some centers don't use it for whatever reason.

@mikej888
Copy link
Author

Thanks:

I'm not 100% sure what this role can do here - I don't think we should remove/modify other conf files

I can appreciate that. I'm happy to stick with my workaround of disabling the default site via my playbook. I'm happy for this issue to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants