Rewrite help when files do NOT have a ".php" extension

António P. P. Almeida appa at perusio.net
Thu Jun 2 22:53:35 MSD 2011


On 2 Jun 2011 11h11 WEST, nginx-forum at nginx.us wrote:

> Thanks. I put this in my server directive: 
>
> error_log logs/error.log debug; 
> access_log logs/access.mine.log; 
> log_format combined2 '$remote_addr - $remote_user [$time_local] 
> '
> '"$request" $status $body_bytes_sent '
> '"$http_referer" "$http_user_agent"';
>
>
> But this creates a file "access.mine.log" which is empty. And the
> error_log only manages to show me messages that are about the
> reloading of the nginx server ("[notice] 19142#0: signal process
> started").
>
> What can I do?

Did you configured the nginx build with the --with-debug option?

See http://wiki.nginx.org/NginxDebugging
 
--- appa




More information about the nginx mailing list