Protecting Apache URLs ending in '/' with non-standard DirectoryIndex

I'm using Apache agent 2.2 for Acces Manager 7. My Apache version is 1.3.33. I have a DirectoryIndex line in my httpd.conf like so:
DirectoryIndex index.cgi index.html
So when I request the URL <http://server.edu/subdir/> I should get <http://server.edu/subdir/index.cgi>.
My problem is when URLs like this are protected by Access Manager. I have an inverted notenforced_list, which contains http://server.edu/subdir*. So only stuff in subdir should be controlled by AM. I want all 3 of these URLs to give the same results:
http://server.edu/subdir
http://server.edu/subdir/
http://server.edu/subdir/index.cgi
The first and third URLs work as expected; the second one (with a trailing '/') doesn't work. If I change my notenforced_list to read http://server.edu/subdir/*, then only the third (complete) URL works.
By looking at the agent logs in debug mode, it appears that AM is first looking at policy for http://server.edu/. That test passes, since that URL is part of the (inverted) notenforced_list.
Then the agent goes on to check the /subdir URL -- but it tacks on index.html:
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: get_request_url(): Returning request URL http://server.edu/subdir/index.html.
Then it goes on to say that it will enforce policy on this URL, which is correct, but it's referring to index.html, not index.cgi. I'm never prompted for authentication, I just get a browser error that says the page cannot be displayed. If I ask explicitly for http://server.edu/subdir/index.cgi, everything works as expected -- I'm redirected to the AM server and prompted to authenticate, then redirected back to the URL I originally requested.
Am I missing something here? Has anyone else tried to protect URLs ending in '/' with a non-standard name?

