New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Is this for wordpress?
Im afraid not.
I'm shocked cloudflare didn't think you were trying to take over the website!
their filters are like:
shouldn't it be
rewrite ^/t.php?id=(\w+)$ /hello/$1 last;
IIRC, that includes _ also, which isn't really 'somelettersnadnumbers'
yep,
\w
is equivalent to[a-zA-Z0-9_]
, I was talking more about the ordering of the argumentsYep, that got me thinking too
it worked this way:
location /hello/ {
rewrite ^/hello/(.*)$ /t.php?id=$1 last;
}
thanks for the help!
well, something doesn't add up to me; it may be helpful to enable rewrite logs and double check error.log
that should match /hello/something?randomargs and rewrite it to /t.php?id=something?randomargs (the opposite of what you requested?)
I hope you already have the simultaneous Apache rules. If so try this URL - https://winginx.com/en/htaccess
It does help with the majority of the conversions to Nginx.