Welcome! Log In Create A New Profile

Advanced

Re: localhost path to images directory

Francis Daly
November 21, 2011 02:56PM
On Mon, Nov 21, 2011 at 02:21:03PM -0500, bizshop wrote:

Hi there,

> That works fine. The images on the page are not showing up however. The
> images are in a folder /var/www/images

> Typing directly in browser window http://localhost/images/key.gif gets a
> 404

The error log probably tells you what file nginx failed to find.

Do you have "root /var/www;" in the server{} block, outside of all
location{}s?

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

localhost path to images directory

bizshop November 21, 2011 02:21PM

Re: localhost path to images directory

Francis Daly November 21, 2011 02:56PM

Re: localhost path to images directory

bizshop November 21, 2011 03:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready