Welcome! Log In Create A New Profile

Advanced

Incorrect log location error

May 05, 2019 10:33AM
I can't seem to get past an error when specifying the log location for a website.

In my site.conf for the website...

access_log /webspace/mydomain.com/log/access.log;

The /webspace/mydomain.com/log folder definitely exists at that location.

access.log is not created there. In my error.log file...

"/usr/share/nginx//webspace/mydomain.com/log/access.log" failed (2: No such file or directory) while logging request, client: X.X.X.X, server: www.mydomain.com..."

It looks like it is trying to place it as a subfolder in the /usr/share folder instead of at the root. Any thoughts on what I am doing wrong here?
Subject Author Posted

Incorrect log location error

spraguey May 05, 2019 10:33AM

Re: Incorrect log location error

daBee May 05, 2019 07:02PM

Re: Incorrect log location error

spraguey May 05, 2019 07:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 240
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready