Welcome! Log In Create A New Profile

Advanced

Re: Need some help with rewrite rule translation

Anonymous User
June 18, 2013 10:24AM
I have found the point where my rules break,

I've had the following location on top, to enable browser caching for
images, for one month:

#images give caching response for 1 month, browser will request after
this period of time again
location ~* \.(png|jpg|jpeg|gif)$ {
expires 1m;
log_not_found off;
}
This prevented the Rules to run.
Is there a chance to get this functionality without breaking other
rules?

Simon

Am 14.06.2013 13:40, schrieb B.R.:
> Hello,
>
> On Fri, Jun 14, 2013 at 4:35 AM, <mailinglisten@simonhoenscheid.de>
> wrote:
>
> Am 13.06.2013 19:35, schrieb B.R.:
>
> What is the observed behavior?
>
> The parameters are not given corectly to the php script, delivering the
> picture.
>
> ​What​ 
> ​does the script receive ? Details!
>
> What do show your logs?
>
> As expected there ist a 404 in the belonging access log. I activated
> the rewrite_log but there is no output in the error log.
>
> ​
>
> Are you sure you log everything correctly?
> The error output from rewrite_log is produced at the 'notice' level.
> Is that error level written to the log file?​
>
> Do you have access_logs telling you which files are being accessed and
> what answers are provided?
>
> Simon
>
> ---
> B. R.
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx [1]
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx [1]
> ---
> B. R.
>
> Links:
> ------
> [1] http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: Need some help with rewrite rule translation

Anonymous User June 18, 2013 10:24AM

Re: Need some help with rewrite rule translation

Anonymous User June 19, 2013 12:46PM

Re: Need some help with rewrite rule translation

Francis Daly June 19, 2013 05:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready