The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

new user troubles

Discussion in 'General Discussion' started by psylosyphyr, Apr 23, 2004.

  1. psylosyphyr

    psylosyphyr Registered

    Joined:
    Apr 13, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Northern ca. just south of Oregon
    new user troubles OK Now,Thanx Izze

    This is the first time that I have used cotrol panel .
    I feel kinda lame but can anyone explain to me what the directory structure is as if it were layed out horizontally
    like a path?
    I am working on my index.html and can not figure out how to
    accsess my image directory <img src="?" > To get http://domain/public_html/images/image.jpg?
    I'm sure that I'm missing something simple but What?
    Can anyone help? Oh yeah I have "fancy indexing" on for
    the image directory but still no pix!
     
    #1 psylosyphyr, Apr 23, 2004
    Last edited: Apr 24, 2004
  2. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    Paths:
    http://yourdomain.com/images/image.jpg
    and
    /home/useryou/public_html/images/image.jpg

    You need:
    <img src="images/image.jpg" alt="" border="" etc>
    or
    <img src="http://yourdomain.com/images/image.jpg" alt="" etc.>
    HTH.

    I'll just add that you don't use public_html in a url.
    Your index.html is in your public_html directory which is base. So it would look like this:
    http://yourdomain.com/index.html
    or absolute like this:
    /home/useryou/public_html/index.html
    The above is used mainly in scripts and never in urls.
    HTH.
     
    #2 Izzee, Apr 24, 2004
    Last edited: Apr 24, 2004
  3. psylosyphyr

    psylosyphyr Registered

    Joined:
    Apr 13, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Northern ca. just south of Oregon
    Thanx Izee!

    Thanx Izee!
    I was over complicating my code because I wasn't
    sure what was root, Thanks alot ! I guess I'll
    get used to CP like any other new system,
    I really appreciate your time. Again THANK YOU!
     
Loading...

Share This Page