{"id":15026732,"url":"https://github.com/ajsalemo/php-apache-custom-startupscript","last_synced_at":"2026-03-15T17:49:44.295Z","repository":{"id":103501072,"uuid":"428433766","full_name":"Ajsalemo/PHP-Apache-Custom-StartupScript","owner":"Ajsalemo","description":"Customize apache2.conf with libapache2-mod-security2 to remove the 'Server' response header from all requests.","archived":false,"fork":false,"pushed_at":"2021-11-15T22:59:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T03:15:29.615Z","etag":null,"topics":["apache","apache2","azure","cloud","container","docker","linux","php","php-74","startup-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ajsalemo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-15T21:58:19.000Z","updated_at":"2021-11-15T22:59:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9a6c5c0-97c1-41e0-a499-599e1ac1ff60","html_url":"https://github.com/Ajsalemo/PHP-Apache-Custom-StartupScript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP-Apache-Custom-StartupScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP-Apache-Custom-StartupScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP-Apache-Custom-StartupScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP-Apache-Custom-StartupScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajsalemo","download_url":"https://codeload.github.com/Ajsalemo/PHP-Apache-Custom-StartupScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330320,"owners_count":20274039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","apache2","azure","cloud","container","docker","linux","php","php-74","startup-script"],"created_at":"2024-09-24T20:04:59.256Z","updated_at":"2025-12-24T17:51:28.194Z","avatar_url":"https://github.com/Ajsalemo.png","language":"Shell","readme":"# PHP-Apache-Custom-StartupScript\n\nCustomize 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`. \n\n- `apache2.conf` is used to copy over the existing conf file under `/etc/apache2/apache2.conf`so we can bring our own configuration\n- 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.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fphp-apache-custom-startupscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajsalemo%2Fphp-apache-custom-startupscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fphp-apache-custom-startupscript/lists"}