Welcome! Log In Create A New Profile

Advanced

Re: 404 Not Found while accessing the file

Maxim Dounin
August 02, 2021 01:50PM
Hello!

On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote:

> I am running nginx version: nginx/1.20.1 on CentOS Linux release 7.9.2009
> (Core). When I am accessing
> https://dsmadeveloperportal.mydomain.com/sites/default/files/2020-08/dsmaAccount%20and%20Transaction%20API%20Specification_2_1.yml,
> I am encountering 404 Not Found while accessing it. On the server, the
> file is there
>
> #ls -l
> "/var/www/html/dacdeveloperportal/web/sites/default/files/2020-08/dsmaAccount
> and Transaction API Specification_2_1.yml"
> -rwxrwxrwx 1 nginx nginx 418867 Aug 2 05:21
> /var/www/html/dacdeveloperportal/web/sites/default/files/2020-08/dsmaAccount
> and Transaction API Specification_2_1.yml

[...]

> root /var/www/html/dsmadeveloperportal/web;

Note this does not match the file location, "dsma" vs "dac".

Note well that additional useful information can be found in nginx
error log. Looking into error log usually greatly simplifies
debugging problems like this.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

404 Not Found while accessing the file

kaushalshriyan August 02, 2021 11:44AM

Re: 404 Not Found while accessing the file

Maxim Dounin August 02, 2021 01:50PM

Re: 404 Not Found while accessing the file

kaushalshriyan August 03, 2021 11:44AM

Re: 404 Not Found while accessing the file

Maxim Dounin August 03, 2021 02:08PM

Re: 404 Not Found while accessing the file

kaushalshriyan August 03, 2021 06:44PM

Re: 404 Not Found while accessing the file

Maxim Dounin August 03, 2021 08:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready