Case Insenstive URI

I m having sun one 6.1 sp 2:
I want to make some uri's case insenstive so for ex :
http://mycompany.com/abc and http://mycompany.com/ABC or http://mycompany.com/AbC all should be treated same.
I got some pointers that it can be done using filters and i will start on them but if any body is using it already can they share some code ?

Please move to the latest version Web Server 7.0 update 4.
Sun Java System Web Server 7.0 Release Notes What's New in This Release [http://docs.sun.com/app/docs/doc/819-2614/gduuv?a=view|http://docs.sun.com/app/docs/doc/819-2614/gduuv?a=view]
* JMX Based Management Infrastructure
* Redesigned Administration Server Interface
* Command-Line Interface Support
* Sun N1 Service Provisioning System Support
* Consolidated Configuration Files
* Java Servlet 2.4 and Java Server Pages (JSP) 2.0 Support
* JavaServer Pages Standard Tag Library 1.1 and Java Server Faces 1.1 Support
* JNDI Support
* Java Database Connectivity and Connection Pooling Support
* Java SE 5.0 and 6.0 Support
* Integrated Java Web Services Developer Pack 2.0 Technologies
* Lightweight Session Replication Support
* URL Redirection and Rewriting with Regular Expressions
* Extensive Real-Time Monitoring Support
* Integrated Reverse Proxy
* FastCGI Plug-in
* Enhanced Security
* Elliptic Curve Cryptography Support
* NetBeans 5.0 and 5.5 Support
* Sun Java Studio Enterprise Support
* Localization Support

