Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

118
Visualizações
Apache FilesMatch php file presence

Choosing between ProxyPassMatch and FilesMatch has proven difficult. ProxyPassMatch is unable to respect the directoryindex within subfolders a url like "http://example.com/dir/" won't work. While FilesMatch does not work if the php file is not on the apache filesystem. My preference is the FilesMatch directive.. is there any way I can get it to work without the presence of the php files? This would save me 50mb of useless data per image.

ProxyPassMatch ^/(.*\.php)$ fcgi://${PHP_HOST}:9000/code/$1

#<FilesMatch "\.php$">
  # SetHandler "proxy:fcgi://%{env:PHP_HOST}:9000"
#</FilesMatch>

#<Proxy fcgi://${PHP_HOST}:9000>
#  ProxySet connectiontimeout=5 timeout=240
#</Proxy>

<Directory /code>
   Options Indexes FollowSymLinks
   AllowOverride All
   Require all granted
</Directory>

DirectoryIndex index.php
over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda