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

HTTP / PHP Server Configuration requested by Host #637

Open
braughtg opened this issue Mar 29, 2023 · 4 comments
Open

HTTP / PHP Server Configuration requested by Host #637

braughtg opened this issue Mar 29, 2023 · 4 comments
Labels
enhancement Improvement to the project infrastructure A bug/feature related to the project infrastructure. Security Security issue to be investigated or addressed.

Comments

@braughtg
Copy link
Member

The following changes to the server configuration have been requested:

  • Disable the headers in /etc/httpd/conf/httpd.conf (or whatever you use as the config file)
# Only display “Apache” without version info
ServerTokens Prod
 
# Disables the server signature in error pages
ServerSignature Off
  • Disable PHP version in /etc/php.ini
; Disabling the ability to view PHP version for security reasons
expose_php = Off
@braughtg braughtg added enhancement Improvement to the project Security Security issue to be investigated or addressed. infrastructure A bug/feature related to the project infrastructure. labels Mar 29, 2023
@braughtg
Copy link
Member Author

This will need to be done in the Dockerfile in the farmOS container defined by docker/farmos. The other containers that may be running services (e.g. phpMyAdmin, MySQL, API) are all only on an internal docker network and thus should not require similar changes.

@braughtg
Copy link
Member Author

There is some possibility that this may break the system. When an admin running the hosting made this change the farmOS server no longer served pages. So additional investigation is needed and thorough testing should be done before any change is merged.

@Parthik04
Copy link

I would like to work on this please!

@braughtg
Copy link
Member Author

@Parthik04 This looks like you may be using the GitKit in your course. If that is the case you should be claiming an issue on the "upstream" repo for your course rather than on the main project repo. Your instructor will have given you the proper URL.

That said, if you want to contribute to the "live" FarmData2 project by working on this issue, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to the project infrastructure A bug/feature related to the project infrastructure. Security Security issue to be investigated or addressed.
Projects
None yet
Development

No branches or pull requests

2 participants