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

Apache 2.4 updated API - "Require all granted" #236

Closed
sebastfr opened this issue May 30, 2014 · 1 comment
Closed

Apache 2.4 updated API - "Require all granted" #236

sebastfr opened this issue May 30, 2014 · 1 comment
Labels
Milestone

Comments

@sebastfr
Copy link

http://httpd.apache.org/docs/2.4/upgrading.html#access

EPrints uses "Order allow, deny" in its auto-generated configuration which is no longer supported in Apache 2.4. So EPrints on Apache 2.4 will reply "403 Forbidden" to any EPrints-y requests. Since the auto-generated conf must work for pre-2.4 and 2.4+, we need a way to detect Apache's version to switch to the correct syntax.

http://stackoverflow.com/questions/10707186/detect-apache-version-in-apache-config presents way to do such detection.

@sebastfr sebastfr added the bug label May 30, 2014
@sebastfr sebastfr added this to the 3.3.13 milestone May 30, 2014
sebastfr pushed a commit that referenced this issue May 30, 2014
@sebastfr
Copy link
Author

If you use the patch on an existing EPrints - you need to regenerate the Apache configuration in order to enable this to work;

/opt/eprints3/bin/generate_apacheconf --system --replace

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

No branches or pull requests

1 participant