Content negotiation issues

I'm using content negotiation to deliver a website automatically in the matching language. So far, anything is working well, except that sometimes it will not detect the correct language, although the same is working on other pages of the same website using the same method.
For example:
www.mysite.tld/Assistance/index.var
www.mysite.tld/Assistance/index_de.html -> German version
www.mysite.tld/Assistance/index_en.html -> English version
The page is accessed with www.mysite.tld/Assistance/ in the webbrowser and set to open the index.var file, which contains:
URI: index_de.html
Content-type: text/html
Content-language: de
URI: index_en.html
Content-type: text/html
Content-language: en
URI: index_en.html
Content-type: text/html
Do you have an idea where a problem could be ?

Found the problem by myself:
If there are several files set up for the server to choose from, like index.var, index.html, etc. this does not work. When all possible file types are removed and only index.var is left, it works.

Similar Messages

  • Part 2: Flat files and Business Contents: Any issues with this scenario?

    I will appreciate some clarification on the some points made in response to my previous post "Flat files and Business Contents: Any issues with this scenario?"
    1.
    " ...you’d better analyze those cubes for data redundancy and presence of data you’ll never use. " I will appreciate some clarification on the type of analysis you are referring to. Examples will help.
    2.
    "If you want to combine several found IOs in your custom dataprovider, then again you must know (or figure out) relationships between these IOs." I will appreciate some clarification on the type of relationship you are referring to. Examples will help.
    3.
    I am a bit confused with "..include into ODS structure ALL fields required for the cube" but you also noted noted that "...except navigational attributes and chars and KFs that are going to be determined in TRs or URs."
    If you exclude ALL these, haven't you excluded all the fields you included in the ODS structure?
    4.
    "Consider carefully the ODS’ key fields selection. Their combination should not allow data aggregation that you don’t need."
    I may be missing the point here, I understand that you need to select the fields which will form the unique ID for the records in the ODS under the Key Field (please correct me if I am wrong with the purpose of the Key Field), but I don't understand the discussion of "aggregation" in the context.
    Thanks in advance

    Hallo
    I try to give some exaplanation based on the previous answer.
    1. Data redundancy - make sure you do not store the same information. does not make sense to have data redundanty across you Data Warehouse. this is also a cost. just sotre the same information one time if you get all what you need.
    2. whatwhever you build you dp, which consist of IO, you need to know with kind of relation (1:1 or 1:n - n:n and so on) exist between them. that will help you when you model you infoprovider. For example I would never pit togheter IO (n:m) in the same dimension if you expect an high number of cardinality. Sometime an IO can be an attribute of another one (depend on relation. For example
    Business Partner and his Address. Usually you have a relation 1:1, in this case address is an attribute of BParten and store it in the Masterdata instead then DP
    3. Sometime when you load from ODS to CUBE, you can fill some IO (which are in the infocube and not in the ODS)through ABAP routine in TR-Start Routine of Update Rule. Does not make sense to include these IO in the ODS as they are NULL or Blank (the deault value). This can happen when for example, you first load in the ODS (Price and Quantity) and then you calculate Sell price later (Price * Quantity). of course it could be doen also in the Bex. Depends on other factors (Performance - Loaidng -Sizing)
    4. Make sure that the KEY definition of ODS is accordingly to the data otherwise you will aggregate the data and later maybe if you need the detail you miss it.
    for example: customer - product - Distr Chan - Sell Price
    if each Customer can buy each product for any Distrution Channel, then when you build your ODS(Customer - Product and Distribution must be KEY) otherwise (if you have only Customer - Product KEY for example) you will lose the details for Distribution Channel.
    I hope eveyrhting is clear
    Regards
    Mike

  • Content Negotiation via .htaccess

    Hi folks
    Having exhausted general searches on this subject I hope that
    someone here can
    help.
    I wish to set up content negotiation, the primary purpose of
    which is to ensure
    that bookmarked .html page requests result in the new .php
    page being served.
    The secondary purpose is to make file types in a URI
    optional.
    Setting the following line in the root .htaccess :
    Options +MultiViews
    ... simply results in a browser 403 Forbidden rather than a
    404 Not Found error
    when requesting an .htm page and only the .php exists.
    Since this is an ISP production server, I have no access to
    the Apache config
    file, and there is no ISP support for such "low level" stuff.
    Can anyone provide a definitive set of entries for .htaccess
    to get his working
    Thanks in advance for any help,
    Ronnie
    Ronnie MacGregor
    Scotland
    Ronnie at
    dBASEdeveloper
    dot co dot uk
    www.dBASEdeveloper.co.uk

    Ronnie MacGregor wrote:
    > Hi folks
    >
    > Having exhausted general searches on this subject I hope
    that someone here can
    > help.
    >
    > I wish to set up content negotiation, the primary
    purpose of which is to ensure
    > that bookmarked .html page requests result in the new
    .php page being served.
    > The secondary purpose is to make file types in a URI
    optional.
    >
    > Setting the following line in the root .htaccess :
    >
    > Options +MultiViews
    >
    > .... simply results in a browser 403 Forbidden rather
    than a 404 Not Found error
    > when requesting an .htm page and only the .php exists.
    >
    > Since this is an ISP production server, I have no access
    to the Apache config
    > file, and there is no ISP support for such "low level"
    stuff.
    >
    > Can anyone provide a definitive set of entries for
    .htaccess to get his working
    > ?
    >
    > Thanks in advance for any help,
    What are you trying to do? Redirect .html pages to .php? If
    so, you need
    to use mod_rewrite if its enabled.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Update on Captivate HTML 5 content playback issue in Google Chrome Browser

    Good night,
    I am having a problem implementing projects generated in html5 and run on Chrome. The video does not run.
    I think I found the solution, a correction patch for Captivate 7. But I just link and is broken.
    http://blogs.adobe.com/captivate/2014/07/update-on-captivate-html-5-content-playback-issue -in-google-chrome-browser.html
    I have several e-learning generated with html5 and want to avoid make the change manually.
    Does anyone have the patch and can share?
    Thank U

    I saw this email ID in a comment of that post. I guess you can send a mail asking for the fix.
    Shriyansh Agnihotri: [email protected]
    Sreekanth

  • BI Content Installation issues due to compounding

    Hi All,
    I am on BW 7.4 and am facing some issues while trying to install a BI content cube.
    One of the infoobjects of those cubes has a custom infoobject compounded to it and the BI content installation keeps on failing because the Delivered version of that cube doesnt have that  compounded InfoObject.
    For example 0COMP_CODE has ZXYZ added in compounding. Now I try to install a cube 0ABC having 0COMP_CODE.
    System throws an error that cube 0ABC is missing infoobject ZXYZ and cannot be installed.
    How do I get this cube to be installed so that I can manually put ZXYZ in it and activate? Please help.
    Regards,
    Shyam

    Hi,
    I think I am not clear on my question.
    0COMP_CODE is already present. ZXYZ is already been created and is a custom IO.
    ZXYZ had been added in compounding of 0COMP_CODE.
    This means that whenever you use 0COMP_CODE in a cube/dso you will have to make sure that ZXYZ is also present. Or else that Infoprovider cannot be activated.
    Now the problem is that when I try to install a BI content cube containing 0COMP_CODE system throws an error that ZXYZ is not part of the Infocube (obviously since it is a custom IO) and hence the entire cube installation fails.
    Now my question is how do i get the cube to be installed at least in inactive state so that I can add ZXYZ to it and make it active.
    Regards,
    Shyam

  • Link to Document Content Type issue - links not relative

    I'm using the Link to Document content type in a library in order to link to documents in other libraries.  We just migrated to 2010 from WSS 3.0 (2007) and are having an issue.  We view our site internally thorough the internal machine address/name
    and also have users connecting remotely from an external url.  In 2007, it didn't matter whether we were internal or external, all links were apparently stored as relative because the "link to document" items worked fine either way.  This
    was despite entering the url fully and not relative.  When viewing/editing the properties of that item, it shows you the full url applicable to where you are viewing it...internal if internal, external if external.  
    However, after the migration to 2010, all links that existed previously are fine, but any new items created using link to document apparently no longer store them as relative so either the internal or external users get the wrong link.  For example,
    if I put in the link as http://servername/library/doc the external users get that same link and it doesn't work, since it should be like https://myurl/library/doc.  Viewing/editing the properties of the item shows an absolute url of whatever location
    the item was added.  For instance if I'm connected externally and add an item, even if i only enter it as relative, it creates the link as https://myurl/library/doc and then the internal users end up having to connect via that url and that is just a pain
    due to AD and certificate issues.  The internally created links are obviously not accessible at all from the outside. 
    I've also tried storing the link as relative when creating the item but it seems to overwrite it with the absolute link.
    This is causing quite an issue with us.  Does anyone have any insight as to what is going on and how to fix it?
    thanks!

    Hmm...I thought I had the thread set to email me if there were replies and I never received an email so I thought there were no replies.  I came back to this since another issue cropped up that is related and there were replies!
    I cannot recall how things were set up exactly in 2007 and there's no way to look back now.  I'm a novice when it comes to AAM/DNS/IIS really.  Maybe you can suggest what it should look like?
    We have our site which is accessed internally by http://machinename .  Externally, we use https://sharepoint.mydomain.com .   
    In AAM we have http://machinename listed in the default zone with the same url for internal and public.  We also have https://sharepoint.mydomain.com listed, in the internet zone and it also has the same url for both internal and public.  
    In IIS, the sharepoint site has bindings for port 80 and 443, but nothing specific to https://sharepoint.mydomain.com
    DNS....I'm not sure what should be here, if anything.  
    We can access the site just fine externally, there are just a few instances where some links do not work correctly and point to the internal url instead of external when you are external.  The original post is one time and the other, found the other
    day, is a search box webpart that points to a relative url for the results page but externally it ends up going to the internal url.
    I'd appreciate any guidance.  Thanks!

  • Flash Player / Content Loading Issues

    A big hello to anyone kind enough to read this!... Hopefully someone can can help me out or point me in the right direction.
    The company that I am currently contracting for is involved in the testing of a number of pieces of Flash courseware that one of our associated companies have created. It has been authored in Flash CS3, but uses Actionscript 2.0. The user's target platform is Flash player 9 on Windows XP.
    While testing the latest version through Flash player 9 (ActiveX within IE 7) we have discovered that the external movieclip loading does not work correctly, with the movie clips appearing in random location on some PC's, but no on others....
    ..To add even more strange-ness to this, if we right-click and select the "About Flash Player" menu option, wait for the Adobe web page to load, close the courseware window and re-launch it while the Adobe web page is still open in another browser, then the courseware runs fine.
    Just wondering if anyone out there has run into similar problems? We are currently experimenting with various IE settings and other security issues such as MMS.cfg and Trust Files, but at the minute we have to admit we are stuck.
    Attached are some images illustrating what is going: "correct_load.png" is when it works as it should do and "incorrect_load" is what it looks like when the troubles start.
    Thanks!

    Thanks for the advice..  At this point it's like banging our heads against a brick wall..
    Strangely enough on some machines the problem does not seem to happen at all.  We have tried four PCs so far and two have worked, two have failed.  On the machines that failed to run it correctly we have recently uninstalled Flash Player 9 ActiveX and installed the latest Flash Player 10 ActiveX.
    The same problem is present on the machines, despite the fact we have added the C:\path\to\content path to settings in the Settings Manager.
    We have also added both Global and User Trust Files with the same path and an all-encompassing "C:\", which we know that the customer's machines will have limited installation rights and no access to the internet.  On the machines that do run the courseware, they do not either have the local paths as entries on the Settings Managers or in any kind of Trust File.  The only difference is that the machines that run the courses are machines that have a full version of Flash (either 8 and/or CS3) installed on them, but I can not see any reason while this would have an effect?
    Like you mention, it would be a good place to start looking at the loading line by line - however, the Manchester branch of the group have pretty much refused to give us access the *.fla files (it's a (barely) working relationship between us, not really one built on trust).  I'll pass on your ideas and leave it up to them I think!  It would be sensible if we did have FireFox v. IE testing, but most unhelpfully, FireFox is on the list of "controlled applications" and so we can't use it here.
    Anyway, thanks for the reply and help.  I was curious to see what effect having the Adobe page open had on the player, since with previous Flash content we as a company and myself personally have produced have not encountered anything like this.
    Dave

  • Receiving file adapter content conversion issue

    Guys,
    Could someone please help me with a Receiving file adapter issue?
    My output structure is something like this:
    Vendor_file_MT (occurence 1)
    --Recordset (occurence 0..unbounded)
    Vendor (occurence 1)
    Field1
    Field2
    Field3
    Field73
    Field74
    My content conversion is very simple:
    Recordset Structure: Vendor
    Parameters:
      Vendor.fieldFixedLengths   30,30,30, (...) ,1,27
      Vendor.fixedLengthTooShortHandling   Cut
      Vendor.endSeparator   'nl'
    If I don't do the content conversion, it works fine, I get all the fields in the XML format.
    When I do the content conversion however, I get multiple lines but only the very first field of each line.
    What could be the problem? What am I missing here? Any idea?
    Your help would be much appreciated.
    Thanks,
    Viktor

    Varga:
    Its little strange that its not working even after adding that.  Did you check the receiver channel in your RWB for any logs. Add the statement in my previous post and Also try to clear the Cache and activate the channel again..See if it works
    Glad it worked
    Edited by: Guru on Apr 21, 2008 3:15 PM

  • Content Conversion issue for header record

    Hi,
    We have a very urgent question on an issue here with one of our XI objects. 
    This is an inbound interface from an external system into R/3 & BW.  The inbound file has a header record (with about 8 fields) and detail records (about 900 fields per detail record). Data going into R/3 & BW don't have header records and everything goes in as detail records. One field from the header of this source file should be passed to the target structure at the detail level. Also, we are NOT using BPM.
    Can someone help us how we could define the file content conversion parameters for File adapter.
    Thanks in advance ......
    Prashant

    I'm so sorry, I wasn't subscribed to this thread and I didn't realize there were responses.
    If you have a message type made up of a Header with 1 occurence and Detail with 1 to unbounded occurunces, you'd want to do the following in content conversion:
    Document Name - your message type
    Document Namespac - your message type namespace
    Recordset Structure - Header,1,Detail,*
    Recordset Structure - Ascending
    Then you'll need to set some of the parameters, depending on the layout of your incoming file. 
    As for the problem of having hundreds of fields, I'm less sure about that.
    Would it be possible to break your detail data type down into smaller data types.  Each with fewer fields.  You'd still have to maintain every field in content conversion, but at least they'd be in seperate parameters, instead of all 900 in one tiny box.
    Here's a very rough example of what I mean:
    If you have 900 fields, instead of making 1 data type of detail, you could make 9 data types, Detail1, Detail2, Detail3, Detail4, Detail5, Detail6, Detail7,Detail8, Detail 9, each with 100 fields in them (or more with even less fields).
    Setting things up the file content conversion would be more complex in this scenario, so it might be a toss up if it's worth it to break it up this way or not if it meant configuring quite a few more parameters.
    For example,
    You'd have to declare your recordset structure like Header,1,Detail1,,Detail2,,Detail3,* etc, and you'd have to make sure to set the .endSeparator to '0' for all of the first 8 details, so it would recognize that they were all on one line.
    I hope this helps a little bit.

  • JMS content conversion issue

    Hi ,
    I am facing issue in JMS content conversion
    my file looks like as below...
    field1¤field2¤
    field1¤field2¤
    field1¤field2¤
    field1¤field2¤
    in module i have used this
    AF_Modules/MessageTransformBean   PLAIN2XML
    Transform.Class                com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType     text/xml;charset=utf-8
    xml.conversionType           SimplePlain2XML
    xml.documentName            MT_data  
    xml.documentNamespace  http://xyz.com    
    xml.fieldNames                   field1,field2
    xml.fieldSeparator              ¤
    xml.processFieldNames     fromConfiguration
    xml.structureTitle                records
    but i am getting following error
    Error occurred while processing message: . Detailed error (if any):  com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter xml.fieldFixedLengths or xml.fieldSeparator is missing (4409) Consistency check: no. of arguments in xml.fieldFixedLength does not match xml.fieldNames (0 <> 2) : TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Consistency check: no. of arguments in 'xml.fieldFixedLength' does not match 'xml.fieldNames' (0 <> 2)
    ironically when i use file adapter, its reading the file properly and converting XML as expected?
    Did anyone face this issue.....
    is this issue because of an extra ¤ .. is so... why its not giving issue with File??

    You need an additional hierarchy level:
    root
    -> row
      -> data
    In your example:
    <?xml version="1.0" ?>
    <ns1:HQ_reply_MT xmlns:ns1="urn:abc.com:HQToSAP">
    <b><row></b>
    <Data1> PIPXSDI3070 00000 00342YSDI3070PROCESS_MQSERIES HQXPLOR10 XPLOR.ORDER.RESULTS 0000 000000000000000086312 Invalid Process flag : 2. 065</Data1>
    <b></row></b>
    </ns1:HQ_reply_MT>
    Regards
    Stefan

  • Table of Contents Style Issue

    I am a new user of InDesign 5 and am working with a Table of Contents that was prepared for me in my office.  I have updated my text and inserted a few pages into my document and now have some odd formatting showing up in the TOC.  I have deleted my text, added it back in, applied different styles and checked to be sure that I don't have any overrides applied.  The issue is that the leader (....) seems not to be showing up for about 1/4 of my TOC entries.  Any help would be appreciated.
    Grainy (sorry) Image below (note items: Filter 4, Import 11, Export 21 as examples)
    Thanks!

    jclarke2,
    You got verify all the styles envolved.
    Try first verify this:
    For each style included has to be similar like this example. The "entry style" can't be "[Same style]" like on the pic. You have to create one style and verify if don't have any tag besides the leader.
    Good luck!

  • Statistics technical content activation issue with MD process chain in BI7

    Hi,
    Let me give you history of the issue first.
    I had to activate the Statistics in BI7. I followed the SAP Note 965386 and activated the Technical Content.
    Faced activation issues in MD process chain, Content Master Data-0TCT_MD_C_FULL_P01. It dint get activated, Followed the SAP note 1065919, which asked me to remove the below process from RSPC and activate it.
    Load data- Process Variant Attribute and
    Load data- Process Variant Text.
    I did the same and it got activated after removing them.
    Issue is. Later knew that manually activating the Process chain from Content would have activated those Infopackages aswell.
    Now how should I get those processes into the chain and activate? Based on your suggestions, I can let you know what all I have been trying to fix it?
    Relying on you for solution.
    Thanks
    Pavan

    Thank You Neethika,
    I have this issue solved. I replicated the data sources, activated those infoPackages manually and then added those variants into the process chain manually. So my MD chain now has all the necessary process.
    Now i need to schedule them and see if it runs with out any errors. I will keep this thread open till i run it to take your help if i get any errors while running them.
    Thanks
    Pavan

  • Table of Contents webpart issue

    Hi Everyone,
    I have added a Table of contents webpart to the page(to display all lists, libraries & sub sites) and I have given the desired site url & set  "No.of levels to 3". But I am unable to see any list, library or subsites in my webpart.(Also
    I am unable to see the checkboxes "Show pages", "Show hidden sites etc.,) Please refer below screenshot
    Can any one help me what might be the issue?
    Regards,
    Kumar.

    Hi Kumar,
    Table of Contents WebPart display site contents navigation according to navigation. From the screenshot you provided, are you using Managed navigation currently? In my environment, if I use Managed navigation and insert Table of Contents WebPart, the setting
    of WebPart displays as yours.
    Please go to site settings > Look and Feel > Navigation, switch to Structural Navigation and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Table of Contents formatting issue

    Table of Contents will not format properly when I change document margins.  The TOC looked great until I had to adjust my left margin to 2inches for printing purposes.  Now the page numbers are only a couple of spaces from each header, and it looks really bad.  Is there an easy fix, so that I can adjust margins without screwing up the TOC formatting?
    Thanks!

    Thanks Jerrold,
    I have certianly considered this an option if I can't get this resolved before I have to turn in my paper. 
    I bought Pages to write my thesis, espcially since I have to include a lot of capitoned images.  I expected an Apple program to run smoothly and be intuitive, but it has been buggy at times, freezing up, and issues like the wacky TOC formatting from changing the margin size don't make sense.
    Thanks again for your time.
    RR

  • Iframe Content cahnge issue

    I am struggling trying to find a solution for. I have a page with an  iframe. The document in the iframe comes from a different domain which I  can not alter the contents for eg. google.com . If any change occur  inside frame i want to get the Url of that page. and redirect to another  page.I did the same using javascript in DreamWeaver CS5 and it works  properly work when i am using "Live view" in CS5. But when i tried to  access that page in all browser it doesnt work. Why?
    or is there any Solutio for this issue?
    Code:
    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>Changing IFRAME Src</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" language="javascript">
    function getSrc(obj) {
         alert(frames['myframe'].location.href);
         //alert(obj.src);
         if(frames['myframe'].location.href=="http://www.google.co.in/")
             frames['myframe'].location.href="http://www.yahoo.com";
         else
             alert("Nop");
    </script>
    </head>
    <body>
    <iframe id="myframe" src="http://www.google.com" width="100%"  height="500"  onLoad="javascript:getSrc(document.getElementById('myframe'))"  name="myframe"></iframe>
    </body>
    </html>
    Anyone have any ideas? I searched for ever and a day on Google with no help...

    Hi nijin30,
    This forum is primarily for discussing the BrowserLab service / application; if you are still searching for solutions, I'd try looking at some JavaScript forums.  A Google search for "detecting the URL of an IFrame using JavaScript" turned up several promising leads.
    A couple ideas that may help you get unstuck.
    IFrames may load after your main page loads, so you may be running into a case where you are trying to check properties of an IFrame that isn't loaded yet.  Since it works on a local copy (Dreamweaver Live View), this seems like it is a good candidate.  Maybe you can use setTimeout to delay your check until after the IFrames are loaded.
    In order to change the location of an IFrame I think you want to edit the source (instead of redirecting the document inside it).  Another way to write:
       frames['myframe'].location.href="http://www.yahoo.com";
    is...
      document.getElementById('myframe').src = "http://somedomain.com/page.html";
    Best of luck with your page.
    Cheers,
    Josh

Maybe you are looking for

  • Sleep Issues with Macbook Pro

    Hi all, When I wake my laptop (15" Spring 2011 Macbook Pro) while it's connected to a power source, I see the screen for a split second before it goes black. Nothing I do will make the screen come back until I disconnect the power source, at which po

  • How to access code in other projects?

    Hi all, I ran into an issue in FlexBuilder I'm not sure how to resolve, hopefully someone here can help.  I have several projects in my workspace right now I'll call them project A and B.  I have one project in particular, call that project C, that n

  • TS1702 Difficulty purchasing apps.

    It is not allowing us to purchase a paid app. We have credit on the App Store and a valid credit card.

  • Headphones something interesting apple wrote!

    i was looking through the tips here http://www.apple.com/iphone/tips/ i found something interesting, if you click on sleep/wake button tab, there is a part which reads ... 'When iPhone is locked, nothing happens if you touch the screen. You can still

  • Currency Keys

    Hi, I want to know the exact difference between 0LOC_CURRCY (Local Currency) and 0CURRENCY (Currency Key). Can I use 0LOC_CURRCY in plcae of 0CURRENCY? If not please let me know in detail. When I searched for 0LOC_CURRCY in BW i was not able to find