Posted By: astrosanthosh on August 10, 2014, 11:29 am |
I am trying to run perl script in lemp pack but its giving some error, please let me know how to configure nginx to run perl in webuzo. thanks |
Posted By: valley on August 11, 2014, 5:49 am | Post: 1 |
Hi,
You can install the Perl scripts from the Webuzo Enduser Panel http://www.softaculous.com/apps If your script requires any custom configurations to the NGINX server, you can edit the conf file located at /usr/local/apps/nginx/etc/conf.d/common Make sure you restart the NGINX services once you make the changes. Please let us know if you need any further information. ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: astrosanthosh on August 11, 2014, 5:55 am | Post: 2 |
ok thanks. I am getting "Error: No such CGI app" error. do i need to change path of perl script ? |
Posted By: astrosanthosh on August 11, 2014, 7:30 am | Post: 4 |
One more problem, I am unable to redirect non-www to www, when I post this "server {
listen 80; server_name example.com; return 301 http://www.example.com$request_uri; }" where to paste this? |
Posted By: valley on August 11, 2014, 8:11 am | Post: 5 |
Quote Issue fixed with these SSH commands yum update yum install nginx make automake gcc gcc-c++ fcgi-perl wget yum install nginx fcg-perl wget chkconfig --add nginx chkconfig nginx on You are no longer using the NGINX binary provided by Webuzo. Please remove the system applications that you have installed using the YUM command. Restart all of the services from the Webuzo Enduser Panel. Guide : http://webuzo.com/wiki/Restart_services You can remove / install system applications by a click using Webuzo. Guide : http://webuzo.com/wiki/System_Utilities Quote From : astrosanthosh August 11, 2014, 7:30 am One more problem, I am unable to redirect non-www to www, when I post this "server {
listen 80; server_name example.com; return 301 http://www.example.com$request_uri; }" where to paste this? Webuzo installs NGINX with the default configurations. As notified earlier, any custom configurations should go in the file /usr/local/apps/nginx/etc/conf.d/common Hope it helps ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: valley on August 11, 2014, 9:32 am | Post: 7 |
Quote From : astrosanthosh August 11, 2014, 8:24 am I have added it to common file but when i try to restar nginx, its giving error and redirect is also not working, then i have added it to webuzoVH.conf then its giving redirect loop error Check the logs to learn more about the error. /usr/local/apps/nginx/var/log ----------------------- Webuzo : Single User Control Panel Join Webuzo : |