I have a "Static/CGI/PHP-5.2" application, with a .htaccess file. It seems to be in use, since I have rewrite rules that are working. I tried adding a "Header add" line, but I don't see the header in the response. And, I see "Server: nginx" in the response, so now I am confused what web server is serving my pages. How do I add a custom header in this case? asked 26 Feb '17, 16:45 Ned Batchelder |
There is a front-end nginx server which communicates with a shared Apache server that uses CGI or FCGI to process each request. Custom headers are not supported by the front-end server, you could use a custom Apache server running on a open port if you wanted to bypass it. answered 26 Feb '17, 22:17 johns |