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

Document Apache 2.4+ #5791

Merged
merged 1 commit into from Oct 31, 2023
Merged

Document Apache 2.4+ #5791

merged 1 commit into from Oct 31, 2023

Conversation

Alkarex
Copy link
Member

@Alkarex Alkarex commented Oct 31, 2023

And avoid crash in Apache 2.2 anyway
fix #5790

And avoid crash in Apache 2.2 anyway
fix FreshRSS#5790
@Alkarex Alkarex merged commit 0234f4e into FreshRSS:edge Oct 31, 2023
1 check passed
@Alkarex Alkarex deleted the SetEnvIfExpr branch October 31, 2023 11:27
Comment on lines -41 to +44
SetEnvIfExpr "%{CONN_REMOTE_ADDR} =~ /(.*)/" CONN_REMOTE_ADDR=$1
<IfVersion >= 2.4>
# If you run an old Apache 2.2-, disable mod_setenvif and enable mod_rewrite, or edit manually
SetEnvIfExpr "%{CONN_REMOTE_ADDR} =~ /(.*)/" CONN_REMOTE_ADDR=$1
</IfVersion>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated from 1.22.1-dev to 1.22.2-dev and got this error that leads to a HTTP500 Internal Server Error:
/freshRSS/p/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration

Copy link
Member Author

@Alkarex Alkarex Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, IfVersion was supposed to be available by default in most systems. Will change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try #5804

@Alkarex Alkarex mentioned this pull request Nov 1, 2023
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

Successfully merging this pull request may close these issues.

[BUG] Freshrss 1.22.1 , 500 internal server errror while starting installation on Apache/2.2.34
2 participants