How can I throw a hard 404 error to apache when a JSP is not found.

How can I throw a hard 404 error to apache when a JSP is not found.
I want to let apache handle the error.

[email protected] (Jeremy Conner) wrote in
          <[email protected]>:
          >How can I throw a hard 404 error to apache when a JSP is not found.
          >I want to let apache handle the error.
          >
          >
          First thought that comes to mind is to return HTML that tells the browser
          redirect to a nonexistent file under Apache. You can't tell Apache to
          throw a 404 unless you're in a mod. Maybe something they could add to the
          proxy, but until then, I think a redirection in the response HTML is your
          only option.
          Jesse
          

Similar Messages

  • How can I run graphic object on report. ( I got REP-1246 Chart not found)

    Hi All,
    I made a report that consists a chart object. When I run it on report builder, it works well. But When I call the report from client side, I got "Rep-1246 Char Document not found" . I tried to solve it , I couldn't solve the problem . If I delete chart object from report , then report works well on client side. I didn't use graphics builder to create graphs I used only report builder to do it. I read the threads about it , but I couldn't find the solution. All solutions are about path of graphic file. I don't understand it. Because I only have *.rdf *.rep file. There is no any graph file in my system. I can create it in graphic builder but I don't know how can I deploy the graph object into report layout and run ?
    I need urgent help ..
    Thanks in advice
    Suleyman

    Hi again , I used developer 2000. In order to show graphic object on report firstly
    I created my graphic object on oracle graph builder.After that I save it like mygraph.OGD . Then I added graphic object on report builder by using graphic object on report builder. When you click the graphic object you will see CHART FILENAME part in part of CHART. In this field , you should add graphic file path that you created on graphic builder. I added mygraph.OGD into this filename part. I worked well.
    Good LUck !

  • How can I prevent a memory flow error from occuring when using 3D contour plots?

    After displaying a single contour plot a number of times, LabVIEW crashes and reports a memory overflow error.  I only load a single 2D array, never storing previouls ones. I always index the data for contour plot 0, and don't explicitly store multiple 2D arrays in any buffer, such as appending data to a shift register.  There appears to be some sort of memory leak in LV when using this feature.  Is there a programatic way to flush the stored data in a contour plot prior to displaying the next 2D array of data?

    Hello MicTomReiSr,
    Is this in the LabVIEW development environment?  Are you making changes to the code and then running the VI?  Does the plot contain default data? Is the indicator cleared when the program stops?  The Plot Clean Data method may be what you're looking for.
    Remember that the development environment maintains an undo history of the changes you've made, and copies both the block diagram and FP contents each time.  If you have a lot of data displayed on the front panel you end up copying it multiple times.  This isn't a problem unless you're actively editing the VI in question.
    If you do need to edit and run the VI at the same time (perfectly reasonable, although you might want to consider a 64-bit installation or more RAM if you commonly work with resource-intensive data types like 3D plots) try reducing the Undo history length (Tools>>Options), although be aware that you won't be able to back up as many steps.
    Regards,
    Tom L.

  • I Rented a movie in apple TV How can see this movie in ipad and macbook? When I open itunes not appear any movie

    I don´t know why rentend movie on Apple TV not show on itunes in my other item with the same icloud account 

    "If you rented the movie on your iOS device or Apple TV, you can’t move it to any other device."
    FAQs about renting movies from the iTunes Store - Apple ...

  • How can I purchase even just the one month plan when the survey is NOT available in my country?

    The product is not available in my country, and I really need it for a study I'm conducting...
    Can you make this available in my country? or just me?
    Any ideas where I can post surveys for free?

    What country are you in?
    This is the list of supported countries:
    http://forums.adobe.com/docs/DOC-1375
    In order to purchase you need a credit card with a billing address in one of these countries.
    Randy

  • How can i fix my data connection on iPhone 4s when it tells me "not available" under carrier??

    for some reason, my iphone says "not available" under carrier in settings. Anyone know why??

    please tell me what u think can be the problem and the solution

  • HTTP 404 Error on Apache, behind ACE 4710

    Hello All,
    I am having a difficulty loadbalancing my web servers.
    I have the ACE appliance setup and the real servers area all setup and running (IIS 6.0 with Apache Tomcat 4.1.8). I need to load balance these web servers, but at intervals requests for server pages get returned with the HTTP: 404 Error from Apache., when I check my ports (80, 8080), from my Virtual Server -VIP, The services are all running. Any clues why I keep getting this Apache error so often ..?

    I've my application public. When user enter https://mySite.org then it should automatically take him/her to https://mySite.org/apex401/f?p=MYAPP:HOME_.
    I'm using OHS and below is the configuration in my dads.conf file:
    <Location /apex401>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlDatabaseConnectString myApex.in01.qwer.org:1689:DEMOTEST ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P15
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage htmldb
    PlsqlDatabasePassword ******************************
    Allow from all
    </Location>
    And I tried to add below in my httpd.conf:
    <VirtualHost *:80>
    ServerName mySite.org
    DocumentRoot <<document root directory path>>
    #ErrorDocument 404 http://stage.purduehcp.com/
    #Redirect permanent /index.html http://stage.purduehcp.com/hcpportal/f?p=HCP:HOME
    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^((.*&)?)p=([0-9]+):(.+)$
    # Redirect to app when hitting the URL
    RewriteRule ^/$ /apex401/f?p=MY_APP:HOME [NE,R=302,L]
    </VirtualHost>
    Can anyone please advice on where I might have gone wrong?

  • How can I increase the hard limit of the stack size?

    Hi,
    My process gives an error of segmentation fault (SIGSEGV) that is caused because the stack limit is reached. I have a doubt about how to increase the stack size. I have tried change it with "ulimit - hard" but this size is 65532kb, and is very low for my process. How can I increase the hard limit?
    Thanks.

    When last I checked, the kernel had a fixed stack size limit.
    Do you have the source code to this application? If so, [see this Tiger stack size article|http://homepage.mac.com/eric.c/hpc/contents/documentation/How%20to%20in crease%20the%20stack%20size%20on%20Mac%20OS%20X.pdf], and specifically have a look at the +ld -stack_size+ mechanism; rebuild the code with a bigger limit.
    Entirely FWIW, this question would be more typical over in the developer forums or maybe in the Unix forum if you don't have Apple developer access. Better audience for application development and for software-related questions over there.

  • How can I remove the hard drive from an iMac g4 before recycling it?

    How can I remove the hard drive from an iMac g4 before recycling it?

    There are take-apart guides online.  For example
    http://www.xlr8yourmac.com/systems/imac_g4/imacg4_takeapart.html
    However, you can also consider securely erasing the hard drive instead.  You can do this using a Mac OS X installation disc with a version that your iMac G4 can boot from the optical drive.  If this is a viable option, please post back (include Mac OS X version on installation disc).

  • How Can I Fix A QuickTime Codec Error?

    How Can I Fix A QuickTime Codec Error?
    I have several movies from 2008 that are labeled as .mov but I now get a QuickTime error saying "The document "XXXXXX" could not be opened. A required Codec isn't available."
    These movies ran in QuickTime just fine until about a month ago.
    All the folders in which these movies were stored in 4 folders in 2 folders in one folder. All folders at each level were encrypted with Stuffit Deluxe a version circa 2008 and decrypted with a newer Stuffit Deluxe 10.x. Other movies that are NOT .mov and in with the .mov movies still run.
    If I click on the Thumbnail Preview "It" runs.
    How can I fix this?
    TOP image is the Error message.
    BOTTOM image is the Thumbnail Preview info.
    I've checked out "Tell Me More" and have not found a solution.

    How Can I Fix A QuickTime Codec Error?
    The basic work flow is to determine which codecs were used to create the non-playing file and then check to see if these formats are supported by your current system codec component configuration.
    If the files will open in one of the QT player app, the open the inspector window to see which codecs were used to create the original file as seen here...
    or here in the "Format" entry...
    Or, if you have QT 7 keyed for "Pro" use, you can open the "Properties" window to gain even more information as demonstrated here...
    if you file will not open in either of the QT Player apps, then you can try opening the Finder "Get Info" window for the file,
    use a third-party media player that will open the file, or
    use a dedicated media information utility to learn this information....
    Once you know what codecs were used to create the file, post back with this information so we can deterine if the file should be natively supported by your Mac OS X install, requires an Apple Pro editing codec normally installed by the editor app, or requires a third-party codec which the user must supply.
    These movies ran in QuickTime just fine until about a month ago.
    All the folders in which these movies were stored in 4 folders in 2 folders in one folder. All folders at each level were encrypted with Stuffit Deluxe a version circa 2008 and decrypted with a newer Stuffit Deluxe 10.x. Other movies that are NOT .mov and in with the .mov movies still run.
    Your information does not indicate whether or not the files actually played on the current system or were transferred from a different system which was properly configured for playbac, whether or not you recently upgraded your operating system/modified your codec component configuration by adding or deleting any codecs, whether your compound "Stuffing" of the files created corruption, etc.
    As to MOV files the selves, this extension just implies the data was placed in the QT generic file container and the actually data could be of any compression format thathat was compatible with the codec component configuration for the system on which the files were created and could include natively supported system codecs, pro editing codecs, and/or third-party proprietary or hybrid codecs. (I.e., this is why we may need more information regarding the individual non-playing files.)
    If I click on the Thumbnail Preview "It" runs.
    f you are referring to QuickLook (QL) then the technology is different than QuickTime (QT). In the former case, the system is playing representative data but not actually opening the file as QT does. Thus, there is always the possibility that the problem is in the file structure (atom) information. For instance, suppose someone merely changed the MOV file extension in the Finder rather than actually copying data to a real MOV file container. Then it is possible that the QT player app may be searching for a codec that is not supposed or expected to be supported in the MOV file container and, not finding it, issues the erroneous codec error message—especially since you did not inticate the source of the file you are trying to play or, in some cases, which QT player is now not playing the file.
    In short, there are several possibilities here and not enough specific information.

  • How can I Replace a Hard Drive on a 160gb iPod Classic?

    How can I Replace a Hard Drive on a 160gb iPod Classic? I am considering buying an iPod Classic off of eBay which is described as 'broken' and having the 'Red X' showing up on the screen. The seller is starting the bid at a very low price, which raises some concerns for me. For this thread, let us assume that the iPod has a broken hard drive that needs to be replaced in order to function properly. I am assuming that merely 'restoring' it would not suffice. How would I be able to replace the hard drive myself, without bringing it in to a store? I have never fixed an iPod's hardware before, nor a computer or any electrical device. I am a novice at such things. Would I be able to fix it myself without wasting money on a broken iPod and new hard drive? Please provide instructions on how to do so =)

    Hello there,
    Yes, the red X icon is usually a sign of a bad or damaged hard drive. Sometimes, restoring the iPod will resolve the issue, but rarely. Other users were able to smack the ipod against the side of their leg and gain back full functionality of the iPod.
    However, if no such luck with either, your next option would be to replace the drive. For this task, you can either opt to repair and replace the hard drive yourself, or opt to send it into a third party repair business to do the job for you.
    I use the guides at [www.ifixit.com|http://www.ifixit.com> to help me replace broken parts on an iPod. These guides provide excellent step-by-step instructions as well as photos on how to repair any part from an iPod.
    Some other good sites for purchasing repair parts include the following:
    [iDemiGods|http://www.idemigods.com>
    [RapidRepair|http://www.rapidrepair.com>
    [iResq|http://www.iresq.com>
    Lastly, I would also like to remind you that ebay also has several great deals on excellent iPod replacement parts. It's where I purchase a majority of mine.
    Hope this helps.
    B-rock

  • How can I put a hard drive icon on desktop?

    how can I put a hard drive icon on desktop?

    Click on the Desktop. Select Preferences from the Finder's menu. Click on the General icon in the toolbar. Check the appropriate boxes.

  • Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    what format your iomega HD is it NTFS , if NTFS try download   http://www.apple.com/downloads/macosx/system_disk_utilities/ntfs3g.html

  • How can I clean my hard drive?

    Hello everyone,
    My macbook is now four years old and the last wipe is a while ago. My hard drive is quite ful and I don't really know what I can delete and what not. There's also 26 GB in Movies which don't appear nowhere. I really would like to get rid of them but don' know how. So, is there an application like CleanMyMac that is of any use or how can I wipe the hard drive myself (after I saved all my data)?
    Thank you for your help,
    Julia

    I made my partition and am currently reinstalling mountain lion to put on my flash drive. I'm using Lion disk maker 2 thats compatible with mountain lion. I'm doing it right, correct?

  • How can I add the hard drive icon to the menu bar on a MBPr

    How can I add the hard drive icon to the menu bar on a MBPr?  I have downloaded Google Earth and it wants me to drag it to the hard drive for install. I was able to display the icon but now I would like to put it on the menu bar. Is this possible? Or can I add it to the hardware section under system preferences?
    I'm a new Apple user, coming out of the dark ages of a lifetime in the PC Windows world.
    Thanks

    It's on your Desktop, is it not? You cannot put it on the menubar through OS X although you may find third-party utilities that will. If you want it on the Desktop:
    Select Preferences from the Finder's Finder menu and check the desired boxes:
    Click on the Sidebar icon in the toolbar to set what you want displayed in the Sidebar.

Maybe you are looking for

  • Driver Class name and JDBC URL Format

    Hi, I'm trying to use the oracle jdbc driver to connect to an (what a surprise) oracle database. I need a 'driver class name' and the JDBC URL Format. But I cannot find these anywhere. Can anyone help me out here? Regards, Laurens

  • ALV download to Excel--Problem with Column Headers

    Hi, I have created a dynamic internal table and displaying it as ALV using SALV classes. Problem is that  when I download this ALV to Excel I'm not getting Column headings same as they are in ALV display. I mean in Excel it is showing Column headings

  • Acrobat X Pro: Save As failed to process this document. No file was created.

    Hi All, Hope you all can help me on this as I keep getting error whenever I want to save as word/excel. Have not really try out the others option. I have tried to reinstall the whole Acrobat X Pro, but the issue is not fixed. Hope some kind person ca

  • Transfer past purchases to new account

    Hi, I currently live in Germany and will be moving in 1 year to the U.K. I will be opening a new itunes account when Im there but will I be able to transfer all of my previous purchases I made in Germany to my new U.K. account?

  • Naming Conventions and Development Standards'

    Hi all, I am developing a project in OWB. Could any one give me 'OWB Naming Conventions and Development Standards' document. Thanks