Coldfusion mx 7.0.2 - 404 errors

i just installed coldfusion mx 7.0.2 on a centos (linux rhel
basically) server. everything seems to be going pretty well, i can
access the coldfusion administrator from the internal web server on
port 8500, i can access the administrator using symlinks by using a
configured connector on port 80 as i need to ... my problem comes
when i am working with virtual hosts.
if i am working on one of my domain names, say that has its
web root in /home/isom/public_html i cannot get coldfusion to load
http://www.domain.com/index.cfm.
it tells me file not found. of course, in the public_html folder,
there is an index.cfm...there is no application.cfm, the index.cfm
template is not cfincluding anything else...its just a test file
with very basic output in it.
i created a symlink to where CFIDE is in
/home/isom/public_html, and i can access
http://www.domain.com/CFIDE/administrator
flawlessly, everything works.
however, if i copy the index.cfm test file into
/opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war and then access
http://www.domain.com/index.cfm,
it works just fine.
am i missing something here? am i not supposed to be creating
coldfusion templates in the documentroot of the site? do i have to
use the cfusion-war directory for all of them? im confused, i swear
this thing should be able to work the way i have it...

to further this, i have managed to get this working a little
better, but still have the same issue.
www.domain1.com is running coldfusion from a jrun server
named cfusion installed to /opt/jrun4/servers/cfusion
www.domain2.com is running coldfusion from jrun a server
named isom installed to /opt/jrun4/servers/isom
www.domain1.com is the default apache web site, nothing
fancy, the thing that says "congratulations, it worked!" or
whatever apache says when you go to it the first time. i created
symlinks to the CFIDE folder in the cfusion jrun server.
administrator works fine.
www.domain2.com is a user web site that i actually want to
work on. this is where i want to create my CF documents. i have
created symlinks to the CFIDE folder in the isom jrun server.
administrator works fine.
this is all working fine, sandboxes are working and seperate,
each of the jrun coldfusion servers is configurable seperately. i
dont really care, i only have one site i want to work on with
coldfusion.
here is a shorter description of my actual problem than i
used before:
i can create cfm templates, and they work just fine if i put
them into /opt/jrun4/servers/isom/cfusion-ear/cfusion-war/WEB-INF.
i want to be able to put them into /home/isom/public_html and have
them execute as though they are the document or web root for the
server accessible from
http://www.domain2.com
i have tried changing the context root for the jrun servers,
and it just broke them, so i reinstalled and got back to where i
was, lol...this is so different than on windows, although i did
manage to get windows to do this with 7.0 a few years back on a
fresh install ... i managed to resolve it there though.

Similar Messages

  • Cf7 / jrun / apache2 - 404 error handling

    Hello,
    As I understand it with a CF7 / jrun / Apache setup, when a
    404 occurs Apache sets a 404 code in the header and passes the 404
    off to ColdFusion for handling. I would like to leverage the power
    of Apache's mod_rewrite module for 404 errors btu am running into
    some troubles. I have not been able to find a way to stop Apache
    from passing 404 errors off to ColdFusion and so far, my
    mod_rewrite rules in a virtualhost block are being skipped over
    when a 404 occurs.
    Perhaps this is not a ColdFusion question but a jrun or
    Apache one. If anyone's reading this and has a similar server setup
    and uses Apache for 404 handling of cfm files, please share how
    you're doing it. Or if anyone knows of a better place to post this,
    I'm all ears.
    Thanks everyone!
    -Matt MacDougall

    Try doing the settings in the Administrator once again. You never know.
    On the page Debug Output Settings, tick the checkbox Enable Robust Exception Information. Press the button to Submit Changes.
    On the page Debugging IP Addresses, verify that your IP (for example, 127.0.0.1) has been added. If not, add it.

  • Customizing 500/404 error

    Hi,
    My setup is Coldfusion MX + IIS6 and need to customize 404
    error messages on the server and 500 error messages.
    Now, I know you guys are well familiar with this codes but,
    here's what I need this information for:
    If some one goes to
    http://mysite.com/books/ but
    there is no such folder books in the server. How do you let the
    user see a nice page not the IIS standard 404 page for the occurred
    error?
    Further, if I want to map /books to another folder on the
    filesystem such as /papers, how can that be done?
    A similar but different problem is when someone goes to
    http://mysite.com/my_books.cfm
    but there is no such file in the filesystem, how do I let them know
    that they are looking for the wrong file without using the default
    MX error page?
    Further, how can I map my_books.cfm to books.cfm
    without creating my_books.cfm and the url still being
    my_books.cfm.
    Thanks,
    Roland

    I guess this is impossible in CF since nobody can answer it
    eh?
    All of your requests are possible, many of them have nothing
    to do with
    CF but rather you web server; IIS, Apache, etc.
    You will want to check out the custom error options of your
    web server,
    the global missing template handler and error handler options
    in the
    cfadministrator as well as the <cferror...> tag, the
    onError function of
    Administrator.cfc and <cftry><cfcatch> blocks.
    To do everything you want will take a compressive and
    cohesive plan of
    action using these various options.

  • Weblogic 10.3.2: Under load, system gives 404 error when accessing page

    Hi all,
    I am running Weblogic 10.3.2 with a J2EE EAR deployed against it. I am using JDBC data sources to connect to an Oracle 11g database. I am running on Linux Red Hat 5. The machine has 16 GB RAM and 16 cores of an Intel Xeon processor.
    I have recorded some Grinder scripts to simulate the HTTP requests going back and forth from the web browser to the app server in an attempt to play them back in volume to do some load testing. I am finding that even under relatively moderate load, after some time (say 30-60 minutes) when trying to access the application in my web browser (and in Grinder), I am getting 404 errors.
    The strange thing is that the app server is still running fine and there are no errors thrown in any Weblogic log file. There is nothing wrong in the verbosegc log file and the CPU usage via "sar" is very low. The number of JDBC connections is well below the threshold for concern. Sometimes, if I wait a while (hours or more), it sometimes comes back up and works fine again, until the next worjload hits it. I have studied thread dumps and see nothing unusual.
    I've been very puzzled with this for days. Does anyone else know what might be wrong or something else I could check to get more information?

    Hi, I have the same kind of problem. but when it happens I noticed strange line in the access.log like these ones :
    access.log00003:192.168.104.198 - - [20/Apr/2012:12:16:45 +0200] "ancelActionID=CCACustomerProfile&contactreasonwrapuplaunchable=true&contactCode=&contactType=&contactInformation=&Customer.CustomerNumber=5146990&processheadertitle=&PageState.CaseNumber=&PageState.CaseReference=&caseId=42ceed6436cbd7c70136cf3ea82c3b4a&" 404 0
    access.log00004:192.168.104.122 - - [20/Apr/2012:14:02:16 +0200] "s-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" 404 0
    access.log00004:192.168.105.122 - - [20/Apr/2012:14:02:18 +0200] "-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" 404 0
    access.log00004:192.168.104.122 - - [20/Apr/2012:14:02:20 +0200] "application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" 404 1214
    As you can see, instead of containiing the HTTP action (GET/POST /someurl HTTP/1.1) it contains part of the url or even part of the Accept http header...
    When your 404 happened did you have those strange entries in your access.log ? Did you succeed in resolving it ?

  • 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

  • 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

  • Getting 404 error when trying to login to Oracle EBS page

    Hi,
    I had installed Oracle EBS 12.0.4 last year and everything was running fine until last week. Last week, we suddenly started seeing this issue - when trying to login to the Oracle EBS page, we are getting the 404 page not found error.
    I have EBS installed on 2 VMs (virtual machines) - one VM has the application server and other VM has the database server. I logged on to the aplpication server to do some debugging and noticed 2 things ->
    1.The Oracle Fullfillment service was not running. I started it, it was up for some time but then it stopped on its own. This happens everytime - after successfully starting the service, it shuts down after sometime. There is nothing in the event viewer except this message "The service may have terminated abnormally, please see the log file generated by the service for more details." I checked the log file, but there is nothing significant inside the log file. Maybe I need to increase the log level. Can any one tell me how can I do that?
    2. Reviver.exe was crashing intermitently on the application server. I belive reviver tries to establish the connection between the application and database server after its broken.
    So I am thinking now that maybe the connection between the app server and the database server is getting broken intermittenlty and this is the root cause of all the problems.
    I dont know how to verify whethe my analysis is correct or not? And it it is, how to resolved it? Is there a setting or a configuration file in which you have to specify the database server details (ip address / host name etc). Can you tell me where can I find this setting?
    Or culd there be something altogether different that is causing the page not found error?
    Thanks in advance,
    Megha

    Hussein,
    The problem is partially solved - I am not getting the 404 error now. The issue was not with the netsvc file. Please see the resolution in NOTE:412980.1 (oafm,forms and oacore not starting up after IP adress change).
    The OC4J services are imperative for any URL for java code. With just the Apache listener running, examples of URLS that will work are ->
    http://HOST.DOMAIN:PORT/OA_MEDIA/FNDLOGOL.gif
    http://HOST.DOMAIN:PORT/
    Any URL for Java code will fail at this stage when OC4J services are down. For example this URL will fail: http://myHost.oracle.com:8000/OA_HTML/ServletPing.
    But now, I am getting 500 Internal server error. Let me know if you kno anything about this error ->
    oracle.apps.fnd.cache.CacheException     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)     at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)     at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)     at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)     at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)     at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)     at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:751)     at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1014)     at oracle.apps.fnd.sso.Utils.getAppsContext(Utils.java:525)     at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:120)     at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:170)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection     at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)     at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)     at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)     ... 33 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.get
    null
    The base exception is:
    null Connection     at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)     at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)     ... 37 more

  • 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

  • When I use the shortcut to open a new window in safari (command N), I get a 404 error message from Google. How do I change where 'Command N' routes to?

    When I use the shortcut to open a new window in safari (command N) on my Macbook Pro, I get a 404 error message from Google. How do I change where 'Command N' routes to? 

    It's not necessary to change the Command N keystroke..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

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

  • Cannot load individual websites; Googling is fine, but URL comes up with a 404 error.

    Since I updated Firefox, it seems my internet connectivity in that browser has dropped. I can Google things (not in the URL box, but in the Google box) perfectly, with the exception that sometimes the link clicked from Google doesn't load. However, I cannot actually visit an individual site by entering the URL. If I directly enter the URL, it comes up with a 404 error, site not found. If I try to navigate to some pages from a Google, it comes up with a connectivity problem page. I would really like to be able to use my Firefox again. In the meantime, I'll have to use Google Chrome.

    Try clearing Firefox's cookies and cache
    Do these steps and then reload the website you're having trouble with.
    * Click the menu button [[Image:New Fx Menu]] , choose History and select Clear Recent History....
    * In the Time Range to clear: drop-down, select Everything.
    * Click the arrow next to Details to display the list of items that can be cleared.
    * Select both Cookies and Cache.
    * Click Clear Now.
    Moreover, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions:[[Fix problems connecting to websites after updating Firefox]]
    Also see:
    [[Firefox can't load websites but other browsers can]]
    [[Websites don't load - troubleshoot and fix error messages]]

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

  • 404 error on iPad and iPhone

    I have an old site converted from GoLive to Dreamweaver. There is a password protected area on the site. The script for the password was created with GoLive and imported to DW.
    When trying to access the password protected page on iPad or iPhone there is a 404 error. If you type in the url addy the page loads.
    coloradocorgi.org
    password link at bottom of page
    coloradocorgi.org/pemmy.html
    page linked to the password
    Is there any way to keep the password protected functionality on iPhone and iPad?
    (I'm currently on DW CS6 and Mac OS 10.8.5)
    TIA
    Ziska

    Javascript is the worst way to do any kind of password protection because everything is "client-sided", if you know where (and how) to look, you can easily gain access to the UN/PW to enter a restricted page, or bypass it all together.
    A much better route to go would be to password protect a folder on your website via your hosting company. Most hosts will give you the ability to set the password protection on a folder by folder basis right through your Admin control panel. That password protection is controlled by the server, not the user's browser, so it is much, much more secure.
    Attempting to update a script created by GoLive so it works on a device that was invented after GoLive was killed is probably an exercise in futility.

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

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

Maybe you are looking for