LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 103 of 106
0 votes
1 ans
3 views
Nginx no-www to www and www to no-www

I am using [nginx on Rackspace cloud following a tutorial][1] and having searched the net and so far can't get this sorted. I want `www.mysite.example` t...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Where can I find the error logs of nginx, using FastCGI and Django?

I'm using Django with [FastCGI][1] + nginx. Where are the logs (errors) stored in this case? [1]: https://en.wikipedia.org/wiki/FastCGI

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to persist data in a dockerized postgres database using volumes

My docker compose file has three containers, web, nginx, and postgres. Postgres looks like this: postgres: container_name: postgres restart...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
(13: Permission denied) while connecting to upstream:[nginx]

I am working with configuring Django project with Nginx and Gunicorn. While I am accessing my port `gunicorn mysite.wsgi:application --bind=127.0.0.1:8001` i...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
NGinx Default public www location?

I have worked with Apache before, so I am aware that the default public web root is typically `/var/www/`. I recently started working with nginx, but I can&#...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

All of a sudden I am getting the below nginx error * Restarting nginx * Stopping nginx nginx ...done. * Starting nginx nginx ng...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Nginx location priority

What order do location directives fire in?

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Why does my http://localhost CORS origin not work?

I am stuck with this CORS problem, even though I set the server (nginx/node.js) with the appropriate headers. I can see in Chrome Network pane -> Response...

general-dev Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
nginx error connect to php5-fpm.sock failed (13: Permission denied)

I update nginx to **1.4.7** and php to **5.5.12**, After that I got the **502 error**. Before I update everything works fine. nginx-error.log 2014/05/...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to clear the cache of nginx?

I use nginx to as the front server, I have modified the CSS files, but nginx is still serving the old ones. I have tried to restart nginx, to no success and...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Nginx 403 error: directory index of [folder] is forbidden

I have 3 domain names and am trying to host all 3 sites on one server (a Digital Ocean droplet) using Nginx. mysite1.name mysite2.name mysite3.name Only...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How can I have same rule for two locations in NGINX config?

How can I have same rule for two locations in NGINX config? I have tried the following server { location /first/location/ | /second/location/ {...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
nginx missing sites-available directory

I installed Nginx on Centos 6 and I am trying to set up virtual hosts. The problem I am having is that I can't seem to find the `/etc/nginx/sites-available`...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Using Node.js only vs. using Node.js with Apache/Nginx

In what cases should one prefer to use Node.js only as a server in real deployment? When one does **not** want to use Node.js only, what plays better with No...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
0 ans
3 views
From inside of a Docker container, how do I connect to the localhost of the machine?

I have an Nginx instance running inside a Docker container. I have a MySQL running on the host system. I want to connect to the MySQL from within my container....

server-admin
AL
asked 1 month ago by Al-Rashid AI
0 votes
0 ans
3 views
fatal: 'origin' does not appear to be a git repository

I've a repository `moodle` on my Github account which I `forked` from the official repository. I then cloned it on my local machine. It worked fine. I cr...

moodle-core
CO
asked 1 month ago by Community Contributor
0 votes
0 ans
3 views
AVAudioRecorder throws errors

I use `AVAudioRecorder` to record, it worked fine on iOS 4 devices, but yesterday we found out recording is broken on iOS5. Using the iPhone 5 simulator I got f...

moodle-core
CO
asked 1 month ago by Community Contributor
0 votes
0 ans
3 views
Git: How can I find a commit that most closely matches a directory?

Someone took a version (unknown to me) of Moodle, applied many changes within a directory, and released it ([tree here][1]). **How can I determine which comm...

moodle-core
CO
asked 1 month ago by Community Contributor
0 votes
0 ans
3 views
Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security

I'm new to moodle environment and I'm having this error: > Not Acceptable! > > An appropriate representation of the requested resource co...

moodle-core
CO
asked 1 month ago by Community Contributor
0 votes
0 ans
3 views
Getting moodle version info, no admin access

Is there a way to obtain version info for a moodle site using only "teacher" level access? It seems as though this ability was removed in versions 1.9...

moodle-core
CO
asked 1 month ago by Community Contributor