skip to Main Content

Apache – Deny direct access to executing script

I previously had below which worked ok, RewriteEngine on RewriteRule ^([0-9]+)/?$ /news/index.php?post=$1 [L,QSA] But I don't want it to open like this https://example.com/news/index.php?post=123456 I want it to open only in such a way that it only allows numbers https://example.com/news/123456 is…

VIEW QUESTION

PHP gRPC ignores keepalive parameters

I put these 3 parameters: grpc.keepalive_time_ms=7200000 grpc.keepalive_timeout_ms=200000 grpc.keepalive_permit_without_calls=1 in /etc/php/8.1/apache2/conf.d/20-grpc.ini, /etc/php/8.1/apache2/conf.d/custom-php.ini, /etc/php/8.1/cli/conf.d/20-grpc.ini and /etc/php/8.1/cli/conf.d/custom-php.ini. Then I restart webserver (whole Docker container) and list grpc config with php -i | grep grpc and they are missing from the output: /etc/php/8.1/cli/conf.d/20-grpc.ini, grpc…

VIEW QUESTION
Back To Top
Search