Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Problem with fastcgi_param SCRIPT_FILENAME.

$
0
0
I have setup nginx 1.8 with php-fpm support and it is working as it should, except for this small problem..
If I use:

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

I get Access denied... But using the root dir like this works:

fastcgi_param SCRIPT_FILENAME /www/domaindir$fastcgi_script_name;


Shouldn't using $document_root work or am I missing something?


Regards,

BTJ

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>