Here is the log extract. You can see pretty clearly that it just tacks on 'index.html' to the end of the original URL, when it gets to the 2nd phase of the policy evaluation (after checking for root-level policy). Thanks for taking a look!
2006-04-20 14:06:58.141MaxDebug 10883:252998 PolicyAgent: get_request_url(): Host: server.edu
2006-04-20 14:06:58.142MaxDebug 10883:252998 PolicyAgent: get_request_url(): Port is 443.
2006-04-20 14:06:58.142 Debug 10883:252998 PolicyAgent: get_request_url(): Returning request URL https://server.edu:443/subdir/.
2006-04-20 14:06:58.142 Warning 10883:252998 PolicyAgent: get_method_num(): Apache request method number did not match method string. Setting method number to match method string GET.
2006-04-20 14:06:58.142 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): url 'https://server.edu:443/subdir/' path_info '/'.
2006-04-20 14:06:58.142MaxDebug 10883:252998 PolicyAgent: am_web_is_access_allowed(): processing url https://server.edu:443/.
2006-04-20 14:06:58.142MaxDebug 10883:252998 PolicyAgent: FqdnHandler::isValidFqdnResource() Resource => https://server.edu:443/, is valid => true
2006-04-20 14:06:58.142 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): client_ip xxx.xxx.xxx.xxx not found in client ip not enforced list
2006-04-20 14:06:58.142MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.142MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.143MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.143MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.143MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: in_not_enforced_list: not enforced list is reversed, only matches will be enforced.
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: in_not_enforced_list: allowing access to https://server.edu:443/
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: am_web_get_parameter_value(): Param Name = iPlanetDirectoryPro, & Param Value = NULL, status not found
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): remote user set to unauthenticated user (null)
2006-04-20 14:06:58.143 Info 10883:252998 PolicyAgent: am_web_is_access_allowed()(https://server.edu:443/, GET) returning status: success.
2006-04-20 14:06:58.143 Info 10883:252998 PolicyAgent: process_request(): Access check for URL https://server.edu:443/subdir/ returned success.
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: set_user(): user set to
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: am_web_is_logout_url(https://server.edu:443/subdir/): normalized URL https://server.edu:443/subdir/.
2006-04-20 14:06:58.143 Debug 10883:252998 PolicyAgent: set_user_attributes(): set user attributes option set to none.
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: process_access_success(): returned AM_WEB_RESULT_OK.
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: process_request(): returning web result AM_WEB_RESULT_OK, data []
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: am_web_process_request(): Rendering web result AM_WEB_RESULT_OK
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: am_web_process_request(): render result function returned AM_SUCCESS.
2006-04-20 14:06:58.144MaxDebug 10883:252998 PolicyAgent: get_request_url(): Host: server.edu
2006-04-20 14:06:58.144MaxDebug 10883:252998 PolicyAgent: get_request_url(): Port is 443.
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: get_request_url(): Returning request URL https://server.edu:443/subdir/index.html.
2006-04-20 14:06:58.144 Warning 10883:252998 PolicyAgent: get_method_num(): Apache request method number did not match method string. Setting method number to match method string GET.
2006-04-20 14:06:58.144 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): url 'https://server.edu:443/subdir/index.html' path_info ''.
2006-04-20 14:06:58.145MaxDebug 10883:252998 PolicyAgent: am_web_is_access_allowed(): processing url https://server.edu:443/subdir/index.html.
2006-04-20 14:06:58.145MaxDebug 10883:252998 PolicyAgent: FqdnHandler::isValidFqdnResource() Resource => https://server.edu:443/subdir/index.html, is valid => true
2006-04-20 14:06:58.145 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): client_ip xxx.xxx.xxx.xxx not found in client ip not enforced list
2006-04-20 14:06:58.145MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.145MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
2006-04-20 14:06:58.145MaxDebug 10883:252998 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 4
2006-04-20 14:06:58.145 Debug 10883:252998 PolicyAgent: in_not_enforced_list(https://server.edu:443/subdir/index.html): matched 'https://server.edu:443/subdir/*' entry in not-enforced list
2006-04-20 14:06:58.145 Debug 10883:252998 PolicyAgent: in_not_enforced_list: not enforced list is reversed, only matches will be enforced.
2006-04-20 14:06:58.145 Debug 10883:252998 PolicyAgent: in_not_enforced_list: enforcing access control for https://server.edu:443/subdir/index.html
2006-04-20 14:06:58.146 Debug 10883:252998 PolicyAgent: am_web_get_parameter_value(): Param Name = iPlanetDirectoryPro, & Param Value = NULL, status not found
2006-04-20 14:06:58.146 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed()(https://server.edu:443/subdir/index.html,GET): no sso token, setting status to invalid session.
2006-04-20 14:06:58.146 Debug 10883:252998 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource https://server.edu:443/subdir/index.html.
2006-04-20 14:06:58.146 Info 10883:252998 PolicyAgent: am_web_is_access_allowed()(https://server.edu:443/subdir/index.html, GET) returning status: invalid session.
2006-04-20 14:06:58.146 Info 10883:252998 PolicyAgent: process_request(): Access check for URL https://server.edu:443/subdir/index.html returned invalid session.
2006-04-20 14:06:58.146MaxDebug 10883:252998 PolicyAgent: am_web_get_url_to_redirect(): goto URL is https://server.edu:443/subdir/index.html
2006-04-20 14:06:58.146MaxDebug 10883:252998 PolicyAgent: find_active_login_server(): Trying server: https://access-manager-server.edu:443/amserver/UI/Login
2006-04-20 14:06:58.149 Debug 10883:252998 PolicyAgent: process_access_redirect(): get redirect url returned AM_SUCCESS, redirect url [https://access-manager-server.edu:443/amserver/UI/Login?goto=https%3A%2F%2Fserver.edu%3A443%2Fsubdir%2Findex.html].
2006-04-20 14:06:58.149 Debug 10883:252998 PolicyAgent: process_access_redirect(): returning web result AM_WEB_RESULT_REDIRECT.
2006-04-20 14:06:58.149 Debug 10883:252998 PolicyAgent: process_request(): returning web result AM_WEB_RESULT_REDIRECT, data [https://access-manager-server.edu:443/amserver/UI/Login?goto=https%3A%2F%2Fserver.edu%3A443%2Fsubdir%2Findex.html]
2006-04-20 14:06:58.149 Debug 10883:252998 PolicyAgent: am_web_process_request(): Rendering web result AM_WEB_RESULT_REDIRECT
2006-04-20 14:06:58.150 Debug 10883:252998 PolicyAgent: am_web_process_request(): render result function returned AM_SUCCESS.

Similar Messages

  • Terminal: Stored Remote Connection with non-standard Port?

    Hi,
    I am new to MacOS and I am amazed by the integrated terminal. However, I sometimes need to connect to servers which use a non-standard SSH port, for example, 2020. I know that I can manually connect, but for convinience, I'd like to have a saved remote connection including the non-standard port. Is this possible somehow?
    Thanks,
    Felicitus

    I did some experimentation, using Terminal.
    Terminal -> New Remote Connection -> Service -> [+]
    now enter your own new service which includes
    /usr/bin/ssh -p 50022
    I found I had to enter a bonjour entry to get it to accept my new service, but once I did, I was able to use that new service with the custom -p 50022 port value.
    Your mileage may vary. I still prefer iTerm.
    Oh yea. In the future, Terminal and Unix oriented questions are better asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • Can the webmaster fix mozilla's web site so that users don't end up with non working 32bit version of firefox on their 64 bit Linux (see bug #723487)?

    I've been subsribed to bug #723487 (https://bugzilla.mozilla.org/show_bug.cgi?id=723487) for a year and a half, and I identified a problem in the way mozilla's site delivers the linux version of firefox almost a year and a half ago, but for reasons unknown to me, no one bothered to address this problem.
    Other, properly built web sites that deliver binary software packages for linux, can successfully recognise if the user downloading firefox is using a 32bit or 64bit Linux distribution, and offer the appropriate version. Try www.libreoffice.org if you think that my claims are false.
    But this somehow doesn't work with mozillas website, the website recognizes that the user's operating system is Linux, but doesn't try to figure out if it's a 32bit or 64bit linux, so the users end up with 32bit builds of firefox by default, which then don't work on their 64bit sytems.
    The problem is even more intensified due to the rather stupid naming convention used by mozilla - both the 32 and the 64 bit versions are simply named identicaly - for instance firefox-29.0b6.tar.bz2 for the 29 beta 6 version. Other sane software producers (libreoffice, nvidia, qt-project) names their binary packages with different names (eg. the "x86" string is used for the 32bit version, "x64" for the 64bit version) so that the users don't end up trying to use (unsucsesfully; getting a cryptic error message) the wrong version. But in mozilla's case we end up with a lot of confused users filing bug reports, like the bug I mentioned above.
    So to rephrase my question - is someone willing to do something about this (the QA Mentor who commented in bug #723487 has so far proven to be completely useless)?

    The 64-bit Linux builds have been listed on the http://www.mozilla.org/en-US/firefox/all/ page since Firefox 27.0 or 26.0 I believe.
    This link is listed under the green download button with the words of [http://www.mozilla.org/en-US/firefox/all/ Systems & Languages]

  • Is it possible to make a DVD with non-standard sized movies, w/o scaling?

    I have some software tutorial material that I want to turn into a DVD. Since the video was created as a screen capture of a particular piece of software, the finished video is an odd size of 830 x 622 (I wanted to capture the screen dumps at their actual resolution, which looks crystal clear - and that was the size of the software's main window.) Note that this is still 4:3.
    I edited the material in FCP 5, made a custom sequence setting of 830 x 622, and the exported final results are QT movies with a size of 830 x 622. We then flash-encoded these for web-broadcast at a size of 640x480.
    What I am wondering is: now that we want to make a DVD, can a DVD be made that keeps this video at the larger size, so that it is crystal clear? So far, I experimented with using a few of the DVD format encoding options in Compressor, and it seems to end up as 640x480 no matter what I do.

    I think you might be mistaken about the 720x480. When I make a new sequence in FCP, it calls 720x480 3:2, not 4:3. If I set it 4:3 (which is one of the two allowed DVD standards), it becomes 640x480.
    Indeed, I have been trying various export experiments from Final Cut with Compressor using presets such as "DBD Best Quality 120 minutes - 4:3", and they all come out as 640 x 480. Furthermore, I can import them into DVD Studio 4 and they seem to work normally for now.
    So, dragging my 830x622 QT movies directly into compressor and applying the above preset results in very good-looking, 640x480 MPEG-2 video. I had hoped there was some way to keep the higher-resolution of 830x622, but apparently DVD only supports a few standard pixel dimensions (4:3 at 640x480, 16:9...)

  • 10.6.5 upgrade issue: folders with non-standard chars in names unusable

    Hi all,
    I recently upgraded my XServe (2 x dual-core 2Ghz Xeon; 10Gb RAM) from OSX Server 10.6.4 to 10.6.5 (and applied several other updates: XCode 3.2.5, iTunes 10.1.1, Safari 5.0.3 and Java 10.6u3). Since the upgrade, I have a new problem whereby some folders shared via both SMB and AFS are unusable over the network.
    The problem applies to all folders whose names either (1) contain atypical characters like *, > or /, or (2) begin or end in a space.
    These folders are unusable over the network. Some appear, but others do not. Those that appear do not contain any files, even though they contain files when I browse them locally on the server. I cannot copy files into or out of any of the folders, nor can I rename them (remotely).
    When I browse the local file system on the server, there are no problems whatsoever - the problems occur only when connected remotely. The problems occur with both SMB and AFS access; I have not tried other protocols.
    These folders were heavily used by both Windows and Mac clients prior to the upgrade, and the problems are reliable and reproducible.
    The problems are fixed immediately by renaming the files to have more standard names, and they re-occur if I name the folders back. I will encourage the users here to adopt more standard naming conventions, but this is a fairly serious bug that is requiring some tedious workarounds.
    Any advice on this problem would be much appreciated!
    Regards
    Tim

    Different OS have different naming conventions. As you notices there are characters the macs will let you use; that the PC will not. And there are also characters the pc can use that the macs can not.
    check out
    http://www.portfoliofaq.com/pfaq/FAQ00352.htm
    http://technet.microsoft.com/en-us/library/cc976909.aspx
    http://support.microsoft.com/kb/147438
    One solution I know of is to batch scan/ rename files on a regular basis. Witch you could automate. to keep from generating lots of support requests. And to compliment this tactic you can educate the staff on file naming.
    There are programs that focus on pc/mac compatibility. Basically they try to restrict the mac and pcs from doing any thing that would cause naming convention conflicts. I hear they help reduce the number of naming conflicts.
    the other thing is verify the permissions on the share point. make sure no one can create files that other users can not see.
    If you find a better solution; I'd love to know.
    At least your not on the other side; I have window shares. And mac files can just completely fail to save, or if the file has a resource, the fork might be lost. I like mac shares better; because at least the files will save to the server.

  • Vendor Evaluation With Non Standard Main and Sub Criteria

    Hi Gurus
    I have a requirement wherein I  have to evaluate a vendor on non stanadard Main Criterias like
    1. Productivity  with sub criteria as Receipt / Excepected Yield, for which I have used Scoring method 2
    2.Quality Standards with Sub Criteria,- Germination (%),Genitic Purity % , Field level flags, for which i have used scoring method 7 by activating user exit- MM06L001
    3.Raw Seed to Clean Seed ratio, with the same sub criteria and with the above scoring method and user exit.
    The weightages given to the above three are 40 , 35 and  25 respectively.
    Can you please tell me how to calculate the values for subcriterias( for example for my main criteria 2. i want to assign the weightaghes for sub criterias - Germination - 50 , Genitic Purity %- 30, & Field level flags - 20, . along with smoothin factors.
    I want to automise the whole process and run the evaluation in the background.
    An early reply will be very helpful to me.
    thanks and regards
    Ashok Kumar Pitla

    T147   - Control table for vendor evaluation
    T147A - Definition for main criteria
    T147B - Text for main criteria
    T147C - Definition for sub-criteria
    T147D - Text for sub-criteria
    T147E - Definition of weighting keys
    T147F - Description of weighting keys
    T147G - Main criteria
    T147H - Interval for delivery time statistics
    T147I - Definition of sub-criteria for the main criteria
    T147J - Weighting keys
    T147K - Assignment: Percentage X Score
    T147L - Intervals for quantity reliability
    T147M - Definition of scope of list
    T147N - Text for scope of list
    T147O - Scope of List
    T027A - is the table for defining shipping instructions
    T027C - specifies the points scores for compliance

  • Webstart not working with non standard port

    I am using Java Web Start 1.0.1 coupled with JDK 1.3.1 to access a client application, from behind a firewall.
    Webstart launches correctly, but gives me this error on trying to load the application
    Description
    ======================
    An error occurred while launching/running the application.
    Title: Deal Entry Application - DV17
    Vendor: BP
    Category: Download Error
    Unable to load resource: http://dlw1debs17.bpweb.bp.com:7001/dealentry.jsp
    The problem is that, while i can successfully run and download the sample applications available at Sun's website, i am unable to launch this particular app. i have been assured that the port 7001 is open for connections.
    Here are the rest of the details
    Exception
    ========================================
    JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception
    ===========================================
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at com.sun.javaws.util.URLUtil.doesURLExist(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Here's the jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0+"
    codebase="http://dlw1rdbs17.bpweb.bp.com:7001"
    href="refdata.jsp">
    <information>
    <title>Ref Data Application - DV17</title>
    <vendor>BP</vendor>
    <homepage href="http://global.bpweb.bp.com/"/>
    <description>Ref Data Application - DV17</description>
    <description kind="short">Ref Data Application - DV17</description>
    <icon href="icon.gif"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3.1" initial-heap-size="64M" max-heap-size="96M"/>
    <jar href="rdmain-client.jar"/>
    <jar href="xy.jar"/>
    <jar href="wl61.jar"/>
    <jar href="log4j.jar"/>
    <property name="nextgen.jnlp.url" value="http://dlw1rdbs17.bpweb.bp.com:7001/refdata.jsp"/>
    <property name="java.naming.factory.initial" value="com.bp.ist.arch.client.NextGenContextFactory"/>
    <property name="nextgen.server.addresses" value="London,t3://dlw1rdbs17.bpweb.bp.com:7001" />
    <property name="nextgen.help.url" value="http://dlw1rdbs17.bpweb.bp.com:7001" />
         <property name="compressed" value="true"/>
    <property name="com.bp.ist.environment.envname" value="DV17" />
    <property name="com.bp.ist.environment.serverlocale" value="LONDON" />
    <property name="com.bp.ist.environment.appver" value="R2M3.1_REF_0204" />
    <property name="com.bp.ist.environment.dbschema" value="UNSET" />
    </resources>
    <application-desc main-class="com.bp.ist.refdata.main.swing.RefDataAppController"/>
    </jnlp>
    If anyone has a solution to this, please help out, because i have been stuck on this for almost 3 days now.
    Any suggestions will be sincerely appreciated.
    Thanks
    Karan

    1.0.1 is an older version of Java Web Start, which has since seen versions 1.2, 1.4.2, and now 1.5.
    This is probably a bug in the old (1.0.1) version of Java Web Start. Please try with a newer version.
    /Dietz

  • Embedded Windows Media PLayer With Non-Standard File Extension

    I have embedded a windows media player in a asp.net web page, using the usual
    <object> and <embed> tags. The video is served by an ashx (http handler). When I try to play the video, I usually (but not always) get an error message telling me that the file extension (ashx) does not match the file format.
    This happens in IE (8, 9, 10, 11) and also in Firefox (latest) with the WMP plugin.
    I know that the tags (with classid, etc) are correct because the media player displays and allows me to click the 'play' button.
    The ashx returns the correct mime type (video/x-ms-wmv) and a valid file name (somevideo.wmv) in the response headers. I have tried content-disposition attachment and inline.
    I have tried urls using 'http://', 'https://', and '//' (which I prefer)
    If I put the url (including the .ashx) of the video file in the browser address bar directly, the video downloads and plays in the standalone media player.
    If I modify the object tag to use a direct path to the video file (/somewhere/somevideo.wmv), it works - but I can't use this as a solution.
    The same ashx serves up video and audio in various other formats with out any fuss - it just seems that the embedded windows media player doesn't like it.
    This has been working for several years - I think this is some new behavior, though I can't identify what has changed, other than browser updates.
    Any ideas on what could be causing this? Am I missing something simple?

    Hi,
    Tools>Internet Options>Security tab, click "Reset all zones to default"
    Advanced tab of Internet Options>uncheck "Do not save encrypted files to disk"
    f12>Networking tab, click the Start button, navigate to your page and observer the response header and content.
    To determine if you page is being rendered in a x64 host (all IE versions and WaterFox, type
    navigator.platform in the IE Developer tools Console tab,
    Post questions about html, css and scripting for website development using MSIE browsers to the IE Web Development forum... WITH a link to your website.
    Rob^_^

  • Ds ftp with non standard port

    I need to send data to a FTP server. I tried to use the "FTP Put Buffer" VI, but most of the time, I get the error 66 (it works without error once in a while). I tried with the data socket functions and it works well. However, I dont seem to be able to use a port other than 21. I tried the following syntax:
            ftp://user:[email protected]:2222/file.txt[text]
    But the DS VI still uses port 21. Is it at all possible to use a different FTP port with the data socket VI?
    Message Edited by jfmorneau on 04-09-2008 04:05 PM
    Message Edited by jfmorneau on 04-09-2008 04:06 PM

    Hello JF,
    Thanks for your response!
    Datasocket VI:
    The following KnowledgeBase document indicates that FTP Control is assigned to Port 21, and that may be the reason that you are having issues using other ports.
    Which Port Numbers Can I Use with TCP and UDP?
    FTP VI:
    You mentioned that you get the error sometimes, but not always.  Could you provide some more details on this? 
    Are you able to ping the ftp server that you are trying to connect to without problems?  I suggest that you try other ftp servers as well and see if this error is specific to that particular server.  It isn't clear yet why you would be seeing this error even though the data appears to be transferred correctly. 
    Have a great day!
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Repair / Subcontracting with non standard mov types.

    Dear friends,
    I have copied mov type 541 to 941 , 542 to 942 and 543 to 943.
    When I post trhu MB1B .. with mov.type 941 , and receive it via MIGO with mov type 101 the system is determining the mov type 543 and not the 943 as we do need.
    Does anyone knows if I got to change this behavior ?
    This scenario is to use the same functionality of Subcontracting to repair materials. Other Ideas ?
    best regards,
    Ale

    Hi,
    Please go to the transaction code- ' OPKA ' and in the 'Parts Provided' column of the table replace 543 with 943 movement type for the movement type 101.Save your data and try again the process.
    Please note that, the standard Sub-contracting procedure (541-101(543)) will be impacted with this change.
    Regards,
    Narayana.

  • ITunes loses songs with non-standard English characters

    (I accidentally posted this on the iTunes for Mac forum. Same issue as described here:
    http://discussions.apple.com/thread.jspa?threadID=1593945
    Any help greatly appreciated.)
    I have just discovered that I have the same problem, however instead of changing the spelling, it has lost the files altogether. I cannot find them in the Music folder, and it only effects songs with different characters (ie. Sigur Ros, Jose Gonzalez, etc.).
    I have no idea where the files have gone. It is really annoying, as I have loads of music which is like this, which now seems to have disappeared (they ar estill listed in iTunes, but it cannot locate the file when I try to play).
    Please could you advise how I can resolve this issue?
    Thanks,
    Jules

    Anyone got any suggestions? Really irritating problem.

  • Minor screen drawing anomaly with non-standard page sizes in outline mode.

    When I use a page size of 5.5 x 8.5, and the window is larger than the page, the right edge of the page is drawn incorrectly. Instead of a small shadow at the right edge, there are black blotches. As far as I can tell, this only occurs in outline mode, only on the first page, only in sizes other than 8.5 x 11.
    Not a big deal, clearly, but someone ought to log it. Some memory somewhere is not getting written correction. This is easily reproducible.
    I'll post a screen shot somewhere if anyone wants to pursue this.

    It is fun to explore this question and I have tried to reproduce the problem, but my Pages09 behaves with "all" different page setups like A4, US Letter, half US Letter , US Legal. It would be nice to see the screen shots if it isn't to much trouble.
    Question - have updated iWorks with the update that came a while ago??

  • SCSM setup with non-standard SQL port

    Trying to install SCSM 2012R2 management server, and the SQL server I need to use is listening on port 5500 instead of the standard one.  For internal reasons I don't think I can change this.
    Is there a way to get the install to pick this up properly?
    Currently it doesn't find the instance at all...
    Thanks.
    No sig is a good sig

    Hi Andrew,
    unfortunately the ports from SCSM Management server (and DW) to the SQL server are not configurable, so it has to be TCP: 1433 
    http://technet.microsoft.com/en-us/library/hh495567.aspx
    Quote: "As part of your security infrastructure, you may want to keep track of port numbers that are used throughout your System Center 2012 – Service Manager environment. And while, in this release, these port numbers
    are not configurable"

  • How to run a Jar executable with non standard JVM memory settings

    Hi,
    I have a jar-executable that needs more memory than the JVM uses by default.
    The application works with:
    java -Xms128M -Xmx256M myapp
    How can the jar know that it need to start like this?
    I found a solution here http://forum.java.sun.com/thread.jsp?forum=32&thread=188484 , but i don't want to do this with a shortcut.
    Is there anyway to do this?
    Thanx in advance.

    Well i'll do that:
    public class launch
      public static String getJarPath()
        String path="";
        try
          StringTokenizer st = new StringTokenizer(System.getProperty( "java.class.path" ) ,System.getProperty( "path.separator" ) );
          String jarfile = "";
          while ( st.hasMoreTokens() )
            String token = st.nextToken();
            if ( token.indexOf("launch.jar") > -1 )
               jarfile = token;
               break;
          if ( jarfile.equals("") ) throw new Exception( "Jar not found in classpath" );
          path = jarfile.substring( 0 , jarfile.indexOf("launch.jar"));
       catch (Exception e)
        new AlertWin(e.toString());
       finally
        return path;
      public static void main(String[] args)
        try
          String path=launch.getJarPath();
          Runtime.getRuntime().exec("javaw -Xms128M -Xmx256M -jar " + path + "toBeExecuted.jar");
        catch(IOException e)
          new AlertWin(e.toString());
    }The launch.jar has to be in the same dir with the toBeExecuted.jar. (ofcourse that could change and the code is much simpler).

  • Alert with non-standard fontSize doesn't resize buttons

    //Okay, if you set these style changes in place:
    _global.styles.Alert.setStyle("backgroundColor", 0x9BCAE1);
    _global.styles.Alert.setStyle("fontWeight", "bold");
    _global.styles.Alert.setStyle("fontSize", 18);
    _global.styles.Alert.setStyle("color", 0x000000);
    //and then try to create an Alert
    var message:String = "Are you sure you want to clear the
    data from your schedule?";
    var title:String = "Confirm Deletion";
    var options:Number = (Alert.YES | Alert.CANCEL);
    Alert.show(message, title, options, this, clearHandler);
    // The Yes and Cancel buttons are too small for the contained
    text.
    // Is there a way to either make them bigger, or to not have
    the button fonts
    // be affected by the font-size change?
    // Also, anyone know how to change the background color of
    the title bar?

    // try this after style setup
    Alert.buttonHeight = 50;
    Alert.buttonWidth = 100;

Maybe you are looking for

  • How can I make unfinished tasks move to the next day in Reminders (as they did prior to Yosemite)?

    With Yosemite's updates, Reminders doesn't wrap unfinished tasks to the next day. Previously, if I didn't check off a task on one day, it wrapped to the next day. Now, they just stay on the original day, causing me to not see that I haven't finished

  • IDOC Response Message

    Hi,      My scenario is File to IDOC .. from the source I'm getting the data in a xml file and I'm loading it to SAP through IDOC.. scenario is working fine... but I want to send back the response message of IDOC posted successfully or if any Errors.

  • New Apple laptops, power cords and batteries

    Eventually, my parents' white MacBook is going to wear out and need to be replaced. I am keeping an eye on the discount deals for refurbished laptops on the Apple Store. I may also have to do some business traveling in the future, necessitating that

  • How to Drilldown to one Transaction

    Hi, I have listed one report using 'REUSE_ALV_GRID_DISPLAY'. In my report i want to allow when clicking the po number it will automatically take into PO transaction. in list we can use at line-selection. here how to do ?

  • Security code on credit card

    Why is my correct 3 digit security code on back of my relatively new credit card being rejected?