Apache multiple sites not directing properly

Having a problem with multiple sites (domains) on my Snow Leopard Server.  I have three sites (with three separate registered domain names).  Two work fine and intentionally point to the same site (call it DomainA.com and DomainA.net).  The third one (call it DomainB.com), does not get directed to DomainB.com, but instead goes to DomainA.com.  I have checked the path in Server Admin, and I have manually checked the path in the conf file in etc/apache2/sites
I have a Tiger server running on an older G4 Xserve and it has about 6 different domains and they all work fine.  I have looked at the config files on it to try and figure out what I'm doing wrong on the SLS, but I can't seem to find an answer.  Any suggestions would be appreciated.

This likely doesn't have anything to do with paths - an incorrect path would generally lead to a 404 - File not found error, not the wrong virtual host.
It sounds to me that Apache is selecting the wrong virtual host configuration to serve the request, and that's way higher than the path.
If all services are running on the same port then Apache looks at the ServerName and ServerAlias directives. These define which hostnames in the request should map to the configuration. Check these settings in the site that's not working (as well as in the ones that are working to make sure the incorrect hostname isn't set there).

Similar Messages

  • Gasbuddy web site not working properly with firefox, but working fine with explorer

    I've noticed when I load the web site gasbuddy.com, it is not working properly. It does load, just not performing like it should. When I try using gasbuddy.com on explorer 9, it works fine. I've already tried working in safe mode and that didn't solve the problem with gasbudy.com. Any suggestions as to how to fix the problem? I did do some prior investigating, and I'm very cautious about removing my cookies. It seems when I do that procedure, I lose too much info on certain web sites----weather.com, weatherunderground, etc. Just not sure how to remove cookies to solve a problem with out causing other problems? Thank you.

    I'm glad we were able to figure it out. Many sites are designed with stretchy columns that work with either full zoom or text-only zoom, but definitely not all of them.

  • Site not displaying properly in IE

    Hello,
    I'm working on building a site from a template. Prior to today I only  opened the site in Firefox and it displays fine. However, in IE for some  reason every page besides the index.html do not display properly. The  weird thing is, the part that is messed up should be the same as the  index.html because they're from the same template.
    Does anyone happen to know what I messed up?
    Here is the site...
    http://testtreks.onlinewebshop.net/index.html

    I'm working on building a site from a template. Prior to today I only  opened the site in Firefox and it displays fine. However, in IE for some  reason every page besides the index.html do not display properly.
    Which IE?  What does "do not display properly" mean?  It looks OK to me in IE8.

  • Multiple Upload not triggering properly for WorkFlows

    Hi All,
    I have set UploadEvent to some WorkFlow and am testing by uploading documents. When i am upoading single file using upload tab in content Services , WorkFlow process is getting triggered properly. But when i am uplaoding multiple Documents at same time, WorKflow is not functioning properly. WorkFlow was getting trigerred for Single file only (which is first entry in Upload Window ) and its neglecting all other files.
    My code is getting all TargetItems by using
    WorkflowUtils.getTargetDocuments(session,m_WorkflowId);
    and i am getting single document as result. Please let me know what setting i ahve to do to gett all targetItems, i.e, to get all uploaded items from targetDocuemnts function.
    Thanks!
    Veeraswami K

    My mistake.. for UPLOAD in Content Services 10.1.2.3 and Content DB, the uploaded items can actually be seen in the REQUEST_DEFINITIONS NamedValueSet[].
    (Item)    48540 REQUEST                                                                    
    requested attributes ...
      REQUEST_CREATED=Tue Sep 12 16:49:11 EST 2006 (Calendar)
      REQUEST_TYPE=CREATEDOCUMENTREQUEST (String)
      REQUEST_TRIGGERED=true (Boolean)
      REQUEST_DEFINITIONS (NamedValueSet[])=
        OPT.DESTFOLDER (Item)=
          (Item)    48484 FOLDER                    Test                                             
        OPT.USE_SAVED_DEFINITION (NamedValue[])=
          IFS.ATTRIBUTES.NAME=1.txt (String)
          IFS.DEFINITIONS.IFS.DocumentDefinition.ContentObjectDef (NamedValue[])=
            IFS.CONTENTSPECS.IFS.ContentObjectDefinition.Content (NamedValue[])=
              MIME_TYPE=text/plain (String)
              SIZE=13 (Long)
              ID_URL=http://content1.au.oracle.com:7777/content/dav/?docid=48492 (String)
        OPT.DESTFOLDER (Item)=
          (Item)    48484 FOLDER                    Test                                             
        OPT.USE_SAVED_DEFINITION (NamedValue[])=
          IFS.ATTRIBUTES.NAME=2.txt (String)
          IFS.DEFINITIONS.IFS.DocumentDefinition.ContentObjectDef (NamedValue[])=
            IFS.CONTENTSPECS.IFS.ContentObjectDefinition.Content (NamedValue[])=
              MIME_TYPE=text/plain (String)
              SIZE=13 (Long)
              ID_URL=http://content1.au.oracle.com:7777/content/dav/?docid=48503 (String)
      REQUEST_STATUS=1 (Integer)
      REQUEST_TARGETS (Item[])=
        (Item)    48484 FOLDER                    Test                                             
      REQUEST_RESPONSE=true (Boolean)
      REQUEST_RESPONSE_DATE=Tue Sep 12 16:49:12 EST 2006 (Calendar)
      REQUEST_FAILURE_CAUSE (NULL)
      REQUEST_CAN_CANCEL=false (Boolean)
      REQUEST_CAN_DELETE=true (Boolean)
      REQUEST_CAN_RESPOND=false (Boolean)
      REQUEST_RESPONDERS (NULL)
      REQUEST_WORKFLOW (Item)=
        (Item)    48487 WORKFLOW                  Test                                             
      REQUEST_WORKFLOW_PARAMETERS (NULL)

  • Multiple panels not working properly

    I've added an additional read less at the bottom of each tab panel on the page.
    http://summiticemelt.com/productstestmar4.php
    1. The page opens with the #2  & 3 tabs open, even though they are set to false.
    2. The read less function does not work properly with tabs 2 & 3.
    I'm new to Spry and .js and pieced this together based on what I could find in the forums.

    There are a few problems that I have noticed so far.
    Line #1 <!doctype html5> is not recognised, hence the page will revert back to HTML 4.01 Transitoinal. It should read <!doctype html>
    Line #51 (links to) style rules should be placed in the <head> element, not in the <body> element
    Lines #124, #159 and #188 all link to the same JS file. Delete two of them.
    Lines #126, #161 and #207 contain a constructor for the same widget. The former two should be deleted.
    Lines #190 and #208 contain a constructor for the same widget. The former should be deleted
    Although JS can be placed anywhere in a document, I tend to place all JS at the bottom, just above the ending body tag (</body>) unless the JS is required for rendering purposes in which case it should be placed where it is required. This way, you can keep check of what you have linked to and which constructors you have created thus eliminating the problems mentioned above.
    Also you might like to have a look at a collapsible panel group http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html. This will simplify the code somewhat.
    Gramps

  • Site not displaying properly on PC...

    Hi,
    I've built the following site on a mac in dreamweaver MX
    using CSS:
    http://www.imagemakers.uk.com/clunyhouse/index.html
    Looks fine when previewing in Safari and Firefox, but not in
    IE on PC. The main flower image is appearing way down the page, as
    if its too wide to fit properly.
    I'm quite a newbie with css so I've probably made an obvious
    mistake. My deadlines looming so any help greatly appreciated!!
    Thanks.

    I've just tested it in IE7 and it looks fine - so it's just
    IE6 I'm having the problem with. Any ideas?
    Thanks.

  • Site not viewing properly on iPad

    Hi - i'm hoping someone can help me. The site i'm working on centers properly on everything i've tested except on my ipad. The beige background you can only see on the top and left hand side, but not on the right side. Also, there appears to be some fragmenting (?) going on where the background shows through in very fine lines around my tables. I'm wondering if there is any way of fixing this? Site link is www.theoldsaltboxco.com

    I don't have access to an ipad right now to verify the below, so this "may" not fix all of the issues (but it's a good place to start)...
    You have some errors in your html. Mainly the use of deprecated attributes like marginheight, topmargin and background. You should be using css for these instead.
    Code errors are the number one cause of display issues between different browsers. Run your site through this validator and clear out the errors...
    http://validator.w3.org/
    You are missing your Doctype Declaration (DTD). Go to Modify > Page Properties and select Title/Encoding. Given the code you currently have, I would choose HTML 4.01 Transitional or XHTML 1.0 Transitional.
    For the margin issues, remove all 4 of the attributes from the body tag and add this to your css...
    body {
         margin:0;
    For the background image issue, remove the background tag and add this to your css...
    #textarea {
         background-image:url(images/text-area.jpg);
    Then in the <td> for that text area, add this to the html in place of the background="images/text-area.jpg"...
    id="textarea"
    You can also get rid of all the border="0" on your linked images and add this to your css...
    a img {
         border:none;
    Since you are using tables for your layout, you'll need to collapse the borders in your css as well (this "may" be why there is that "fracturing" effect) Mobile browsers were invented after most designers stopped using tables for layout, so there are some items they were never really programmed to handle without explicit css instructions...
    table {
         border-collapse:collapse;
    If is still isn't working right after the above fixes, let us know and we can take a closer look.

  • Multiple sites not opening

    Hey all!
    I have an interesting problem.. i was using iweb 1 w/ iwebsites to edit multiple pages in iweb.. i updated to iweb 2 and now one of my other sites will not open in iweb 2.. This other site WAS created using iweb 1..
    I d/l the new version of iwebsites for iweb 2, but I dont believe that is the problem..
    I think my domain/sites files have become corrupted somehow...
    Anybody have any suggestions?? I really need to work on this other site that wont open!
    Thanx in advance!
    -Jay

    I did indeed try that already to no avail.. Oddly enough I only get one site to open....
    basically, I need to figure out how to add the site back...
    Thanks for the suggestion!
    -Jay

  • Web sites not opening properly

    On my iMac 2 some web sites have ceased opening properly. One such example is  maps.google.co.uk/  where, when attempting to open, the map simply does not appear.  Until recently this site had worked perfectly normally. (The preloaded maps app. still opens ok).  Other examples of sites which no longer open correctly are facebook and not allowing me to continue with logging on to my bank account.   Everything opens and works perfectly normally on my iMac. Any help will be gratefully received
    Malcolm Sheppard

    Thanks. However, I had decided to do a reset using the reset button on the settings page which, as I understand it, returns the iPad to its factory settings and this seems to have completely cured the problem.

  • Flash site not displaying properly in IE and chrome

    Any ideas of what is causing this code not to display properly in IE and chrome as checked on PC.
    It works on safari
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
              <head>
                        <title>n u h n | painting</title>
                        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
                        <script type="text/javascript" src="swfobject.js"></script>
                        <script type="text/javascript">
                                  swfobject.registerObject("myFlashContent", "8.0.0");
                        </script>
              <style type="text/css">
    <!--
    body {
              background-color: #FFFFFF;
              margin-left: 0px;
              margin-top: 0px;
              margin-right: 0px;
              margin-bottom: 0px;
    -->
    </style>
    <body>
                        <div align="center">
                                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="myFlashContent" align="middle">
                                            <param name="movie" value="index.swf" />
                                            <param name="quality" value="best" />
                                            <param name="scale" value="noscale" />
                                            <param name="bgcolor" value="ffffff" />
                                            <!--[if !IE]>-->
                                            <object type="application/x-shockwave-flash" data="index.swf" width="100%" height="100%" align="middle">
                                                      <param name="quality" value="best" />
                                                      <param name="scale" value="noscale" />
                                                      <param name="bgcolor" value="ffffff" />
                                            <!--<![endif]-->
                                                      <a href="http://www.adobe.com/go/getflashplayer">
                                                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" height="600" />
                                                      </a>
                                            <!--[if !IE]>-->
                                            </object>
                                            <!--<![endif]-->
                          </object>
                        </div>
              </body>
    </html>

    You can set an explicit width and height instead of a percent but I presume you want the flash object to be the size of the browser window specifying 100%. You also have noscale specified so I presume you're detecting the flash stage size and are dynamically laying out your content based on available space. Is that correct?
    That said, you're using XHTML strict but you have some invalid code. In browsers like IE that can be enough to pop compatibility mode and it gets messy. For instance the "align" attribute is not supported so you should remove it.
    Using 100% of the space is tricky. You have a scrollbar that can be invoked if you use 100%. Try 99% so the browser doesn't fire off a scrollbar just incase.
    Your CSS probably isn't doing enough either. Use your web developer tools in your browser to take a look at your object. You're only clearing margins on the body tag. Try something more aggressive to remove ALL margins and padding like so:
    *,html,body,object,div { margins:0; padding:0; }
    Your object probably has some margins or padding pushing it off screen and you're only setting margins for the body tag itself. Also a small CSS note. Anytime you specify a value of 0 you don't need to specify px, like 0px. No matter your unit, em, px, etc, 0 is 0. That's why I didn't put 0px if you were wondering.
    Also I specified 'div' in the CSS above. It may solve some of your problems to put your <object> inside a <div>.
    e.g.:
    <div style="width:99%; height:99%;">
        <object ............>
        </object>
    </div>
    Keep the <object> at 100% width and height if you place it inside that <div>. The browser is very good at dealing with <div>s and should have no problem keeping your content inside it resizing properly.

  • Used SEO tool for iWeb now site not displaying properly on iPhone....

    Hello!
    I used the SEO tool for Iweb for my site and it;s displaying perfectly on my macbook but when I look at it on my iphone it's a mess... No background, no header, can't change pages etc....
    HELP!
    Thanks in Advance.

    So the problem occurs when you use that application.
    Does the problem occur when you do not use that application?
    If not, then SEO Tools is the problem and iWeb is not involved.
    Ask here : http://www.ragesw.com/forums/

  • Site not uploading properly anymore, everything looks super big

    I made a few minor changes and now everything looks bigger, fonts, pictures,etc;. Everything to the right is out of the browser chopped off not showing on website. I checked page width etc;it's still the same.  I don;'t know what else to do?

    Sure:
    http://www.stephaniebrick.com/site/arch_portfolio.html
    The left-sde vertical line of text should be a navigation bar. Strangely enough, on one set of my pages, the accordion works perfectly as it should. The only difference is that this other set of pages WAS based off a template but I detached it from the template when I first started. So now I'm thinking it's something to do with my template...? But I compared the coding of the template spry accordion and these working pages' spry accordion, and they're identical, so I'm at a loss.
    Here's the link to the page that works as it should:
    http://www.stephaniebrick.com/site/photo_collections1.html

  • Web sites not loading properly / Account Error: Nonexistent

    Something strange has begun happening with the websites I've been publishing through iWeb and Me.com -
    When the site loads, parts of it are missing or load improperly, such as a picture, or a border around a picture, and so on.
    However, the really strange part is that when I refresh the page, a different part of the website is missing or has loaded improperly, each and every time. It almost seems like the server is choosing at random which elements of the website to load, and which not to.
    Often when refreshing, the site doesn't load at all, and a white page with the error, "Account Error: Nonexistent" appears, but upon refreshing again, the site goes back into its cycle of random loading.
    This only started for me recently, and I would be greatly appreciative if anyone knows the cause and fix to this problem. I don't know if it's iWeb that caused this, or Me.com, or even something else I've done.
    Thank you kindly!

    I have exactly the same issue on several pages of mine. If I publish them on my MobileMe master Account or family member account, these random loading difficulties occur. If I publish on another Account that I got from Apple Support for testing, it works perfectly. So it has something to do with certain Accounts on MobileMe, for example with mine... In my case, the problem is always here, around the clock. If I reload the page, it usually works but not always.
    Apples MobileMe support is on the case since 4 days, I will post results as soon I have any.
    Sometimes, the menu of the page does not load, sometimes images are missing, sometimes fonts are wrong, sometimes the background is missing, sometimes I have an the message "Account Error: Nonexistent". When I reload the page, it usually works or the problem is slightly different.
    I did publish the sites from scratch, without improvement. It happens on other browsers than Safari and on other OS like Windows XP. It really is a problem with MobileMe. UNACCEPTABLE !
    www.sachenmacherei.ch

  • CS3 Site not displaying properly

    I have a newly created site which displays and functions
    properly on my PC, where the page was created on CS3. On a test PC,
    the index page displays properly, but all other pages have no
    graphics and the format is incorrect. The links work ok. A previous
    page I created does work correctly and is currently online.
    Any thoughts on why all non-index pages cannot display images
    or correct format? Again, it functions ok on my pc, but once I move
    it off, it fails.
    Any help appreciated. Thanks.

    > Any thoughts on why all non-index pages cannot display
    images or correct
    > format?
    Errors in the code.
    Can you show us a page with these errors by uploading it to
    some webspace
    and posting a link here?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "NORSSMAN1" <[email protected]> wrote in
    message
    news:g7uiba$57q$[email protected]..
    >I have a newly created site which displays and functions
    properly on my PC,
    > where the page was created on CS3. On a test PC, the
    index page displays
    > properly, but all other pages have no graphics and the
    format is
    > incorrect.
    > The links work ok. A previous page I created does work
    correctly and is
    > currently online.
    >
    > Any thoughts on why all non-index pages cannot display
    images or correct
    > format? Again, it functions ok on my pc, but once I move
    it off, it
    > fails.
    >
    > Any help appreciated. Thanks.
    >

  • CSS 11506 page requests not directed properly

    CSS 11506 sitting in front of mainframe and
    two Windows 2003 servers
    content rule3056gif
    add service web1
    add service web2
    vip address 10.10.200.252
    balance aca
    url "/IMAGE_DIRECTORY_NAME/*.gif"
    port 3056
    active
    A small number of page requests, that do not match the above pattern, are passing to the content servers web1 or web2 instead of the mainframe.
    Any ideas appreciated.

    when a connection comes in and matches the rule above, a flow is created to switch all traffic between client and server.
    If inside this same flow a new request comes in for a different content rule, the flow needs to be remapped to the new server.
    This works fine except when the flow stays idle.
    A flow that was idle can't be remapped.
    All new requests will be sent to the current/last server even if the request does not match the rule.
    The solution is to increase the idle timeout.
    You can do this with a 'flow-timeout-multiplier'.
    A large value will reduce a lot the chance to see the problem but it also means the amount of resources being used will increase as each flow will remain longer in memory.
    It's up to you to find the right balance.
    You can do a 'flow stat' from llama mode to see number of free flows and active flows.
    I would say you start with a flow-timeout-multiplier of 100 and reduce or increase it if necessary.
    Regards,
    Gilles.
    - please take a moment of your time to rate this answer.

Maybe you are looking for

  • Securely selling music on own web site...in my dreams?

    G'day All, Has anyone had any experience in selling MP3 downloads from their own site? I'm going to sell my CD from my web page using PayPal - easypeezy, sort of - but is there any secure way of selling individual downloadable tracks that someone can

  • Help with DBMS_JOB

    Hello people, I studied the documentation and many websites about DBMS_JOB but I am still confused. How do I schedule a procedure to run i.e. every sunday 10:00 AM ? This is whta I tried: DECLARE   X NUMBER; BEGIN   SYS.DBMS_JOB.SUBMIT       job     

  • Automation of Storing BI Report in Specified Location

    Hi Gurus, Can a functionality be implemented in BI to download a BI report output automtically into an Excel file and FTP the file to a specified location? All this should happen in the background as a scheduled job. Regards, Suri.

  • Is there an add-on to move the back/forward buttons to the right of the address bar (FireFox 34)?

    I know it might not sound like a big deal, but I can't stand having the back button to the left of the address bar. I always had it to the right of it, more toward the middle of my screen. I just can't get used to it all the way over there. I hate th

  • Trying to re-download a album only song

    I just purchased an album but noticed that it only played half of the song and skips to the next. I already deleted the songs and re-downloaded them for free. But three of the songs are album only songs and I cant seem to redownload it for three with