Re: RewriteMap and patterns

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

 




On 3/11/24 4:42 PM, apmail-dferradal@xxxxxxxxxx wrote:
On 09/03/2024 22:59, Dave Wreski wrote:
Hi Eric,

Might have to prefix with %{DOCUMENT_ROOT}

I've tried variations of that, including the following, but no luck. They all fail with 400 or "invalid request"

RewriteRule "/content/view/(.*)" "${lsv2ids:$1}"
RewriteRule "/content/view/(.*)" "%{DOCUMENT_ROOT}${lsv2ids:$1}" [PT]
RewriteRule "/content/view/(.*)" "https://linuxsecurity.com${lsv2ids:$1}" [PT]
RewriteRule "/content/view/(.*)" "%{DOCUMENT_ROOT}${lsv2ids:$1}"

If I understood correctly you want the resulting path to be loaded by your php-fpm backend.

Do you have a fallbackresource, such as:
"FallbackResource /index.php" or similar?

If not, then you may want to add it.

Yes, that's correct, I'm using php-fpm. I don't currently have a fallbackresource. I'll add it, if necessary, but I'd also like to identify the actual source reason why it's happening in the first place. How do I troubleshoot this further?

Thanks,
Dave





[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