On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly wrote:
On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly wrote:
> The rewrite that you want doesn't happen, because the request
> /en/privacy.php is handled in:
>
> > location ~ \.php$ {
> > location / {
> > location ^~ /e
On Wed, Jun 11, 2014 at 06:20:50PM +0200, Luciano Mannucci wrote:
> On Tue, 10 Jun 2014 22:43:05 +0100
> Francis Daly wrote:
Hi there,
> > The rest of the config?
> :)
> Well, I've posted it in my previous request for help. Beeing
> longish I tried to spare some bandwith... :)
No worries.
It c
On Tue, 10 Jun 2014 22:43:05 +0100
Francis Daly wrote:
> The rest of the config?
:)
Well, I've posted it in my previous request for help. Beeing
longish I tried to spare some bandwith... :)
>
> ==
> server {
> rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
> rewrite ^/privacy.php$ /pagina.php
On Tue, Jun 10, 2014 at 06:00:13PM +0200, Luciano Mannucci wrote:
Hi there,
> works pretty weff if turned into:
>
> rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
> does not work if translated as:
>
> rewrite ^/privacy.php$ /pagina.php?k=privacy ;
>
> the request is passed unchanged and I get a
I'm still trying to move everything from apache to nginx.
I've successfully translated some rules from the .htaccess:
RewriteRule ^(.*)_k(.*)\.htm$ pagina.php?k=$2
works pretty weff if turned into:
rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
while
RewriteRule ^privacy.php$ pagina.php?k=priva