Re: RewriteMap and patterns

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

 



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}"

dave



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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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