Igor Sysoev Wrote: ------------------------------------------------------- > > Locations, Directories, and other blocks in the > global server > configuration is one of features I never liked in > Apache, so > this is reason why they were not implemented in > nginx. > > > -- > Igor Sysoev > I guess that is certainly enough reason not to inby dougconran - Nginx Mailing List - English
Yes, I thought of that and it would certainly reduce the amount of duplication. However I do think that there are times when location directives apply to the whole server (the real server, that is, not the virtual host) and it would be nice to be able to use them at the higher level. Maybe that is one for the wishlist? Dougby dougconran - Nginx Mailing List - English
I have Nginx up and running but I think that the conf file could be improved upon. I have a single server hosting 2 domains (doma and domb). doma is the default virtual host and supports a number of applications all of which use Perl scripts. domb has a separate domain name (obviously!) and supports one application that has a Wordpress/PHP frontend plus a secure Perl application All doby dougconran - Nginx Mailing List - English
OK - I can now answer my own question All I needed to do was to add an additional line at the top of the main subroutine in cgiwrap-fcgi.pl as follows:- open STDERR, ">>/usr/local/nginx/logs/error.log" or die "Cannot redirect stderr"; Dougby dougconran - How to...
OK, I'm new to this as well but I have got it working (and I'm also using cgiwrap-fcgi.pl). Looking at your error message it looks like it is the Perl script that is failing rather than the Nginx setup (check out line 82 of syscall.ph). 1. I set it up using sockets rather than tcp ports. This is what I have in my conf file (note, my scripts have a .pl extension):- location ~ ^/cgiby dougconran - How to...
Hi all, My first post on this forum as I've only just started using Nginx. First impressions are that it is FAST and a lot simpler to set up than Apache but not as easy as Litespeed (which has a GUI frontend). I'm considering switching from Litespeed because the 64bit version is paid-for and I only want it for a backup site. My server hosts 2 domains running a number of Perl applications pby dougconran - How to...