Welcome! Log In Create A New Profile

Advanced

Re: X-Accel-Redirect issues - Image of 0 size

August 25, 2010 11:40AM
Thank you, I guess I misunderstood those directives' functions.

After removing them, now I receive a 404 when attempting to access the image. The error log shows:

[error] 1109#0: *40 open() "/var/www/public_html/dev/public/var/www/public_html/dev/public/doku/data/media/image.jpg" failed (2: No such file or directory), client: 192.168.1.121, server: dev, request: "GET /doku/lib/exe/fetch.php?cache=&media=image.jpg HTTP/1.1", upstream: "fastcgi://unix:/usr/local/var/run/php-fpm.sock:", host: "dev", referrer: "http://dev/doku/lib/exe/detail.php?id=start&media=image.jpg

The webroot, /var/www/public_html/dev/public/ appears twice in the file's path. How can I prevent this?
Subject Author Posted

X-Accel-Redirect issues - Image of 0 size

habodal August 25, 2010 02:35AM

Re: X-Accel-Redirect issues - Image of 0 size

Maxim Dounin August 25, 2010 04:26AM

Re: X-Accel-Redirect issues - Image of 0 size

habodal August 25, 2010 11:40AM

Re: X-Accel-Redirect issues - Image of 0 size

Maxim Dounin August 25, 2010 12:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready