URL Mapping not working inside MOSS

hi,
I want to achieve broken URL redirection in old web application developed in MOSS.
For this purpose, i have to use URL mapping inside web.config -
For Example -
<urlMappings enabled="true" >
    <add url="~/brokenpath" mappedUrl="/subsite/Pages/Home.aspx" />
</urlMappings>
I have checked that '/subsite/Pages/Home.aspx' url is not broken but still getting 404 exception.
Similar tag is working under dev/local environment but not working in the production,
Can anybody please let me know the problem or any configuration missing.
Thanks in advance.

Hi Saurabh, can you provide the actual broken path, both in your web.config as well as the absolute URL?
Dimitri Ayrapetov (MCSE: SharePoint)

Similar Messages

  • Alternate Access Mapping not working for Zone : Intranet

    One of our client want to set Alternate Access Mappint (intranet) with url "intranet.theirDomain.com" with local IP address.
    is it possible?
    subsequest to my previous question (
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3f39711e-301a-40e8-aa7a-855fa2c268b1/alternate-access-mapping-not-working?forum=sharepointadmin )
    I want to ask one more question
    Can we configure "intranet.theirDomain.com" with local IP address for any other zone?
    or
    If there is ".com" within the url then it can't be configured for InTRAnet?
    Thanks
    S H A J A N

    The names for the zones don't matter. You could use the 'extranet' zone for another intranet name if you wanted, the names are just to make it a bit more friendly for beginners.
    What you describe sounds routine, you create a web application with a name, then use an AAM to allow users to access it with a more friendly name. Frequently you end up creating
    http://intranet.domain.com and
    http://intranet as an AAM, or vice versa.
    You can use .com for an intranet site, you would need to add the site as an A Host record in your DNS server so that traffic is sent to your internal server rather than out into the wider world.

  • Multilingual URL is not working in IE11

    Multilingual URL is not working in IE11 same URL is working with other browser. Would like to know whether Arabic URL is supported in IE11? 

    Hello,
    See this http://windows.microsoft.com/en-gb/windows-vista/change-your-internet-explorer-language-settings and follow the steps given
    there. After that let us know whether it is working now or still not.
    "Solution is to enable Send
    IDN server names for non-Intranet URLs under
    advanced settings. " This is also a solution.
    Thanks Prakash
    Varghese!
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • URL Does Not Work in Firefox, but DOES Work in Other Browsers

    The following URL does NOT work in Firefox. However, it DOES work in Internet Explorer and Google Chrome:
    https://www.ascap.com/ace/
    The main ASCAP URL works just fine. The problem seems to be confined to this link alone. Please fix; thank you!

    There is a server redirect on this URL.
    <pre><nowiki>
    https://www.ascap.com/ace/
    GET /ace/ HTTP/1.1
    Host: www.ascap.com
    HTTP/1.1 302 Found
    Location: https://www.ascap.com/Home/ace-title-search/index.aspx</nowiki></pre>
    If you use a bookmark then try to navigate to the want page starting with the main (home) page.
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • Value mapping not working properly

    Hi All,
    I am using value mapping twice in same mapping program. But only 1 field is coming with value and other is taking same value from source payload, can you please tell me what can be issue here?
    Value mapping 1 -
    Context - http://sap.com/xi/XI
    SenderParty- SenderSchema
    ReceiverParty- ReceiverSchema
    Value Mapping table in ID -
    Value mapping at field 2 -
    Context - http://sap.com/xi/XI
    SenderParty1- SenderSchema1
    ReceiverParty2- ReceiverSchema2
    Value Mapping table in ID -
    Source payload -
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_VM_Send xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
       <Record>
          <Emp_ID>123</Emp_ID>
          <Name>rash</Name>
          <Surname>sumit</Surname>
          <Gender>Male</Gender>
         <Grade>E2</Grade>
      </Record>
    </ns0:MT_VM_Send>
    Target Payload -
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_VM_Receiver xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
    <Record>
    <Emp_ID>123</Emp_ID>
    <Full_Name>rash sumit</Full_Name>
    <Designation>E2</Designation>
    <Gender>M</Gender>
    <Travel_Mode>Train</Travel_Mode>
    </Record>
    </ns0:MT_VM_Receiver>
    Here travel_mode is coming perfect, but designation is same as defined in source payload. Why here Value mapping not working???
    Thanks & regards,
    Rashmi Joshi

    Hi Rashmi,
    The problem would either be in cache update or your mapping. Please provide the sceenshot of mapping (after clicking the value mapping function).
    you can also choose the option to throw error in value mapping function, so it will throw error when value not found.
    regards,
    Harish

  • Camera, Browser & Maps Not Working

    Hi,
    It been since yesterday my Z10 camera, broser & maps not working.
    Whenever I click the camera icon, it is not even opening.
    Browser icon had changed, it turned to a triangle square & circle.
    Can anyone help me out.
    Thanks,
    Chris

    The update may not have loaded properly, you can reload this way:   http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?externalId=KB34045&sliceId=2&docType=kc&noCo​...
    Or do a Security Wipe (Reset to Factory Settings) this way: 
    http://btsc.webapps.blackberry.com/btsc/viewdocume​nt.do?externalId=KB33591&sliceId=2&docType=kc&noCo​...
    Please read both carefully !

  • I updated my mac's OS to Yosemite and now my eye drop tool will NOT work inside premiere pro. Can anyone help me fix this issue?

    The eyedropper tool for selecting colors to key out or to fill text will not work inside premiere pro, this error started when I updated my mac os to yosemite.

    Hi Transportation,
    Does the error occur in OS X 10.9? If not, why not remain at OS X 10.9? Is it necessary to run OS X 10.10?
    The general rule of thumb is that when you are running software that is no longer tested or supported on a new operating system, you have to prepare for anomalies like this. You may want to install a separate bootable hard drive with OS X 10.9 on it so you can continue running that software more reliably.
    Hope that helps,
    Kevin

  • Apple maps not working on iMac

    apple maps not working on iMac the little thing just keeps turning

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Maps.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Google Maps Autocomplete field not working inside WebView

    I am using a WebView to display Google Maps and the web page includes a "text" element which is a google.maps.places.Autocomplete control.
    The maps themselves work perfectly but the Autocomplete field does not do the actual auto-completing. That is, as I type into it, it does not show a drop-down list of all matching locations although it does return the correct coordinates of any place I type in completely.
    The same web page and the Autocomplete control work perfectly when I load them into a standard web browser.
    Has anyone experienced this? How do I go about debugging this issue? Any suggested solutions?

    Try jdk8: http://jdk8.java.net/download.html
    If it still doesn't work, file a bug: https://forums.oracle.com/forums/ann.jspa?annID=1713
    If it is a bug in the WebView implementation, use HostServices.showDocument to show the document in a standard browser until the bug is fixed:
    http://docs.oracle.com/javafx/2/api/javafx/application/HostServices.html#showDocument(java.lang.String)

  • Alternative Access Mapping not working "You're not connected to a network"

    Hi *,
    i want to set up alternate access mapping in my sharepoint 2013 development environment.
    My SharePoint is reachable through http://sp2013.
    I created a second web application with listens on port 8080. When i open http://sp2013:8080 everything works fine and i can see my root site collection.
    Next i added through "Add internal Urls" a new url -> http://sp2013test to the default zone.
    Next i edited the bindings in the iss application for this web application and added http://sp2013test listening to port 80:
    But i does not work! I get the message "You’re not connected to a network" from the ie.
    I dont want have to call my WebApps through ports. I want to have WebApplication which i can call through clear names like http://customerWebApp1, http://customer2WebApp. All via Port 80.
    Whats wrong here?
    Best Regards
    Bog
    Developers Field Notes | www.bog1.de

    Hi Bob,
    For you issue, try to map web application URLs to the local loopback address. For that you need to update host file at the path:(C:\Windows\System32\drivers\etc\hosts) 
    Here is a link about Setup Multiple SharePoint Web Applications on Port 80 with Https Binding on Port 443, you can use as a reference:
    http://onlinecoder.blogspot.com/2012/10/setup-multiple-sharepoint-web.html
    Best Regards
    Lisa Chen

  • Alternate Access Mapping not working

    I am trying to configure alternate access mapping in sp2013.
    My default url for site is https://intranet
    My client has given a url https://intranet.theirDomain.com
    When I ping "intranet.theirDomain.com" on their local machine it is returning IP: 192.168.0.87
    When I ping "intranet", it is giving IP: 192.168.0.86
    I have edited the Public Zone URL as follows
    Default: https://intranet
    Intranet: https://intranet.theirDomain.com
    In IIS the following bindings are there.
    https intranet                            443     *
    https intranet.theirDomain.com 443     *
    But still https://intranet.theirDomain.com is not working
    https://intranet is working.
    I hope all are configured correctly.
    Or doing any wrong? please guide me.
    S H A J A N

    It sounds like the 'intranet' A record in the theirDomain.com zone isn't pointed at the correct IP address (192.168.0.86).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Sorting not working inside xml format

    Ok I know my title is not clear, but I have a table that is
    called with a spry if, inside another spry data set, and I have
    been having quite a bit of trouble with it. The sorting and even
    odd would not work....(though they work on the same table with the
    same source if it is not inserted within the spry data set) I
    worked on it quite a while yesterday (got it updated to 1.6 )and
    finally got the even/odd to work using the 'other' class from one
    of your examples....that is after trying every even odd combination
    I could think of....but I still can't get it to sort.
    <table id="sortable" width="100%"
    spry:if="'{formcriteria}'=='yes'">
    <tr>
    <th width="71%"
    spry:sort="dsAgentForms::formname">Form Name and Description
    </th>
    <th width="29%" spry:sort="dsAgentForms::formnum">Form
    Number</th>
    </tr>
    <tr spry:repeat="dsAgentForms" spry:even="dsAgentForms
    other" spry:hover="rowHover">
    <td height="28"><a
    href="{dsAgentForms::url}">{dsAgentForms::formname}</a></td>
    <td><a
    href="{dsAgentForms::url}">{dsAgentForms::formnum}</a></td>
    </tr>
    </table>
    you click on the "Forms & Applications" tab to see the
    table
    http://www.nmprc.state.nm.us/als2.htm
    I am using DW CS3 and it is fairly easy to insert a sortable
    table, but somehow, with this table being inside another spry data,
    it loses its sortability.
    you see in my code I am using
    spry:sort="dsAgentForms::formname" and I know this is not usual,
    the usual would be without the dsAgentForms:: part, but this was
    just the last thing I tried before posting. I thought that maybe
    because all the rest of the table needed the extra designation,
    that maybe the sorting did as well....

    I got it........it was the syntax of the spry:sort it needed
    the below instead of what I had
    spry:sort="dsAgentForms formnum">
    it was also the same error for the even odd, they now work
    with similar syntax
    thanks for the numerous examples you give us, I can get most
    anything I want to try to work if I have a working example
    :)

  • New to AS3 - URL Function not working...please help!

    Hi i'm very new to Flash and AS3. I've created a clip and need to link some buttons to some pages on my site but they don't seem to work. Please let me know if nyone can help me...below is my code:
    b_1.addEventListener(MouseEvent.CLICK,b_1ClickHandler);
    function b_1ClickHandler(e:MouseEvent)
                navigateToURL(newURLRequest("http://www.MYURL.com/.html"),"_self");
    Please let me know what i'm doing wrong.
    Thanks in advance!

    If you are editing/testing in the Flash editor, the html end of things is nothing to be concerned about at this stage, and will likely take care of itself when it comes time.
    So you run the file in Flash and do not get any error messages?  Then place a trace command inside the button's event handler function to see if the button is communicating with it....
    function b_1ClickHandler(e:MouseEvent)
        trace("button works");           
         navigateToURL(new URLRequest("http://www.MYURL.com/.html"),"_self");
    Also, I'm just noticing you don't have an actual file named in the url, so in case the "not working" is that you can't get the desired page to show, that may be the cause.  Normally I would suggest testing url links online rather than in Flash because it's iffy to try to get the web involved with the editor at times.

  • Two blogpost urls are not working. What can I do?

    Two blogpost urls that I use are not working. These are:
    http://rosie-selfhelp.blogpost.com & http://pinky-research.blogpost.com
    The pages' titles show up as "Problem loading page" and inside they say : "The connection has timed out".
    There is nothing wrong with my internet connection because I able to browse other urls.

    take it back to an Apple Store genius bar, it is under warranty

  • Type-mapping not working correctly, get "Unable to find a javaType for the xmlType" WARNING

    I'm manually creating a web-services.xml file, and using the autogen ant task to
    generate the codec XML/Java classes. The XML definition is provided by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG. The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service method
    that has a complex data type (non-built in data type) is not being deployed into
    the WebLogic server. But the other service method that simply takes a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    [web-services.xml]

    Hi JD,
    I spent a few cycles looking over your web-services.xml file, however I
    don't have any suggestions other that one that looks like you have
    already tried, at the top, in the <schema...>
    targetNamespace="urn:sap-com:document:sap:business"
    Making edits to these generated files can be tricky and my only
    suggestion is to create a small reproducer to run by our outstanding
    support team.
    A quick look at our problem database shows one issue (CR095109) related
    to a similar problem at deploy time that was fixed with 7.0SP3. Again,
    the support folks will be able to help focus in on the issue.
    Regards,
    Bruce
    JD wrote:
    >
    The first posting contains the wrong web-services.xml file. Please refer to this
    one instead.
    "JD" <[email protected]> wrote:
    I'm manually creating a web-services.xml file, and using the autogen
    ant task to
    generate the codec XML/Java classes. The XML definition is provided
    by SAP.
    The ant build.xml file:
    <project name="buildWebservice" default="stubgen">
    <target name="stubgen">
    <clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
    packageName="com.aa.rmis.webservice.client"
    clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
    autotype="False" />
    </target>
    <target name="all" depends="stubgen"/>
    </project>
    The problem is seen below in the output from Ant. Note the WARNINIG.
    The problem
    is that the xml type cannot be mapped to the Java type.
    C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
    Buildfile: clientbuild.xml
    stubgen:
    [clientgen] Generating client jar for RMIS.ear ...
    [clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
    cument:sap:business']:PaymentRequest.Create. Make sure that you have
    registered
    this xml type in the type mapping
    [clientgen] Using SOAPElement instead
    [clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
    client.jar-836624340
    [clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
    BUILD SUCCESSFUL
    Total time: 17 seconds
    The Java source that has the implementation of the service methods is
    simply:
    package com.aa.rmis.webservice;
    import com.aa.rmis.ifr.request.*;
    public class TestService
    public TestService()
    public int serviceRequest(PaymentRequestCreate request)
    System.out.println("Received serviceRequest message");
    return 0;
    public void testStringRequest(String request)
    The web-service.xml file is attached, which contains the schema for the
    SAP PaymentRequest.Create
    object definition.
    Another problem I have, which is probably related, is that the service
    method
    that has a complex data type (non-built in data type) is not being deployed
    into
    the WebLogic server. But the other service method that simply takes
    a String
    parameter is.
    The steps I took are:
    1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
    2. Use ant task autogen to generate the request codec classes
    3. Create the web-services.xml file by inserting the schema definition
    and the
    mapping file created by the autogen task, and defining the operations
    4. Build web-services.war file that contains all autogen compiled class
    files,
    the web-services.xml file, and the service implementation class
    5. Build the ear file that holds the web service files
    6. Use the clientgen ant task to generate (included above) to generate
    the client
    jar file that should contain the proxy for both of the service methods
    Environment:
    * WebLogic 7.02
    * JDK 1.3.1_06
    * JBuilder 9 Enterprise
    * Ant 1.4
    Possible causes:
    * Namespace not being used correctly
    * copied verbatim the mapping xml file generated by autogen into
    the web-services.xml
    file
    * xml-schema part of web-services.xml might not be set correctly
    * operation definition might not be using the correct namespace
    * Classpath used for ant might not be right
    * Doubt this is the problem, but I'm out of other ideas
    * Set by using the setWLEnv.cmd file provided by WebLogic
    * Tried adding the generated classes directory for my project to
    the classpath,
    but did not work
    I've been referencing the Programming WebLogic Web Services document
    throughout
    this entire process. I must be missing something.
    Can anybody from BEA help me out with this problem?
    Thanks in advance.
    Name: web-services.xml
    web-services.xml Type: ACT Project (text/xml)
    Encoding: base64

Maybe you are looking for