Welcome! Log In Create A New Profile

Advanced

localhost path to images directory

November 21, 2011 02:21PM
I have nginx and php5-fpm set up and working to serve /var/www/index.php as localhost/index.php
That works fine. The images on the page are not showing up however. The images are in a folder /var/www/images
The folder has same user/group permissions as the index page
I can see an image in my file manager at /var/www/images/key.gif and gave it 777 permission
Page source shows image should be at relative path images/key.gif
Pageinfo (Firefox) says image should be at http://localhost/images/key.gif
Typing directly in browser window http://localhost/images/key.gif gets a 404
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: 224
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