1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Virtual host config question (i think)

Discussion in 'Apache' started by Bearism, Sep 8, 2015.

  1. #1
    Running Drupal 7 on a WAMP stack and think i'm having server config issues. I've set up my vhosts and hosts files for my server (localhost) and my site, uncommented Include conf/extra/httpd-vhosts.conf in the httpd.conf file and get to my site's home page - which is displaying weirdly as if a lot of css is missing/wonky, AND every link from the home page breaks because it's trying to send it back to the local server. What in the seven hells am i doing wrong?
     
    Bearism, Sep 8, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    I would guess it's looking for files in the wrong places. Since I'm not familiar with Drupal 7 setup, I can't really help you too much there, but I'm assuming you're using something like http:// mydomain instead of http:// mydomain.something for you localized testing?
    I would have a look at the plain html source when looking at the frontpage, and check all the includes and links, to see where they're sent or fetched from - I'm guessing somewhere in there you have a wrong setting for local filepath or mixing localhost into the mix.
     
    PoPSiCLe, Sep 10, 2015 IP