Hi Everyone,
I am new to this forum so please be easy on me. I am a Web developer that uses Mac OS X. I am trying to use OS X's built in Apache server to test my sites locally before I deploy them to my staging or production servers. Unfortunately I am having a problem with path. When files the same directly as the HTML file I am accessing are referenced they load fine but when a file is any subfolder or any other path it will not load.
For example:
<img src=”foo.jpg"> - Works
<img src=”images/img.jpg"> - Does not work
Has anyone else encountered this and if so do you know a way to fix it? I have searched this forum for this issue and was not able to find anything so I apologize if this has already been answered.
Thanks!
Mavro