skip to Main Content

Apache 404 FilesMatch

Considering the following working Apache config (used inside the httpd:2.4.48-alpine docker container) <VirtualHost *:80> DocumentRoot "/code2" <Proxy "fcgi://php/"> ProxySet enablereuse=On </Proxy> <FilesMatch .php$> SetHandler "proxy:fcgi://php:9000" </FilesMatch> <Directory /code2> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> DirectoryIndex index.php </VirtualHost>…

VIEW QUESTION

httpd (apache) – rewrite page -> query parameter

I have a website containing a directory and pages. Let's call the directory 'Maintenance' and pages 'page1.html,...' I want to redirect each file under the directory to query parameter such as '/?q=pageX'. <VirtualHost *:80> ServerName myServer.com ServerAlias www.myServer.com DocumentRoot "/var/www/html"…

VIEW QUESTION
Back To Top
Search