URL go to wrong vhost

I have searched the forum without finding a definitive answer, and now I am going crazy about this!
The problem is that no matter what domain I want to reach on our multihosted server, I'll always end up on another one!
Example: I want to reach "www.pojkar35.com", but I end up on my own page "www.andreascarlsson.com".
When searching for this error I've noted that more people than me have this problem, but what is the solution?
When I do a configtest I get no errors.
Related question:
- Instead of using the default /Library/WebServer/Document folder to host the domains we have made a new folder called "domains" in which the host folders reside. This should not be a problem, should it?
Thanks,
/andreas
OS X Server 10.4.8

You can have the web content anywhere you like. The path doesn't even have to be a local directory - it can be a mounted directory, with the obvious caveats regarding performance, availability, etc.
As for the server alias issue - there's no automatic way of doing what you describe if you're using name-based virtual hosts. As far as the server is concerned, 'www.domain.com' and 'domain.com' are two completely different things. 
The only way you can do this is to use IP-based virtual hosts where all the sites for a specific domain live on a specific IP address, then you control it via DNS and apache ignores the hostname completely. This, of course, requires multiple IP addresses to support multiple sites.

Similar Messages

  • #DEVICENAME# in URL button sends wrong device name

    Hi All,
    I'm trying to set up a service URL button that will allow users to logout of extension mobility without having to go into the Services button.
    I setup the following Phone Logout service:
    http://<IP Address>/emapp/EMAppServlet?doLogout=true&device=#DEVICENAME#
    If I access this from the services button, it works, but if I hit the URL line key it fails.
    I did an Ethereal trace, and found out it is sending the wrong device ID when it fails.
    bad logout url: SEP00016CEADFF0
    good logout url:SEP0013CED06212 (correct device name)
    Any ideas what might cause this? This is CCM 4.1(3)sr3b
    Thanks, Randy

    Check the registry entry of the Cisco CallManager Extension Mobility:
    HKEY_LOCAL_MACHINE\SOFTWARE\Cisco SystemsInc.\DirectoryConfiguration\AppUsers\CCMSysUser.
    Make sure that an entry for "Password" exists and that the "UserID" is "CCMSysUser"
    If everything is set up correctly, perform a Stop and restart of Internet Information Service (IIS).

  • I just downloaded Safari 5.1.5 and now my homepage won't load...tells me it's an invalid URL. what's wrong?

    I just downloaded 5.1.5 and now my homepage won't load...tells me it's an invalid URL.  what's wrong?

    Post me what you have it set as.

  • Sharepoint URLs redirect to wrong AAM with WAP/ADFS

    Hello,
    I've started working with Sharepoint 2013 and have a site running.
    Internally it all works well and im experiencing no problems.
    To acces it from the outside i have ADFS 2.0 running with Web Application proxy (reverse proxy).
    Alternate Acces Mappings
    Default: https://sharepoint.xxx.com
    Intranet: https://sharepoint
    Extranet: https://extranet.xxx.com
    I'm able to acces the website through the extranet, but when i go to my document library or any other link on my site, it will go to https://sharepoint.xxx.com which is only available inside my network.
    All the links seem to go to the wrong url.
    Any help solving this would be great.

    Hello,
    The way IWA works is that all users within your internal network are force to authenticate to AD FS using the current logon ID and credentials. So a custom URL might not work in this scenario because as long as the user is internal and logon with an AD issue
    credentials that's what will be passed to AD FS.
    Here are some possible solutions you can try. I have done this in most of the medical AD/AD FS environment I have worked in and it solves the problem.
    1. Configure a GPO to override the current IWA settings. If you look at your current GPO Zone Assignment Settings, you will notice that your adfs URL is assigned to Zone 1 in the Site to Zone Assignment list. This allows automatic logon to intranet sites.
    What you need to do is configure another policy that places the AD FS URL to zone 4 (Restricted Site Zone) and apply only to the EnterpriseGenericUsers. What this will do is each time any one that attempts to access any AD FS resources from any generic user
    logged on computer, they will be challenged with a prompt to enter their domain credentials (username and password).
    2.The second option. Most organization I have done consulting for enforces their users to use Internet Explorer. So Option 1 will be the definite route to take. Another option is to force generic users to use Firefox. If your firefox is not configured for
    IWA, then you will be prompted each time to enter your domain credentials. One of the issues I have seen here is that users might select the always remember my credentials on firefox and that means anyone can access the AD FS resources with that user's credentials
    until firefox browser cache is cleared.
    Hoppe that helps!
    Isaac Oben MCITP:EA, MCSE,MCC <a href="https://www.mcpvirtualbusinesscard.com/VBCServer/4a046848-4b33-4a28-b254-e5b01e29693e/interactivecard"> View my MCP Certifications</a>

  • URL opening in wrong extension

    Hi,
    I am using C_DESK_DOC_GET_URL to get the URL for an attached document in DMS.However though the attachment is docx the link provided opens the document in doc. The transaction CV02n opens the attachment in office 2007.
    Any ideas?
    Thanks
    Papiya

    Hi Papiya
    As of now only three characters can be maintained in file suffix. I think *.docx format might be missing in the workstation application.
    That might be the problem i your case.
    Thanks & regards
    Prasad K

  • Deployed Web dynpro application URL has the wrong host name

    Hi All,
    I have developed a java webdynpro application using NWDS. When I deploy it on a remote server, the host in the  URL of the generated application is different from the message server. Also, the URL doesn't display the fully qualified name of the message server. This creates problems when the application is accessed from a different domain.
    When I run the deployed application in web dynpro administrator, correct URL is generated.
    My questions is
    Where does the NWDS get the host and port from. Are there any parameters to be changed on the NWDS/Visual admin or on the Server to pick the exact server and host?
    Version:
    NWDS 7.0.09
    Netweaver 2004s SP15
    Thank you,
    Vasu

    Thanks for your reply.
    Hi Siva,
    I'm using a remote server. Which hosts file are you referring to? Is it where the NWDS is installed or the on the server?
    Pravesh -  My problem is not setting the J2ee engine on NWDS. Even when I give the correct message server and port on NWDS, the URL for the application deployed is not picking the server name correctly.
    My remote server has 2 SAP instances on it. Is it a problem?
    e.g.:
    Say my remote server is s07.xyz.com
    So I set the Message server as s07.xyz.com  and port as abcd
    When I deploy the application, sometimes I get the URL as
    http://bs307:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
    Sometimes - http://s08:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
    But the correct URL should be
    http://s07.xyz.com:50000/webdynpro/dispatcher/local/RPM_Item2/Charter2?SAPtestId=4
    But all three work. When I run the application from webdynpro administrator, the URL is correct.
    Thank you,
    Vasu
    Edited by: Subramanya Srinivas Mullapudi on Feb 27, 2009 5:15 AM

  • URL links wrongly created for adjucent characters

    The URL links are wrongly created for the following characters after the URL like “)”, “]” etc.
    For E.g. (www.adobe.com), the URL links for adobe is in active for closing parenthesis in PDF which should not have a URL link.
    Any one suggests what would be problem and how to avoid this?
    We are using Acrobat Pro 8.

    Use the Link Tool in Acrobat and create the link.

  • KM Reports rendering wrong URL for items!

    Hi,
        A KM report was created in Content Management->Reports->Resource Statistics and a folder name say Test Folder under root folder was given as the location. It returned a result set. On clicking each item in the result set its displaying a message "404 The requested resource cannot be found". This is because the url of the item was rendered wrongly Eg:Say item A is in Test Folder. It displays the url as http://myserver/irj/go/km/docs/<b>reporting/reports</b>/Test Folder/A instead of http://myserver/irj/go/km/docs/Test Folder/A. This means an extra <b>reporting/reports</b> is added everytime to the resource path and hence the respective items cant be opened on clicked as its opening the wrong URL. Why is this URL generated wrongly? How can this be corrected?
    Helpful answers will be rewarded.
    Regards,
    Pooja.l

    Hi,
          This happens for all reports created under Content Management->Reports-> Resource Statistics. The url is rendered wrongly for all items in the result list so that they wont open on clicked. From where is this url generated?
    Regards,
    Pooja.

  • Old bkmks intact=OK. New bkmks insert w/ always same wrong url?

    10/4/2014 I am new, so please excuse any indiscretions. I am running FF 32.0.3 on MS 8.1 laptop. Installed Comcast supplied Norton. Old existing bkmarks work fine. When adding a new bkmark I use the blue star in upper right of screen. When bkmark icon is selected, dropdown menu looks good. In “recently bkmarkd” I select the new entry and see name is OK, but associated URL is always wrong indicating a different URL that I do frequent. If right click on the new entry to see “properties”, name and URL are correct. If I click on the bkmark icon in upper right and select the new entry from the dropdown menu, I am directed to the, always the same, wrong URL. I have deleted FF and reinstalled. I have tried “reset FF”, I have tried Chrome and I.E. both of which work OK saving bkmarks. Please note; Norton worked fine initially, but eventually abended and continues to abend when running full scan. Thanks for your consideration in this matter.

    Quote from [[/questions/1023774]]
    <blockquote>10/4/2014 Thank you Cor-el for your rapid response to my original question. I do believe I downloaded the Places Maintenance add on. But I have no idea as to how to access that add on and run it, if that's what I should do. I did try to restore a backed up HTML bookmark file. This seems to have changed the "wrong" URL that I get to a different wrong URL. Thanks.</blockquote>
    You can find the Options/Preferences of the Places Maintenance in "Firefox/Tools > Add-ons > Extensions"
    You can tick all the boxes (Preset: All) to do a full check to see if that helps.
    If you still have issues then you need to delete the places.sqlite file(s) including places.sqlite-shm and places.sqlite-wal if present.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Wrong URL from Fullfilment Center opens Browser in DPS App

    Situation: While uploading Library an empty browser window opens when you return to application.
    Could it be possible that a wrong/invalid/empty URL was sent back from the Fullfilment Center, that forces the app to open the Browser,
    because the URL does not submit the neccessary order or information?
    Appversion: v24
    Apptype: Newsstand App with Subscription + Entitlement
    Status: already available in Store and approved
    Error: opens browser-window with no content ( you can't open the link in safari, pushing the arrow has no effect),
    clicking done closes browser again, and it works normally. But this browser window should not open
    Error appears when: Updating library when coming back to Application from another, or application has been inactive for a short period
    Error does not appear when: you don't leave the app, no matter how often library uploads itself
    Possible explanation: Fullfilment Center sent URL is invalid/wrong/empty or forces App to open that URL instead of opening it in the background
    Who can help me with that?

    Hi Jerry,
    Can you check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Pass procedure/function parameters via URL

    how to pass procedure or function parameters via URL? External link processes payment, and returns some data. I have an example procedure that forms correct URL like:
    http://www.website.lt:7777/apex/f?p=109:6:1512552728675996::::P23_LOGIN_ID:UTREEP7Q84FHG
    but the other procedure returns with URL (and its wrong):
    http://www.website.lt:7777/apex/nora.pay_cancel?token=EC-76F379209K155914F
    the source of pay_cancel procedure:
    create or replace procedure pay_cancel
    (token in varchar2)
    as
    begin
    owa_util.redirect_url('f?p='||'109'||':'||'5'); --some test page
    end pay_cancel;
    whats wrong with the return variable?

    Sorry, permission problems, everything is OK with +<schema>.<procedure>?<variable>=<value>+ syntax.
    Execute sql: grant execute on pay_cancel to public;

  • Binding WSDL URL is Incorrect

    Hi All,
         In SOAMANAGER, the generated binding URL gives "This page can't be displayed error". The Generated URL points to wrong server. On changing the server to the correct one, the XML is successfully generated. But generated XML also has the wrong URL.
    Eg:  Below is the URL generated by the SOAMANAGER. (server and port number are changed for security reasons)
    http://xxxxx.:1234/sap/bc/srt/wsdl/bndg_551FFF4A2DAF31E9E1000000C706808E/wsdl11/allinone/ws_pol…
           But the actual URL should be
    http://yyyyy:1234/sap/bc/srt/wsdl/bndg_551FFF4A2DAF31E9E1000000C706808E/wsdl11/allinone/ws_pol…
    In both the cases, the port number is correct, only the Server ID is changed. How can this be corrected.
    Thanks and Regards,
    Sreenivasan Ravi

    Hi,
    You can check  1849044 - How to change the WSDL URL and the service URL for ABAP based Web Services
    Follow the instructions to check what might be wrong and how to correct it.

  • Flash player do not work correctly on IDN URLs

    When FF should show a Flash Player element *.swf from a site with IDN URL something goes wrong and halts. (Things go ok in IE and Opera).
    The problem is related to the IDN URL or FF translation of the URL.
    An IDN URL in local text may look like this "[http://www.stålberg.se/test/index.html]" (You may not see this correct if this post is not in UNI code and I do not know if it is, sorry) this is translated into "http://www.xn--stlberg-fxa.se/test/index.html"
    I can see in the settings for Flash Player, "local storage" that IE is showing the right translated URL, but in FF Flash Player settings for "local storage" shows something at translation with % notation.

    It works if I enable punycode by setting the pref network.IDN_show_punycode to true on the about:config page.
    Maybe worth filing a bug report about this issue.

  • IO_ERROR event only fires for first bad url

    This is my first Flash application, so please bear with me.
    In the below example, I have a number of files that I load
    using loaders.
    However, when I have more than one bad url (missing file,
    wrong domain, ...) the IO_ERROR event only fires once. For all
    subsequent bad urls, the system does nothing and just hangs (when
    loading consecutively).
    A workaround is to load all images silmultaneously, but I
    still want to know what the problem is.

    Thought I'd post the solution here.
    In the end, the problem was: loading a file from an
    non-existent domain triggered no errors.
    It's apparantly a problem with FF and OS/X
    http://tinyurl.com/5q87n3

  • Regular expressions for URLs to match extensions

    I am working on a simple method that will assign a specific extension
    (e.g. ".jsp", ".php", ".cfm", etc.) to the end of a URL if it doesn't
    find anything marking a valid extension, however, I do not want to add
    an extension if one is found.
    Consider my code:
    import java.util.regex.Pattern;
    public static final String urlEndSlashPattern = "/?";
    public static final String urlQSPattern = "\\??([a-zA-Z0-9\\-_\\.]
    +=[^&]*&?)*";
    public static final String urlAnchorPattern = "#[^#]*$";
    public static void addExtToUrl(String url, String myExt, String[]
    exts) {
       StringBuffer sb = new StringBuffer();
       boolean hasExt = false;
       for (int i = 0; i < exts.length; i++) {
    sb.append(".").append(exts).append(urlEndSlashPattern).append(urlQSPatte�rn).append(urlAnchorPattern);
    if (Pattern.matches(sb.toString(), url)) {
    hasExt = true;
    sb = new StringBuffer();
    if (!hasExt) {
    url += "." + myExt;
    The issue I want to bring up is the regular expression pattern I'm
    using appears to fail.  I want to check and see if the URL I provide
    ends with a valid extension, followed by optional "/" or a query
    string or an anchor or any combination of these.
    Like say if I have
    http://www.blah.com/index.html
    Then don't add the ".jsp" extension
    But if I have
    http://www.blah.com/registration/
    Then I *want* to add the ".jsp" extension:
    http://www.blah.com/registration.jsp
    Or if I have:
    http://www.blah.com/registration/?foo=bar#baz
    Then it needs to change to
    http://www.blah.com/registration.jsp?foo=bar#baz
    But if I have
    http://www.blah.com/registration/index.php?foo=bar#baz
    Then I do *not* add the ".jsp" extension.
    Hope that makes sense now.  Bottom line is that the pattern above
    doesn't seem to work.  Ideas?
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Ok, just for fun, let's try it.
    URL: http://www.blah.com/?bar=baz#anchor
    Absolutely valid URL and something possible (remember, Balus, this is from a database entry, thus, it can be anything at all!)
    Let's split onto the last /
    Your last entry will be
    ?bar=baz#anchor
    So if I re-insert the .jsp that it would not find I get
    http://www.blah.com/.jsp?bar=baz#anchor
    INVALID URL
    Now let's try this one, BalusC:
    http://www.blah.com/index.jsp?forwardURL=http://www.wee.com/gotcha_balus/
    Now we split according to the ... last /
    http://www.blah.com/index.jsp?forwardURL=http://www.wee.com/gotcha_balus.jsp
    Valid URL, but possibly wrong when the query string value for "forwardURL" is read, thus, making the URL ultimately wrong.
    Two examples that show that splitting by the last / can't work here.

Maybe you are looking for