Similar Messages

  • Case Insenstive Search using CLOB

    Can you do case insenstive search in CLOB, using DBMS_LOB.instr
    or any other way or is it necessary to install inter media for
    that??

    http://asktom.oracle.com/pls/ask/f?p=4950:8:16408444532599416076::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:440419921146,

  • Case Sensitive URI's / Paths

    Hi,
    I am currently runing IP 6.4 sp5 on a windows 2003 Server.
    I have several additoinal document directory paths setup on my domain to take people to differnent sections of my website. The problem I have is that people sometimes are typing the URL in all caps. When this happens, a 505 server error is thrown by iPlanet. The URL prefixes I have configured are all lower case. Is there any way to tell iPlant to be case insenitive to URI's?
    For example I would like iPlanet to resolve the follwoing domains:
    www.domain.com/abc and www.domain.com/ABC.
    Currently whats happening is that it will resolve one and then throws a 505 error for the other stating that the root cause is a Class Definition not found.
    Thanks in advance.

    Hi,
    I am currently runing IP 6.4 sp5 on a windows 2003 Server.
    I have several additoinal document directory paths setup on my domain to take people to differnent sections of my website. The problem I have is that people sometimes are typing the URL in all caps. When this happens, a 505 server error is thrown by iPlanet. The URL prefixes I have configured are all lower case. Is there any way to tell iPlant to be case insenitive to URI's?
    For example I would like iPlanet to resolve the follwoing domains:
    www.domain.com/abc and www.domain.com/ABC.
    Currently whats happening is that it will resolve one and then throws a 505 error for the other stating that the root cause is a Class Definition not found.
    Thanks in advance.

  • How+webapp+url+case insenstive

    Hi,
    I am using tomcat as servlet container and have deployed a webapp with context name "HelloWorld".
    I access my application by specifing the url
    http://localhost:8080/HelloWorld
    As u can see here 'HelloWorld' is case insensitive. Can I male my url case senstive so that
    http://localhost:8080/helloworld
    http://localhost:8080/helloworlD
    http://localhost:8080/hellOworld
    http://localhost:8080/Helloworld
    all can refer to my webapp.
    Thanks.

    Always keep the context name and servlet mapping names and so on lowercase and write a Filter which lowercases the URL and forwards the request to the lowercased URL.

  • Need to make Value Set as Case insenstive attached with a DFF on OA Page

    Hi All,
    I have enabled DFF on iExpense web page, OA Page, and attached a Value set to this DFF. This is an independent Value Set. Now when user enters a value in this DFF and press tab then it validates and chaged accordingly. Suppose user enters a value 'card' whereas Value set has value as 'Card'. now when user press tab button it changes automaticaaly to 'Card'. But if user enters 'card' and press 'Next' button on page it throws an exception that this value is not available in the value set.
    Kindly let me know that how can I overcome from this problem.
    Thanks,
    Sandeep

    You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
    Structure code1|Segment1($RO$)|Segment2...
    P.S: After I posted this message, I realized this was not what you are looking for. After all, this may help somebody.
    Edited by: dbhat1 on Dec 8, 2008 3:55 PM
    Edited by: dbhat1 on Dec 8, 2008 3:56 PM

  • How can I copy media from an HFS case-sensitive drive to an HFS case-insensitive drive without getting an error?

    About a year ago, I accidentally created a partition on my drive for my iTunes Music. On that parition, called MUSIC, I selected the filesystem to be an HFS, Journaled, case-sensitive partition. Since then, all of my music, new and old, lives on the case-sensitive MUSIC parition.
    My other partition, called BOX, is an HFS, Journaled, case-insensitive filesystem, as are my external drives I use for archiving and backing up my music.
    My dilemma: when I try to copy my music/iTunes media from the MUSIC partition to a different partition that's case-insensitive, I obviously run into errors saying that certain files can't be copied because they will overwrite others. Subsequently, I can't back up my music and iTunes media to another drive unless it has the same filesystem parameters favoring case-sensitivity. I want to move my media to a case-insenstive drive/partition.
    As the story goes, I'd like to avoid having to reformat and worry about moving my media around because I feel, in the end, I'd end up doing more harm then good in my pursuit to fix this issue.
    My question: is there some way I can detect which files are conflicting with each other, and then manually rename them? My music library runs about 16,000 songs deep, but I'd still feel saved even if I had to go through and manually rename all of the music files so they don't conflict with each other in order to get them on to a case-insensitive drive. Perhaps there's an AppleScript someone knows about that I could execute in my MUSIC partition to see which files/directories are causing my problems? In other words, I'm thinking there could be a way to detect the same file/directory names that are only different soley because of their case.
    Any help, suggestions, or solutions are welcome. Thank you all for your time in helping me solve this!
    And have a Happy Thanksgiving

    How do I restore a case-sensitive,...: Apple Support Communities

  • JAXB : case insensitive attributes

    I frequently receive an XML file which I do not have control over. ( It is generated outside of my organization)
    I derived a XML schema by analyzing the document structure and used the schema to generate a set of JAXB generated classes.
    Nevertheless, the file sometimes comes with some minor "mistakes" in the attributes names of some entities by having the wrong uppercase or lowercase. (Vgr. myAttributeName vs myAttributeNAme )
    Is there any way to tell JAXB to be case insenstive on the attribute names ?
    Unmarshalling the file fails at the attribute with the wrong case.
    Thanks.

    Unlikely. XML itself defines all element and attribute names to be case-sensitive, and likewise Java defines class and variable names to be case-sensitive. So it wouldn't make sense for JAXB to have a "case-insensitive" option.
    If you can't get the supplier to provide the correct information in the XML file (e.g. they are an important customer and you can't point out to them that they are a bunch of donkeys) then you could pre-process the XML file yourself to correct the errors.

  • CS5 install on case-sensitive file system - can't choose different drive (Mac OS)

    I just upgraded my macbook pro to a new drive and 10.6, and chose 'case sensitive' HFSX, 'cause I'm a heavy command line user and wanted the maximum BASH experience.
    I'm trying to install the CS5 demo to try some web design tools, and the installer immediately says "Installation to case-sensitive drives is not supported. Please choose a different drive location to install." So case-sensitive drives aren't supported; crappy but fair enough.
    The error message leads me to think that I can just choose a non-case-sensitive drive to install to, but I never get a chance to pick one - I click on the installer and it goes straight to the error message.
    So - how do I pick a different drive to install to? Am I just an idoit, is there no way to select a different drive, or will it not install on a system that even BOOTS from a c.s. drive, regardless of the format of the drive that CS5 is installed to?
    I called the support number, and the poor fellow on the other end suggested I re-download the demo, and if the new download fails call Apple support to report my 'drive error'.
    I'm hoping to avoid an entire backup-reformat-restore and lose CLI compatibility just to try some demo software.
    ch

    That is part of why I would prefer case sensitive by default.   I know some server packages do the folding for you, same as some web servers do not differentiate between 'htm' and 'html' when people type in requests, but most of the time the backend server is going to be case sensitive and it is not safe to assume (or hope) that the service will fix things.  Compensating for mistakes is fine, but allowing such silent corruption is not a terribly laudable things and it encourage people be careless.
    Every once in a while I do encounter someone submitting some work where their configuration values and file names do not match, and 'well my laptop silently fixes it for me since it does not care' is a poor excuse.  And if I sent broken filenames upstream or even worse commit them to be used on a server, that is a pretty significant professional failure.
    Back to Adobe specifically, I have been trying the suggestion on poster mentioned in where one installs the Adobe applications to a case insensitive drive then copy over the installed files.  This does not quite work out of the box, but for reasons I would be hard pressed to believe are Apple's fault.
    For instance the first error I encounter is the inability of Bridge to load:
    "@executable_path/../Frameworks/WRServices.framework/Versions/A/WRServices"
    When I go look inside the app directories I can see that in Bridge the file has been named 'awrservices', but in Illustrator it is correctly named AWRServices.   So it looks more like a problem in whatever version control they are using.  The only way I can picture (which my adminitialy limited knowledge of what I am sure is a large and complex project with all sorts of legacy issues) that the installer toolchain factors in as a problem is if they have mismatches in their own scripts/packaging and have been depending on HFS's bad behavior to hide the problem.  I can understand not wanting to invest the time to pay down the technical debt on such an issue, but having such errors in your configuration causes long term headaches.
    And I say this as someone who worked on just such a project, moving a software suite that had legacy code stretching back longer than Adobe has existed as a company.  This conversion included moving from a case insenstive filesystem to a case sensitive one and yeah, there were lots of problems that the old FAT32 system hid from us, but it really paid off over the long run to fix them rather than try to twist the code to compensate.
    Having said that, if the problem is really that they do not want to go update their filenames (in version control or config files), then you can always add folding to your loaders.  I have had to do that a few times due to upstream people developing on case insensitive systems and sending data files with incorrect file names.  This is an old class of problem, and while I can empathize with the struggles project managers have trying to get approval for paying down technical debt, the problem never gets better on its own and usually gets worse.
    Which is why I responded with so much grump to the 'I never needed it' argument since that is exactly the type of customer comment that marketing tends to point to in order to push such things off the schedule.  This is the type of thing where the customer does not really know what they want because they are already accustomed to broken behavior and most of the problems are hidden from their immediate view.  It is easy to cover up the limitations since modern UI (and their search capabilities) can handle this. 
    It is not just arcane developers stuff, and it is the same transition that people have made with things like spaces, quotes, and parentheses, where years ago users believed they had no need for them since they were not using them, but they were only not using them because they did not work.   Today try to tell a modern user they can not put (, ", ) or even ' ' in their filenames and they would rightly question why this piece of obvious functionality is not working since today they are used to it working and no longer automatically compensate for it.
    I also find it ironic that by default OSX hides a number of file extensions, so from the user's perspective you can have multiple files with the exact same name displayed to them, so you can get display issues where 'foo' is the same as 'foO' if both have .txt, but 'foo' and 'foO' are not the same if one has .txt while the other is .pdf.  Add to this confusion cases like 'foo.txt' and 'foo.pdf" both being shortened to 'foo'.

  • Oracle 11g Case Insensitive Issue

    Hi,
    For our .net framework 4.0 Application we need case insenstive search. So I have tried setting NLS_COMP=LINGUISTIC & NLS_SORT=BINARY_CI in environmental variable.. But this is not working. But when I tried firing trigger on each logon and setting NLS_COMP for each session.. It is working.. But because of performance reason we don't want to fire on trigger for each database logon.
    Pls Let me know why it is not working setting environmental variable. We are using Oracle 11g client and 10g server and connecting from our .net application through ODP.NET.
    Regards,
    Raghu

    Do you see the same behavior when connecting via SQLPlus after setting the environment variables? Is this an ODP.NET specific issue? If it's not specific to ODP, you'll probably get better insight by posting in one of the generic database forums.
    With respect to ODP specific solutions, have you already checked out the OracleGlobalization class?
    http://docs.oracle.com/cd/B19306_01/win.102/b14307/OracleGlobalizationClass.htm#i1009565
    Hope it helps,
    Greg

  • Like Query with Case insensitive

    Hi ,
    I have select query with Like, need to add case insenstive for that.
    E.g
    Select * from emp where empname like ('D%').
    The above query will fetch only names starting with 'D' not the name starting with 'd'.But i need to fetch all the name starting with D or d. Can anyone help me out with this query.
    Thanks
    Durai

    Hi
    Use uppercase for example:
    Select * from emp where upper(empname) like ('D%');
    Ott Karesz
    http://www.trendo-kft.hu

  • Cas-Insensitive search in KM

    Hi all,
    we have some HTM files stored in KN respository and they internally refer some images which are in the same folder as that of the HTML file.
    But at times the name of the images are slightly different(some lettes are in CAPS) from the ones whcih are maintained in KM, andd hence while opening the HTML page the  image is not seen.
    Is there a way in which this reference of file can be made case insensitive?
    Thanks,
    Jeet

    I am assuming that you are using Content Management repository. If you are using web repository, then you can uncheck the "Case-Sensitive URI Handling" in the repository manager configuration.
    Mahesh

  • Relative paths for images upset by forwarding requests

    Hello World.
              I am using a web app deployed in Weblogic 5.1 with service pack 8.
              I have hit a problem which puzzles me. When I forward a request from
              one JSP to another (say from A to B) the web server seems to take the
              URLs of the images on the served file (B) relative to the path on the
              calling file (A). Here's a detailed explanation...
              Suppose I have a the web app structured as follow
              /oddApp/launch/A.jsp
              /oddApp/B.jsp
              /oddApp/images/tick.gif
              Page A simply stores its request URI and forwards its request to page B
              <jsp:forward page="/B.jsp" />
              Page B displays its requestURI, contextPath and servletPath. It also
              attempts
              to show three images
              <img src="images/tick.gif">
              <img src="../images/tick.gif">
              <img src="/images/tick.gif">
              When I invoke page B directly, the first image is shown, the others are not.
              When I invoke page A, it forwards to B and the second image is shown, the
              others are not.
              In each case the URI, contextPath and servletPath are correctly displayed
              with regard to page B.
              URI = [oddApp/B.jsp]
              contextPath = [oddApp]
              servletPath = [B.jsp]
              The URI in A.jsp is also correct (i.e. /oddApp/launch/A.jsp).
              The search for the images seems to be relative to the original URI (i.e. not
              the URI used to forward), which strikes me as daft. It means that page B
              must be aware of where it is being called from. It is perfectly plausible
              that
              relative paths which suit when called from one location are incorrect when
              called from another.
              I had thought that including the leadling slash (as shown as the third
              image)
              would cause the search relative to the document root (/oddApp/), but this
              appears not to be the case. The search is done relative to the root of the
              server not the web app.
              Adding jsp mappings in the deployment descriptor of the web app does not
              help (I had thought it a long shot anyway).
              Does anyone have any thoughts on this?
              PHiL
              

    i face the same problem (WinNT, WLS6.0): my wep app has a contextRoot " root " which makes it react to the URL: http://host:port/root /: it is this folder which will be used as a basis by the Web server But in the jps I use a relative URL for images: / images/toto.gif : it works very well when I deploy my jsp out of a Web-app by setting a document.root to the weblogic web server.On the other hand, once deployed in a Web-app, images are not found because the default path of the browser is http://host:port, without the context root of the Web-app! In other words, my war has images/*.gif in its root but when /images/toto.gif is resolved in a jsp, as the relative URL is not prefixed by my context-root, the image is not search in the war! actually, if I type http://host:port/root/toto.gif, my image appearsany clues? an alias on the web server? a setting in web.xml/application.xml and their weblogic equivalent files?
              

  • The "Measures" dimension contains more than one hierarchy... Collation issue

    It appears that an Excel query pased through to SSAS has a "measures" with lowercase "m" when analysis services expects an uppercase "M" so it should look like "Measures". Is there a fix in excel to allow
    the correct passing of "Measures" member name to the cube?
    BTW, I have NO Calculations in the cube.
    In excel 2013 when I pivot with a pivot table connected to a case sensitive collation (non default config)
    cube and perform a filter by "Keep only Selected Items" I get the error "The 'Measures' dimension contains more than one hierarchy, therefore the hierarchy must be explicity specified".
    When I revert back to server wide setting to case insensitive, and I preform the exact same pivoting function it works without error. The problem appears to be that excel does not understand the server collation setting.
    When I run SQL Server Profilier I narrowed down the MDX statement run in Excel that gives me an error to this:
    with
    member measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Playing around with the query I discovered that if I capitalize the first letter of the "with measures" member, the statement works.
    with
    member Measures.__XlItemPath as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    [Employee].[Location Code].currentmember.unique_name,
    "|__XLPATHSEP__|"
    member Measures.__XlSiblingCount as
    Generate(
    Ascendants([Employee].[Location Code].currentmember),
    AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
    "|__XLPATHSEP__|"
    member Measures.__XlChildCount as
    AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
    select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
    [Employee].[Location Code].&[01W]
    dimension properties MEMBER_TYPE
    on rows
    from [Metrics]
    cell properties value
    Also, I realise that I could change the collation on just the cube itself to case insenstive to get this to work, but I really don't want to do an impact analysis of running a mixed collation environment.
    So, my question is: Is there an excel fix that will allow me to run a case sensitve cube and allow me to click on filter and filter by "keep only selected items" or "Hide selected Items"? All other filtering works, it's only those two
    filtering options error for me.
    Here are the versions I'm working with:
    Excel 2013 (15.0.4535.1507) MSO(15.0.4551.1007) 32-bit Part of Microsoft Office Professional Plus 2013
    Microsoft Analysis Server Enterprise 2012 11.0.3000.0
    Any help would be appreciated. Thank you in advance!

    Hi, i assume this logic is for Dimension formula?
    If you have multiple hierarchy like ParentH1 and ParentH2 you should use FormulaH1 and FormulaH2 and not FORMULA column.
    in FORMULAH1
    [Account.H1].[Account_A] / [Account.H1].[Account_B]

  • How can I determine which word triggered a dictionary list in attachment?

    We have IronPort C160 and an outgoing message was blocked due to our language filters.  The logs indicate that an attached word document matches
    dictionary-match("sexual_content_txt", 1).
    Since the dictionary match is not in the actual body of the e-mail, the triggered phrase is not highlighted in our policy view in the web gui.  I can download the attachment and after reading it, I find no issues with it at all (its a legitimate policy from a VP to an Auditor).  I am going to release the email as was requested.  However I am just curious as to what in carnation is triggering the dictionary match.  Is there any way to find this out?  Sometimes there are some nonsense words that we do find from time to time and we remove them from the dictionaries.

    Keith,
    I wrote a Perl script to solve this problem. It loads the patterns from an exported content dictionary, then reads stdin and attempts to match each line against the patterns, and prints the matches it finds. AsyncOS uses Python's "re" module under the hood, so Perl's regex interpreter isn't the best match, but it gets the job done. This script would be better written in Python, but I don't know Python.
    There are a few caveats to using a script like this. First, IronPort doesn't document exactly what regex patterns underly their Smart Identifiers, so you won't be able to interpret these. Second, the "match whole words" and "case senstive" settings are not exported with a dictionary. If you want to respect them then you'll need to use something like command line options on your script to signal them. For me, it was sufficient to ignore the "match whole words" setting and to make all matches case insenstive.
    ++Don

  • Switch JSON data file based on selected language

    I would like to switch my json file that contains the data for my app based on the language selected.
    Basically that would mean changing the data uri to point to the new uri when the language is changed:
    Uri dataUri = new Uri("ms-appx:///DataModel/SampleData.json");
    I am using the below switch for this purpose:
    System.Globalization.CultureInfo ci = System.Globalization.CultureInfo.CurrentUICulture;       
    string locale = ci.ToString();       
    switch (locale)       
    case "fr":               
    { Uri dataUri = new Uri("ms-appx:///DataModel/SampleDataFrench.json");
    break;
    case "en":               
    { Uri dataUri = new Uri("ms-appx:///DataModel/SampleDataEnglish.json");
    break;
    I get the error: "The name 'dataUri'does not exist in the current context. What am I doing wrong and how to fix this?

    Using 'dataUri' variable outside switch case would raise this error. Try declaring Uri type variable outside the switch case & use it then all over.
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

Maybe you are looking for