<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 4:50 PM, Jim Ohlstein <span dir="ltr"><<a href="mailto:jim@ohlste.in" target="_blank">jim@ohlste.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hello,</div><div><div class="h5"><div><br></div></div></div></div></blockquote><div><div><font color="#5856d6">> Is it possible that your script is trying to write a configuration file and lacks proper > permission in that directory?<br><br></font></div><div><font color="#5856d6">Yes, very possible, and I'd even say likely. The thing is, I can't find out what the directory is. I've given permission to the entire folder:<br></font></div><div><font color="#5856d6">chown www-data /var/www/osticket<br></font></div><div><font color="#5856d6">chmod -R 777 /var/www/osticket<br><br></font></div><div><font color="#5856d6">But that doesn't seem to help. I'm new to Linux, though, so I may have missed something. I can't imagine where else it would be trying to write to.<br></font></div><span class=""><font color="#888888"><div><font color="#5856d6"><br></font></div></font></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="h5"><div>On May 11, 2016, at 4:26 PM, Alex Hall <<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Thanks for the quick response. Unfortunately, I'm not having any luck, unless I mistyped one of the rules. I also can't find where errors go. Anyone know where, or if, errors in fastcgi/php5-fpm are logged? /var/log/php5-fpm.log is empty.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 4:09 PM, Yuriy Medvedev <span dir="ltr"><<a href="mailto:medvedev.yp@gmail.com" target="_blank">medvedev.yp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Try my config for Osticket 1.7, nginx+php-fpm<div>I create that's config just for testing </div><div>server {<br></div><div><div>listen 80;</div><div>server_name <a href="http://test.com" target="_blank">test.com</a>;</div><div>access_log /var/log/nginx/tickets.access.log;</div><div>error_log /var/log/nginx/tickets.error.log info;</div><div>index index.php;</div><div>root /var/www/ticket;</div><div>client_max_body_size 5M;</div><div>keepalive_timeout 0;</div><div>fastcgi_read_timeout 120;</div><div>fastcgi_send_timeout 60;</div><div>index index.php index.html;</div><div>autoindex off;</div><div><br></div><div>gzip on;</div><div>gzip_types text/plain text/css application/x-javascript text/javascript application/javascript application/json application/xml text/x-component application/rss+xml text/xml;</div><div>sendfile on;</div><div>set $path_info "";</div><div><br></div><div>location ~ /include {</div><div>        deny all;</div><div>        return 403;</div><div>}</div><div><br></div><div>if ($request_uri ~ "^/api(/[^\?]+)") {</div><div>    set $path_info $1;</div><div>}</div><div><br></div><div>location ~ ^/api/(?:tickets|tasks).*$ {</div><div>    try_files $uri $uri/ /api/http.php?$query_string;</div><div>}</div><div><br></div><div>if ($request_uri ~ "^/scp/.*\.php(/[^\?]+)") {</div><div>    set $path_info $1;</div><div>}</div><div><br></div><div>location ~ ^/scp/ajax.php/.*$ {</div><div>    try_files $uri $uri/ /scp/ajax.php?$query_string;</div><div>}</div><div><br></div><div>location / {</div><div>        try_files $uri $uri/ index.php;</div><div>}</div><div><br></div><div><br></div><div>location ~ \.php$ {</div><div>    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;</div><div>    fastcgi_pass unix:/var/run/php-fpm.sock;</div><div>    fastcgi_index index.php;</div><div>    include fastcgi_params;</div><div>    fastcgi_param  PATH_INFO   $path_info;</div><div>    fastcgi_intercept_errors on;</div><div>}</div><div>}</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-05-11 23:03 GMT+03:00 Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi all,<br></div>I'm using Nginx (obviously), but I want to try OSTicket. The only supported servers for it are, for whatever reason, Apache and IIS. I hate IIS, and I don't know how I'd run Apache and Nginx together (plus Nginx seems much simpler than Apache to me). Does anyone have OSTicket working under Nginx by any chance?<br><br>I've followed this recipe:<br><a href="https://www.nginx.com/resources/wiki/start/topics/recipes/osticket/" target="_blank">https://www.nginx.com/resources/wiki/start/topics/recipes/osticket/</a><br></div>but I can't get it to work. It hits a wall during installation, saying that it can't create configuration settings (#7). If anyone has this up and running successfully, I'd love to know how you did it. Hopefully the OSTicket team will eventually support Nginx natively, but I'm not holding my breath.<span><font color="#888888"><br clear="all"><div><div><div></div></div></div></font></span></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote><br></div></div><span class=""><font color="#888888"><div><font color="#5856d6">Jim</font></div></font></span></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div>