configure default apache to resolve relative URLs

Jump to First Reply
Posted:
in Genius Bar edited January 2014
Hi,



Upon starting OS Xs Apache, I find that it doesn't resolve relative URLs if one places a forward slash in front of the directory. For example, the code (in an HTML page):



/img/graphic.gif



is not found, but



img/graphic.gif



is found.



I know it should work both ways, but how does one configure apache to handle this?



Thanks in advance.



[ 12-15-2002: Message edited by: MacLuv ]</p>

Comments

  • Reply 1 of 2
    wmfwmf Posts: 1,164member
    This is an HTML problem, not an Apache problem.



    /img/graphic.gif is not the same thing as img/graphic.gif.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 2
    macluvmacluv Posts: 261member
    [quote]Originally posted by wmf:

    <strong>This is an HTML problem, not an Apache problem.



    /img/graphic.gif is not the same thing as img/graphic.gif.</strong><hr></blockquote>



    Hi, it is an Apache problem, thanks.

     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.