SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    local xamp testing env vs. production

    I installed XAMP and copied my entire site down to my local and put it in htdocs. I can see the index page, but the page's links and css are broken.

    My local site:

    //localhost/libweb/

    my production environment:

    //sitename.edu

    and the physical address on the box is:

    f:\inetpub\libweb

    Any ideas?
    I figured it out…

    Apache does not understand:

    / before a reference as in:

    <img src="/images/gc_logo_trans_dk.gif"


    This is the correct usage:

    <img src="images/gc_logo_trans_dk.gif"

    Now I need to figure out how to change all reference to images, pages, etc.

    Sorry for troubling you.

  2. #2
    SitePoint Member
    Join Date
    May 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I figured it out…

    Apache does not understand:

    / before a reference as in:

    <img src="/images/gc_logo_trans_dk.gif"


    This is the correct usage:

    <img src="images/gc_logo_trans_dk.gif"

    Now I need to figure out how to change all reference to images, pages, etc.

    Sorry for troubling you.


Bookmarks

Posting Permissions

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