| View previous topic :: View next topic |
| Author |
Message |
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
|
I don't know if that is a http server or html stuff, but locally, if I have something like <img src=/my_image.png> , that doesn't work. But that works on the server my site is stored on.
Does my apache do not understand absolute path ?
Reply with quote
|
| |
|
|
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
Where should the /file.ext be? in the same directory as html page?
Reply with quote
|
| |
|
|
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
|
No, on the site root
Maybe the use of alias make the absolute path to point to the wrong location ?
Reply with quote
|
| |
|
|
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
|
So you have localhost/directory/file.html and the image is in /directory
Reply with quote
|
| |
|
|
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
| |
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
| |
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
Don't know what are you trying to say, but /> belongs to xml(so xhtml too). in html the slash should not be there.
*-should +must
Reply with quote
|
| |
|
|
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
| |
| Page 1 of 2 |
Goto page 1, 2 Next |
|