1

Relative links not working in HTML (Apache2)?

view story
linux-howto

http://stackoverflow.com – I'm running an Apache 2 server from my raspberry pi, and everything works fine. I wanted to configure ".htaccess", so I had to move some files around. So in "/var/www", I created a file called "html" and moved all my pictures, and webpages into it. However, I left "index.html" out inside of "/var/www." All of this works fine, except for one thing. I have a link going from index.html to another page called test.html. I have another link from test.html to go back to the index.html page, and this doesn't work. "test.html" is stored in: "/var/www/html" and "index.html" is stored in "/var/www." So, (HowTos)