Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5531aa5

Browse files
Update README.md
1 parent c09e0bb commit 5531aa5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
# PHP-Apache-Custom-StartupScript
1+
# PHP-Apache-Custom-StartupScript
2+
3+
Customize apache2.conf with libapache2-mod-security2 to remove the 'Server' response header from all requests. This sample was made to deploy on Azure Linux Webapps with the use of the [custom startup script](https://azureossd.github.io/2020/01/23/php-custom-startup-script-app-service-linux/) set under `/home/site`.
4+
5+
- `apache2.conf` is used to copy over the existing conf file under `/etc/apache2/apache2.conf`so we can bring our own configuration
6+
- In `apache2.conf` we set `SecServerSignature` to " ", in conjunction with `libapache2-mod-security2` in `startup.sh`, this effectively removes the `Server` header on all responses.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /