Results 1 to 3 of 3
  1. #1

    Home web server set up, relative paths not working?

    Hi all,

    I've had a web server set up for a while at home to do some testing. I can view the site locally using my IP but all relative paths of CSS or images on the html page (eg /something/title.gif) don't show up. Bizarrely, if I go to http://(myip)/something/title.gif, they appear!

    Anyone know what the issue may be? The "DocumentRoot" value in Apache conf is pointing to the correct folder.

    Cheers, Asa

  2. #2
    Can you paste here some HTML containing relative links that do not work?

  3. #3
    Hi,

    Thanks for replying. All fixed now, turns out my .htaccess file was confusing things.

    Cheers, Asa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •