404 Error ONLY on localhost

I setup my Mac Pro to be my personal web server (running Mountain Lion and the Server app), and I am using DynDNS so my domain name (mitchsprogress.org) points to my desktop. It works fine from every network except when I go to access it locally, it gives me this 404 Error, I have tried various things to fix it but am still unable to resolve it, can someone please help me?

I am presuming you are using a Router and getting your local IP Address through DHCP (or you have assigned a local IP Address to your Server). Your Router is set to do Port Forwarding to your Server's local IP Address.
To test locally, your local DNS server needs to lookup directly to your local IP Address. You can use Network Utility "Lookup" function to check this, and check both forward (name-> IP) and reverse (IP->name) lookup. Then the DNS strings on you local nodes need to pointy FIRST to your local DNS Server, which then points on to an Internet-based DNS Server such as your ISP's DNS Server to OpenDNS.
My DHCP is set to pass out addresses starting at 192.168.0.101
mydomain.com looks up to 192.168.0.12, the Server Address. (also where the DNS Server lives).
My local DNS Server forward and backward looks up to that address.
My local Workstations all use 192.168.0.12 as their first DNS Address, then forward to Open DNS at 208.67.222.222 and 208.67 220.220
If you are not using DHCP, you need to be using a FireWall of some description. And you need to open the ports in that firewall to allow your web traffic to come in.

Similar Messages

  • 404-Errors when accessing servlets with accented characters or umlauts as a parameter

    When accessing the following url
    http://test.sdm.de:8080/servlets/testservlet?la=Constitucion
    , the servlet works quite well and produces the desired response.
    The accented character is recieved by the servlet, and can be processed and displayed.
    But after once sending a request containing an accented character or an umlaut as parameter, all following requests result in 404-Errors (Only in IE, the Netscape seems to automatically encode all problematic characters).
    The problem occurs only if the accented character is in the (action-)url. Passing it by a textfield works quite fine.
    Has anyone any idea how to fix this?
    Thank you

    Hi,
    please can you explain me in wich config-file is neccesary make the changes?
    I'm working with Linux and I have the same problem. In Windows it's ok.
    Thank's a lot.

  • On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. Yahoo was absouletly no help whatsoever; can you solve the mystery? Thanks

    On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. I tried uninstalling and reinstalling FF; no change. Yahoo was absolutely no help whatsoever; can you solve the mystery? Thanks

    HI Emmet,
    thanks so much for your posts back. I really appreciate it and yes that does help to know that you could not get it working.
    I did have some success, in removing the SSL Authentication checkbox in the smtp server settings - I found that this allowed my friend to be able to send mail from the mail app via his sbcglobal (yahoo) account.
    So that did help but of course the messages do not have ssl encryption and I'm not sure how big a deal that is for an individual. He is able to receive mail but unless the SSL authentication box is unchecked, he cannot send.
    i hope that helps anyone out there also!
    Thanks also for the tip about sparrow - yes I have heard of it and it is very popular, he may end up using that in the end.    
    Thanks again, much appreciated.
    Felix    

  • 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.

  • Google searches produce no results, only a blank page w 404 error messages

    When turning on computer I can get a search result list, but clicking anywhere leads to blank 404 error page. Future searches do not even produce a search result, just the blank 404. Curiously, the links (when I can get them) can be opened for viewing via the Cool Iris frame. I have 2006 HP w windows XP. Problem occurred week ago after I clicked a Google search link to some PDF green fact sheet (Cal Berkeley) which was preceded by a large 75% screen grey box which could NOT be shut. I tried control panel & document search features to locate & remove, unsuccessfully. However, hours later that box finally disappeared, but I haven't been able to use Google since?!

    Good day.
    Can try the steps in this document?
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay?javax.portlet.begCache...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Say "Thanks" by clicking the thumbs up in the post that helped you.

  • Can't connect PHP/MySQL 404 error

    Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    I'm at this step:
    Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
    In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
    Type connTest as the connection name.
    For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
    For the User Name, type phptestuser.
    Type the password you chose for the phptestuser account in the Password field.
    For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
    Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
    Double-check the server name, user name, and password.
    Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
    Verify that the web and MySQL servers are both running.
    Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
    Click OK. The new connection appears in the Databases panel.
    Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
    As far as I can tell I have followed this tutorial to the letter.
    As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
    The suggested problems on the 404 message are:
    1. There is no testing server running on the server machine.
    Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
    2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
    Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
    Everything in local files is looking good.
    Thanks for your help!
    PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!

    Bgupta, you rock!
    I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
    This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
    Fixed!

  • OBIEE 10.1.3.2 version : 404 error when presentation services started

    Hi ,
    Installed OBIEE 10.1.3.2 in windows 7 in compatilibily mode
    And the BI server and presentation services started.
    then started the ocj4 instance and then started the presentation services but it resulted in a 404 error webpage instead of answers.
    Page referred is :
    http://user-pc:9704/analytics
    Normally its a localhost is what I see but this is different.
    Please guide me in identifying what went wrong
    Thanks,
    Karthik M

    I have the identical error message.
    It is definitely a bug. If anyone can prove me wrong, I'd be interested to hear.
    It comes up under certain scenarios.
    I have four metrics:
    "Sales" from sales table. Normal Summing Aggregation.
    "Markdown" from markdown table. Normal Summing Aggregation.
    "Test Metric" from inventory table. Normal Summing Aggregation.
    "Stock on Hand" from inventory table. Dimensional summing. LAST for time. Sum for all Other dimensions. (You don't add up the stock on hand for each day during the month, you look at your final position)
    I can do anything with the first three metrics and never see the error message.
    If I try to create a report:
    Product, Time, Stock on Hand, Sales, Markdown
    Then I see the error message.
    I can force the error to disapear by doing either of the following:
    A) If I move the Stock on Hand to the right so the report is:
    Product, Time, Sales, Markdown, Stock on Hand
    B) If I put "Test metric" anywhere on the report, then I no longer see the error message.
    There is a bug with the LAST aggregation function. I think the LAST time function would be a similiar sort of logic to YTD, AGO, etc... as noted above.
    Given from what I've seen, the only temporary workaround seems to be to add an extra metric to the report or to move certain metrics to the right side.

  • Cant start EM - 404 error - this problem is gone, but I have a new problem

    I installed Oracle XE, weblogic server, SOA, did all configuration by following Oracle's doc. When creating domain, selected:
    oracle soa suite,
    oracle enterprise manager,
    oracle business activity monitoring, oracle service bus.
    The weblogic console started fine. However I cannot start EM (http://localhost:7001/em). Always got 404 error.
    I had the above problem yesterday, today the EM works fine :) However, the SOA node is missing on the left pane. I only seethe following 3 nodes under farm_base_domain:
    1. Application deployments
    2. Weblogic Domain
    3. Meta data repository
    On the Oracle SOA suite 11g tutorial, there should be one more node: SOA
    How could I get the SOA node back?
    Edited by: VictoriaGirl on Jul 12, 2011 10:10 AM

    I wish I could help, I just went through the same thing. The only thing I was able to do was sync it with itoons and it re-downloaded all the apps that we're on itoons... If the games are anything like most of mine I was able to "teather" them and then All I had to do was go back to the game and from the start it asked if I already had an account and it had me certify who I was and I got all my stuff back... Hope that helps... Probably not tho... The upgrade from 3GS to 4s is painfull and time consuming!

  • Http Statust 404 error

    Hi,
    I placed HelloWorld.java file in $CATALINA_HOME/webapps/ServletExample/WEB-INF/classes.
    I compiled and called as : http://localhost:8080/ServletExample/servlet/HelloWorld.
    It give Http Statust 404 error.
    Tomcat sample servlets are working fine.
    I uncommented <servlet> and <servlet-mapping> maping code blocks too...
    But still i am geting the same error..
    Please help me to sort this out
    Regrads
    Venkky

    in the web-inf there wil be web.xml file..append ur class here and give a url pattern
    u can call the servlet by this url only
    regards
    shanu

  • 404 Error (not found) for webfragment when running from OEPE (split source)

    For a large project, we are developing several JSF modules as JARs which then become packaged inside a single WARs WEB-INF/lib, which in turn will be the only substantial part of an EAR.
    When I build with maven / run from command line, everything works fine.
    But when I run from OEPE using the split source structure (actually also when I run from command-line using the split source structure that OEPE has generated), all the JSF in the JARs are not found anymore, and I get a 404 Error in the browser.
    I can reproduce the problem with a minimal set of almost-empty Eclipse projects (one WebFragment, one WAR, and an autogenerated EAR).
    (too bad I can't attach it here)
    The generated .beabuild.txt is as follows:
    C\:/workspaces/weblogicear/WebFragmentWAR/WebContent = WebFragmentWAR.war
    C\:/workspaces/weblogicear/WebFragmentWAR/build/weboutput = WebFragmentWAR.war
    C\:/workspaces/weblogicear/WebFragmentWAR/build/classes = WebFragmentWAR.war/WEB-INF/classes
    C\:/workspaces/weblogicear/WebFragment/bin = WebFragmentWAR.war/WEB-INF/lib/WebFragment.jar
    Under WebFragment/bin/META-INF/resources I have an index.xhtml, which is not found by Weblogic's implementation of ExternalContext.
    See also this thread (without answer): When web apps/war published via OEPE I get '404 Not found' on access I don't know if the original poster had the same problem. I tried to reply there, but my reply doesn't show up.

    > The Testing Server Folder is:
    D:\Inetpub\wwwroot\Zero-ten\www\
    > The URL prefix is:
    http://localhost/zero-ten/www/
    > Is that the problem?
    In the testing server folder you have a CAP Z
    in the URL prefix you don't have a cap.
    Also, would need to know more about your testing server
    (what type) if there are additional problems.

  • Issue with OWA (404 error)

    Issue with OWA (404 error)
    From the server itself i can use IPv6 https://[fe80::feef:ff56:c498:1f0]/owa - this opens the mailbox.
    https://127.0.0.1/owa - this opens the mailbox
    https://localhost/owa - this results in 404 - File or directory not found
    using https://servername/owa - this results in 404 - file or directory not found
    using https://192.168.10.10 - this results in 404 - file or directory not found
    is this an issue with IIS bindings?
    thanks in advance

    Hi,
    I think you can check the authentication settings in IIS for exchange virtual directories.
    Thanks,
    James

  • 404 Error when opening Web Analysis

    I have just finished setting up a System 9 test environment (my first environment), which includes Reporting and Analysis System 9 release 9.3.1.2.00. Unfortunately, I'm having trouble getting Web Analysis to open. When I go to the URL (http://localhost:16000/WebAnalysis/WebAnalysis.jsp), I get the following 404 Error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.5 404 Not Found+
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    The strange thing is, if I open up Workspace on the same server (http://localhost:19000/workspace/), it comes up just fine. I'm very new to Hyperion System 9, so I'm not even sure where to begin. I've already stopped/restarted all of the services and rebooted the servers. I've also tried re-running the Configuration Utility to re-deploy the application server and re-configure the web server, but that didn't fix it either. And for what it's worth, I've tried using the actual server name in the URL instead of 'localhost' and I get the same error. I also tried launching Web Analysis from Workspace -- same error.
    Can you provide any suggestions on where I can start to look?

    I don't know what the cause of the problem was, but a reinstall of Reporting and Analysis - System 9 UI Services (Web Analysis) fixed it.
    Edited by: user10770144 on Apr 21, 2009 1:49 PM

  • Not able to run my first Servlet..... 404 error!!!

    Hi,
    I am new to Java.
    I am trying to create a small servlet application. I am using Tomcat 5.5 server and eclipse for this.
    I have first writtern a HTML form which on submission is redirected to a servlet that displays the information submitted. but i am not able to evn open the html file through browser, i am getting 404 error.
    My html codes and Servlet codes are inside the htmlform package...
    When i type http://localhost:8080/htmlform/form.html i am gettig 404 error... Also let me know if any thing is wrong with the codes...
    Here is my code...
    form.html
    <html>
    <head>
    <title> This is a HTML page </title>
    </head>
    <body>
    <p><h3>This page displays a submission form</h3></p>
    <form method="GET" action="/htmlform/LoginServlet">
    <p> USERNAME: <input type="text" name="username"/> </p>
    <p> PASSWORD: <input type="password" name="password" /> </p>
    <p> <input type="submit" value="Press Me" name="submit"/> </p>
    </form>
    </body>
    </html>
    LoginServlet.java
    package htmlform;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class LoginServlet extends HttpServlet{
         private static final long serialVersionUID = 1L;
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter pw = response.getWriter();
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    pw.println("<html><head><title>This is the out put page</title></head");
    pw.println("<body><h2>If you can see this page then your form is cleanly processed</h2><br>");
    pw.println("<h2>Congratulations!!!</h2>");
    pw.println("<p>Your user name is: "+ username+ "</p>");
    pw.println("<p>Your password is: "+ password + "</p>");
    pw.println("<br></body></html>");
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd"> -->
    <web-app>
    <servlet>
    <servlet-name>Login</servlet-name>
    <servlet-class>LoginServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/login</url-pattern>
    </servlet-mapping>
    </web-app>
    Thanks in advance

    you might have other problems, but I think the action attribute in your HTML form is incorrect.
    You have:
    <form method="GET" action="/htmlform/LoginServlet">Your web.xml says:
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/login</url-pattern>
    </servlet-mapping>So I think you should change the action like this:
    <form method="GET" action="/htmlform/login">Your servlet's not in a package, and you might not be deploying it correctly (god forbid you added this to /ROOT), but try that first.
    %

  • 404 error when hit submit from php file for requested path E:\vise\jqproject\web\errorpages\403_error.htm

    I have a php script that when I hit submit, it submits the form to another php file with a get command.  This worked about a month ago, but this month it's having issues.  This is what the relevant code looks like in the table php file. Running
    table.php shows the table in the browser and has 404 errors when I hit submit.
    table.php:
        <body>  
            <h1> Visual Evaluation Entry Table </h1>
            <form method="get" action="visEupload.php">
        <table id="bigTable" border="1">
            <thead>
             <tr>
               <!--<th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>-->
             <th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>
             </tr>
            </thead>
            <tbody>
                <tr name="MCBands" id="9214">
                    <!--<td><input name="Yevaluation" ></td>  //Row 0 Column 1-->
                    <!--<td><input name="Mevaluation" ></td>  //Row 0 Column 2-->
                    <!--<td><input name="Cevaluation" ></td>  //Row 0 Column 3-->
                    <!--<td><input name="Kevaluation" ></td>  //Row 0 Column 4-->
                    <!--<td><input name="comment" ></td>  //Row 0 Column 4-->
                    <td><input name="bandY" ></td>  <!--//Row 0 Column 1-->
                    <td><input name="bandM" ></td> <!-- //Row 0 Column 2-->
                    <td><input name="bandC" ></td> <!-- //Row 0 Column 3-->
                    <td><input name="bandK" ></td><!--  //Row 0 Column 4-->
                    <td><input name="comment" ></td>
                </tr>
            </tbody>
        </table>
          <input id="submit" type="submit" class="list" name="submit" value="Submit To Database" >  
           <!--maybe move all php part to other file-->
           </form>
        </body>
    The server is mapped so when we run it off of the server, we use the server ip address and my file name and skip the rest of the path, which works fine with the table.php file, so that mapping appears correct.  When I run it off of the server (from my
    desk) and hit submit it gives me a 404 file or directory not found.  When I run it locally on the server, it's saying it can't find the file name, but it says the requested url is `http://localhost:80/errorpages/403_error.html.`  Physical path: E:\vise\jqproject\web\errorpages\403_error.html. 
    The error message says the notification is from the MapRequestHandler of Module IIS Web Core. I'm not sure why the requested url/path isn't referring to visEupload.php.
    (Running on the server) When I change the action in the table.php get to include the IP address, it's behaving weirdly:
    Module IIS Web Core Notification MapRequestHandler Handler PHP53_via_FastCGI, Requested URL `
        http://localhost:80/13.141.xxx.xx/visEupload.php?bandy=xx&bandM=xx&bandc=hj&bandk=xx&comment=xx&submit=submit+to+database
    physical path shows as E:\visE\jqproject\web\13.141.xxx.xx\visEupload.php
    Login Method and user Anonymous.
    When I change the url to just be
        localhost/viseUpload.php
    it's getting HTTP Error 404 not found.  Any ideas why it's not finding the visEupload.php file?  It has the correct .php extension.  In file properties it's a type php file with name visEupload.php.  
    I took a look at
    [404 error][1] but I see my "allowUnlisted="true" in applicationHost.config. I'm not using sitefinity, though. 
    I'm not sure if something got over-written when we did a server windows update.  
    I know we were having a problem with get and post a couple months ago and we had to add them to the IIS Manager Handler Mappings somewhere, but don't remember where we added them to check.  Since I tried directly accessing the visEupload.php without any
    get (and commented out get code in the file) it should have worked if that was the issue.
    We are running server 2008 R2 and I'm not sure which version of IIS it is.
    In case it matters, this is the contents of the visEupload.php:
        <!DOCTYPE html>
        <html lang="en" >
        <head>
        <meta charset="utf-8" />
            <title>Big Table</title>
        </head>
        <body>
        <?php
            require_once( "../classes/class.OLAPdatabase.php");
            require_once( "../common/Session.php");
            $OLAPdb = new OLAPdatabase;
              handling of the get part is commented out
           ?>
        </body>
    All I can think of is that when I access visEupload.php it's running from the get/action in table.php.  This might be a different user running in the system.  I tried changing visEupload.php file properties to have full control for IUSR and Internet
    Guest Account.  It already has full control for System, and me.  Users have read & exeture and read permissions. Or maybe it's something that has to do with how the directory is mapped out.  I'm not sure what could be affecting this, and
    why the message said it can't find the path to 403_error.html.
      [1]: http://www.sitefinity.com/developer-network/forums/bugs-issues-/server-error-404---file-or-directory-not-found
    Michele Cleary

    Hello,
    for IIS question better ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • 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
              

Maybe you are looking for