Using a question mark in a obj.conf redirect

We seem to have a problem with the following obj.conf entry on iPlanet v6.1 SP4:
NameTrans fn="redirect" from="/xxxxxxxxx/?" url-prefix="http://www.domain.com/directory/?rid=zzzzzzzzz&"
The "?" is not recognized by the server so the redirect is never executed. We have also tried:
NameTrans fn="redirect" from="/xxxxxxxxx/%3f" url-prefix="http://www.domain.com/directory/?rid=zzzzzzzzz&"
This is also not recognized. Is the "?" a special character for iPlanet configuration?
Any help would be appreciated in solving this problem. Thanks

The from parameter specifies a path prefix. Paths don't include query strings (the stuff beginning with "?" in the URL).
I can't think of any easy way to do what you want in Sun ONE Web Server 6.1. However, the following could be used in Sun Java System Web Server 7.0:
<If defined $query>
NameTrans fn="redirect" from="/xxxxxxxxx/" url="http://www.domain.com/directory/?rid=zzzzzzzzz&$query"
</If>In 6.1, you'll probably need to write some code (Java Servlet, Java Filter, CGI program, or NSAPI plugin) to get the functionality you want.

Similar Messages

  • How to use the "question mark" for JavaHelp?

    Normally the windows (Frame, Dialog) generated by swing don't contain a question mark. I want to provide the question mark to my java app, like I used to use it under Windows(tm)-Look&Feel.
    Is it possible to offer this option and how should the code for javahelp
    and the swing-component look like?
    Thanks a lot in advance.
    Greetings Michael

    Any Ideas?
    Greetings Michael

  • My key board is stuck in the fuction setting only while in fire fox. i can`t use the question mark i only get this É

    My baby must of hit a combination of keys while no one was looking and i don`t have use of some of my keys any more it`s like my function setting on the key board is stuck on. It only does it while in firefox though my keyboard works normally otherwise

    In addition to the above:
    Windows remembers the keyboard layout setting per application and you may have changed the keyboard layout by accident via a keyboard shortcut.
    See:
    * http://support.microsoft.com/kb/306993 - HOW TO: Use the Language Bar in Windows XP
    The default keys to rotate the layout is a combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.<br />
    To avoid an unintentional switch, assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctrl+Shift)
    * Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence
    *http://support.microsoft.com/kb/258824 - How to change your keyboard layout

  • Safari won't open. Firefox disappeared, only question mark. Mail doesn't have content. Time Machine won't turn on because sparse bundle is in use. Please help.

    I had this issue about a month in a half ago and it was fixed by a local technician. I no longer have access to him and I really need some help. The issues are as follows:
    Safari will not open.
    Firefox disappeared. No icon, just a question mark in it's place.
    When I open mail it shows I have new messages but the content is blank.
    Time Machine cannot turn on because sparse bundle is in use.
    New files that were made are no longer available. It's almost as if the computer jumped back in time.
    The Mac Mini is running Mavericks 10.9.5

    I'll assume that you have some way of connecting to this website from the affected machine. If not, ask for other instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then try to launch Safari. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbols appeared on all my hard disk

    I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbol appeared on all my hard disk folders. If I click on these question marks I get a message saying ' the item can't be found'.

    mpagan47 wrote: a question mark symbol appeared on all my hard disk folders.
    Not sure where these hard disk folders are located that you are referring to?  Finder, Finder tool bar, Finder side bar, Desktop, Dock? 
    More then likely they are  an alias that not longer point to the orginals,  thus the question mark.
    I would reboot.  Delete icons if an alias and just recreate by dragging from the source. Try right click (control) click to remove.

  • Why do i have a question mark instead of the app picture. It wont let me use the app either.

    Why do i have a question mark instead of the app picture. It wont let me use the app either.

    Where is your Calculator application located? Before you can put it into the Dock you need to remove the Question Mark. Select it with the mouse and drag it out of the until it "poofs" away. Now locate Calculator and drag its icon into the Dock.

  • I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?

    I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?

    Which iBook do you have?
    http://support.apple.com/kb/HT1772?viewlocale=en_US
    Which version of the OS is installed, and which version are you trying to install?
    You could try starting up with Startup Manager and see if it will allow you to select the OS X install disc as the startup disk. If so, maybe you can proceed from there. I would recommend repairing the hard drive first since you are evidently having a bit of a problem with it.

  • I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.

    I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.
    Ernest

    Not sure if I'm following you. I have 4 hard drives installed on my Mac Pro. I had a RAID 5 configured and functional for about 5 months. My battery died on the RAID card. I replaced the battery, seated the RAID card back in the slot I removed it from. When I booted to the USB drive to look in the RAID utility, I could see the battery is charged but my volumes are not showing.
    The drives don't show in disk Utility. I built the RAID with the RAID Utility and they did show there. I have a early 2008 Mac Pro, Mavricks OS running Mac Server

  • Folder with question mark on startup after using boot camp!!!

    im getting a folder with a question mark on startup after using boot camp. it shows up for a second, then the apple logo pops up and OSX boots normally. i wouldnt be concerned except this folder with the question mark usually shows up when the computer cant find the startup disk or OS. so in fact what is happening is that my macbook cant find the startup disk for a second and then seems to find it. is anybody else having this problem. i dont like it and want to get rid of it. help!!

    This is correct.
    I wonder how it can be that in the System Preferences - Startup Disk - OS X volume can become "deselected" like it was... I had to re-highlight the OS X volume and all is well.
    b
    MBP & Mac Mini   Mac OS X (10.4.6)   http://www.therottenapple.net/phpbb

  • I use picasa for my photos..currently there is a question mark imposed over the icon on the dock aand it won't open...what does this mean?

    I use picasa for my photos..currently there is a question mark imposed over the icon on the dock and it won't open...what does this mean?
    Thanks for any help.

    The icon in the dock is a shortcut to the app itself.....for some reason the icon has lost contact with the app.......go to your Applications folder and drag Picasa back to the dock....a new alias (shortcut) will be created.....

  • I cannot open my photo booth, the photo booth icon has a question mark on it. I have been using my photo booth without any problems before, what do I do please.

    I cannot open my photo booth, the photo booth icon has a question mark on it. I have been using my photo booth without any problems before, what do I do please.

    You move it back to the Applications folder or reinstall it from your OS install disk, using Pacifist if needed.
    (58223)

  • $doc root Variable use in obj.conf file of iPlanet6 SP2

    Is there any way I can build expressions in obj.conf file using $docroot variable?
    I have the following configured in the obj.conf now:
    <<Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/home/ns6.0SP2/https-site/docs/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="/home/ns-home/https-site/cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I would like to have something like this:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="$docroot/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="$docroot/../cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I have tried the code above but unfortunatelly it does not work - I get "Not Found
    The requested object does not exist on this server." error.
    I need this to specify different $docroot-s for different URLs but keep the same default object for all of them.
    Is there any other way to implement this?
    Thank you very much for your cooperation!
    Sasha

    Yes, this technique does work.
    However, in your example, the NameTrans fn="pfx2dir" from="/cgi-bin" directive will probably not work as you expect. This is because the PathTrans fn="unix-uri-clean" directive (which is written to all obj.conf files iWS creates) will reject all paths that contain "..". For more information on the unix-uri-clean SAF, refer to the NSAPI Programmer's Guide at http://docs.iplanet.com/docs/manuals/enterprise/50/nsapi/03_direc.htm#18613

  • Why am I seeing a question mark sign when I click on safari to use the internet?

    why do I see a question mark sign after I click on safari to try to use the internet?

    If you mean in Dock then you have moved the Safari application or the application is missing as in deleted.

  • While using safari, all quicktime related stuff revealed as a question mark

    just got my new macbook today. i know i have quicktime, but many webpages i have looked show parts of it with a quicktime icon and a question mark. i am sure there is something i need to reconfigure, but i cannot seem to find out where to start.

    This setup should enable you to view/hear pretty much everything:
    Assuming you already run OS 10.4.9 or above and have Quicktime 7.2, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer from http://uk.real.com/player/
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    Adobe FlashPlayer from http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    In Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    Now repair permissions and restart.
    The world should now be your oyster!
    You should also have the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Character recognition results in question marks using CuteFTP

    I'm have trouble with character recognition when I upload my site to Network Solutions using CuteFTP. Some returns, apostrophies, etc. appear as question marks. I have tried changing the prefernces to Macbinary and to binary without any change. Any suggestions?

    For my own education...
    Would my solution have worked?
    I realize that it's not a true fix. It's a
    workaround. However, I'd like to know if it would
    have made a difference.
    Yes, if you confine your text to pure ascii, without any "smart" punctuation, that may work. However, the templates often have other non-punctuation characters in them already that cause the same kind of problem and removing all of them could be really tedious.

Maybe you are looking for

  • JTable with JCheckBox

    Hi, Does anyone know how to make the selection on check boxes in a JTable limited to one? Currently the check box column in my JTable allow for multiple selection, but I want to make it so that only one check box can be selected at a time. thanks

  • Devices not showing up

    None of my devices are showing up. ATV2 nor my ipad. I have read the trouble shooting guide. Nothing seems to work. Its really strange because it was all working fine a few days ago...? Any help, input would be most welcome. Thanks

  • Removing clicks and pops

    I see the manual makes reference to the program being able to remove clicks and pops in audio but I can't for the life of me find this option in any filters that came with the program. Can anyone tell me where to find this filter? Many thanks. Steve

  • Previously downloaded apps in the app store are not downloadable any more

    I had deleted apps on my iPad2 and now I'm trying to re-download them again from the Apps store, but these apps are dimmed in color, which indicates that I'm unable to download them any more. (The cloud is grayed out). Can anyone help?

  • Troubleshooting: Retrieving Meeting URL in Connect?

    I've built an external application interface for a client regarding their specialized usage of connect. Overall it's pretty straightforward, and we've been running it fairly successfully this week, but I'm running into some fringe cases where a user