How can I set up a custom 404 error page on OSX Server?

I moved my web site to a local server and changed the structure drastically.  Unfortunately I am getting hits for information that was on the old server which I haven't put back yet.  I'd like to set up a custom 404 Error Page to let people know what's up.  In server.app I can set up a 500 error page but not a 404 and when I tried hand coding it into the sites .conf file I really messed things up.  It took me a while to get that all corrected!
Thanks for any advice,
Bill W

Found it!
Under the web server Advanced Setting set "Allow overrides using .htaccess" then create an .htaccess file in the root directory with the line:
ErrorDocument 404 notfounderror.html
Use whatever HTML/PHP/etc. document you have created.

Similar Messages

  • How can I set download restrictions on a web page ?

    how can I set download restrictions on a web page ?
    I mean: to make a web site with text and pictures but in a way that the visitors cannot download the pictures or text ?
    Is it possible ?
    Thanks

    Freeway allows you to inject code into the HTML of the page. Upload the movie file to a folder on your server and reference it in the code.
    <script src="http://www.domain.com/Folder-Name/QT-JS.js" language="javascript"> </script>
    <script language="javascript">
    QT_WriteOBJECT('http://www.domain.com/Folder-Name/Movie.mp4' , '640', '496', '', 'AUTOPLAY', 'false', 'CONTROLLER', 'true', 'VOLUME', '50', 'KIOSKMODE', 'true', 'SCALE', 'Aspect') ;
    </script>
    If you are going to go this route it would be better to use HTML5 with flash fallback to cover all browsers and devices...
    http://www.iwebformusicians.com/Website-Movie-Video/Easy-Movie-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/JW-Media-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/Fallback-To-Flash.html
    http://www.iwebformusicians.com/Website-Movie-Video/Flow-Player.html

  • How can I set a book to open full-page?

    I can't track the information I'm looking for, so I need to ask:
    How can I set a book to open full-page and not with the graphic table-of-contents? I'd like to lead in with a video (when the book is first launched), and have the video hand off to the copyright page, full page, not where the reader has to pick it from the graphical table of contents.
    Many thanks for your help!

    I'm a frequent user of the Reminders app but I want to set a reminder that will automatically open another app.
    Maybe I should make a suggestion to apple to include it in the next iOS update.

  • How can I set up my iphone as a pager when my sound is cut off?

    How can I set up my iphone as a pager when my sound is cut off?

    Nbt24vs wrote:
    I had a droid before that I used as a pager. I found an app that would allow me to tell my phone even if its in silence mode if I got a text from "??" whatever then beep/sound off anyway. Since there are so many more apps in the Apple world I cant beive there isnt an equivalant app.
    When the sound is muted, all notifications are muted. Because of the greater inherent security in iOS than Android, an app such as you describe is not possible. There are no apps that can selectively override the mute. App developers do not have access to those system functions.

  • Custom 404 Error page in Sharepoint Foundation 2013

    Hi all,
    How to point to the custom 404 error page in Share Point Foundation 2013. I have seen some links but not working for me. Please me let me know if you have any suggestion.
    Thanks.

    Can i create any page and pass the page url in it,like if i have created a page as custom404.aspx under pages library so do i need to do like this?
    $spsite = Get-SPSite "<http://sharepoint:1000/>"
    $spsite.FileNotFoundUrl = "<pages/custom404.aspx>"
    is this the correct way or i am doing incorrectly??
    please suggest

  • How can I set up printing to queues on a Windows 2008 server directly from the iPad apps and not from third-party applications without using AppleTalk or Bonjour?

    We have a Windows 2003/2008 server-based network with a dedicated print server which we would like to be able to print to over Wi-Fi.  How can I set up the printers on the iPad without downloading a third party application such as Print Central or Print N Share?  I want to just click the arrow and "Print" then choose the printer, which doesnt show up.  I want to be able to use the existing TCP/IP-based network that we have to reach these queues, not having to install Bonjour or AppleTalk to reach them.
    Thanks,
    KMQ7

    This would really be the "Holy Grail"   right now.  I think this a feature that every large organization requires. AirPrint works on a small scale, but is not really an enterprise class application.  In addition it uses the Bonjour discovery process which is difficult in a large LAN WAN environment.  For those that would remind me, I am aware of the enhancement link 

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How can I set information broadcasting (send Workbook with E-mail) in serv.

    FYI: I set a broadcasting schedule to send workbook with e-mail. The pre-calculated server was set already.
    How can I set information broadcasting (send Workbook via E-mail) when I cannot access enterprise portal ?

    Hi,
    Check this thread:
    Work book broadcasting
    Regards
    Pcrao.

  • Custom 404 error page only works 75% of the time

    I have made custom HTTP error pages for my app and they work for Mozilla, Opera and Firefox but IE seems to have its own personal 404 error page.
    Anyone know how to make IE work and play well with others and display the custom 404 page like the other 3 browsers do? I did clear the IE cache, twice.
    The environment is Tomcat 5.0.19 (stand-alone, no IIS) running on Window Server 2003 Enterprise
    Thanks for your help!
    Will

    You got to love microsoft products huh. Microsoft has turned on its friendly error pages. Unfortunately, to fix this, you have to have your clients modified their browser settings. Inside the IE browser, do the following:
    1. From menu choose tools->internet options
    2. Choose the advanced tab
    3. Uncheck the checkbox that says "Show friendly HTTP error messages"
    That will do it for ya.

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • CQ5 Multiple custom 404 error pages for multiple sites

    HI,
    I have multiple sites, and I would like to set up a different 404 page for each of my sites
    Someone already faced this problem? How I can accomplish this?
    Or there is a way to do via the dispatcher and create a static 404 error HTML page each time I publish a site?
    Thank You
    Adolfo

    Currently the most effective way to do what you're asking is to set up your 404.jsp to include the content of a site specific 404.
    There was a conversation about this here;
    http://dev.day.com/discussion-groups/content/lists/cq-google/2010-02/2010-02-11__day_commu nique_Sling_error_pages_zambak.html
    -jason

  • How can I set up a custom keyboard shortcut for volume control?

    Hi all,
    I use my black MacBook at work, connected to an external monitor and external keyboard. I'm looking for a way to set up the F buttons on my external keyboard as volume control, just as they do on my laptop keyboard. Looking for F3 to F5 to be volume mute, down, and up, respectively.
    I tried going into Keyboard Shortcuts in System Preferences but since there is no menu item for volume control I can't seem to add it. Anyone know how I can go about doing this or what I'm missing?
    Thanks
    Mike

    paste the following into Applescrpt Editor (it's in /Applications/Utilities)
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set curVolume to output volume of (get volume settings)
    -- work out the new setting
    if curVolume < 96 then
    set newVolume to curVolume + 5
    else
    -- can't go over 100
    set newVolume to 100
    end if
    -- and apply it
    set volume output volume newVolume</pre>
    this script will increase volume by 5 (out of 100) any time you run it. you can adjust this of course. save the script somewhere.
    You can use a 3rd part app launcher to bind a keyboard shortcut to it. I use Butler. there are many others: Quicksilver, ikeys, quickeys, Spark, Launchbar.
    this will work the fastest.
    If you don't want to use 3rd party tools for this you can make a service using automator but that might be a bit slower than the first option. open automator. it will give you a pulldown screen wiuth the choice of what you want to make. choose "service". set it to receive no input and be available in all applications. add the following "run apple script" action to the service
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on run {input, parameters}
    set curVolume to output volume of (get volume settings)
    -- work out the new setting
    if curVolume < 96 then
    set newVolume to curVolume + 5
    else
    -- can't go over 100
    set newVolume to 100
    end if
    -- and apply it
    set volume output volume newVolume
    end run</pre>
    save the service, go to keyboard system preferences->keyboard shortcuts->services and make a shortcut for the service you just created.

  • How can you set up a custom keyboard shortcut for Next Tab and Previous Tab?

    You can do this in Chrome because there is a top menu item for it, and OS X supports easily rebinding of keyboard shortcuts that are in the main menus.
    Is this possible in Firefox? Using a two handed shortcut to switch tabs is annoying when you want to keep one hand on the mouse!
    Thanks!

    Keyboard shortcuts
    * https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts
    -> Next Tab
    * Ctrl + Tab
    * Ctrl + Page Down
    -> Previous Tab
    * Ctrl + Shift + Tab
    * Ctrl + Page Up
    Check and tell if its working.

  • How to create customized 404 error page in iplanet 6.1?

    Hi,
    i need to display custmozed 404 page when my applilcation server(weblogic 9.2) is not available or down.
    How i can do this in iplanet??
    Any idea would be helpful.. Thank you,
    ---Praveen Reddy J

    Error fn="send-error" reason="Not Found" path="$docroot/custom404.html
    This is what we have in obj.conf on sun one 6.1 if that helps ..
    Now that u have brought this .. has any body tried putting a .jsp instead of .html .. for me it just shows the code of jsp :(

  • How can I set my date and time to ebay network time server?

    In the system preferences I would like to set the date and time to ebay UK time?
    I thought a quick google would be bring up the server and I can't find it.
    At the bottom of every ebay page there is a link to official ebay time
    But its not a live feed of time to get it to the second.
    I want it to be accurate so that I can use applescript to snipe bargins.
    Many Thanks
    Matt

    Just trying to go along the free route. I found Garage Buy   This doesn't work to well but lets you create an applescript and enters the auction into ical. Then you can set ical to run the script once it gets closer to the time.
    Ical only lets you set a time of a minute before the date. So you have to edit the script to add a Delay 59 to have it run 1 second before. From a few refreshes of the time page it looks like ebay time is a second behind, that could be easily be due to time to load the page. anyway i'll opt for a delay of 57secs and give that a try.

Maybe you are looking for

  • Suggestion about Report Generation Toolkit

    I'm adding report generation capabilities to a labview product test application.  The report will be 2-4 pages long with text and plots.  For other applications, I've used Word Templates in the past using VBA and Visual Basis 6.   I had been planning

  • How can you open an ipad mini if its says the password is wrong?

    how do u get in to reset the password on a new ipad mini?

  • Maintain Subscreen for Coding Block

    Dear Guys I have a requirement to create a subscreen for a FI transaction. I know that this can be done using OXK1. I have already created a subscreen. But I want to know that how can I link that subscreen with a particular Transaction. e.g I have ma

  • Decimal in routing unit of measure conversion

    Hi SAPper, I have an error from SAP when creating routing. Actual my routing consist of several operations Header Routing for finish good UoM = BOX 10 Spray Drying UoM KG 20 Press UoM BOX 30 Firing UoM BOX 40 Packing UoM BOX the problem is we must en

  • How to use CE?

    Hi Experts,     I have a requirement as explained below.    AS-IS:    In ECC, when a  new reservation is created via MB21 transaction, a MRESCR Idoc is triggered and sent to third party end user via XI.    ECC ---> XI --> Third Party End User To-BE: