Re: Remove .php extension but still pass it to PHP-FPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can reach that via mod_rewrite [1] and a combination of rules for checking if the file exists before the proxy, depending on the proxy, itself can do the checking.


[1] https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html

On Tue, Oct 2, 2018 at 3:41 PM Rose, John B <jbrose@xxxxxxx> wrote:

We would like to strip select .php extensions within a web site but still have them passed to PHP-FPM when they are clicked on.


Any help would be appreciated 



--
[ ]'s

Filipe Cifali Stangler

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux