Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!