Unable to open php localhost web page

I 'm web programmer, i want to test my localhost website on Firefox browser, i tested my website before on Opera and internet explorer, test finished successfully, but when i test it on Firefox i faced the following error message:
Error message: Connection Failed
Note:
Apache version: 2.2.11
PHP version: 5.3.0

If I open http://localhost:7001/xlWebApp At browser getting following 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.

Similar Messages

  • Why does Firefox no longer display .php suffix web pages which are in my Mac?

    I have a question about Firefox 14.0.1 displaying .php suffix web page files which are in a Mac running Mountain Lion OS 10.8. In eaarlier versions of Mac OS, for example 10.4.7, I was able to see properly displayed web page files with .html and .php suffixes when those web page files were in my computer. I refer to seeing the page as it should properly display, not seeing the source code. If a page had a .php suffix, the browser displayed the page properly although any php scripts embedded in that page were ignored.
    Apple occasionallly updated its OS and browser makers occasionally updated browsers. One day, I noticed that Safari no longer displayed web page files in my Mac if those pages had a .php suffix. However, Firefox and other browsers continued to display web page files with .php suffixes although the embedded php scripts were ignored.
    Now, I have Mountain Lion in iMac.
    I can no longer see .php suffix web page files in my computer regarless of the browser I use. No browser displays those pages.
    A .php suffix web page file which Firefox and other browsers display in 10.4.7 does not display in 10.8 if that web page file is in the computer.
    In my computer, I have html and php suffix web page files I want to see using a browser. The files I want to see and the browser both are in my computer. Html files display perfectly with one exception: if php scripts are embedded in the html files, the scripts are ignored. A file the name of which ends with ".php" will not be displayed regardless of whether there is a php script in the file. Safari displays the source code only. Chrome does not display the file at all. Firefox and SeaMonkey, which displayed .php suffix web page files in earlier versions of the Mac OSm now respond to such pages by providing a dialog box which seems to assume that the file is about to be downloaded from the Internet. The dialog box asks me if I want to use the browser to open the file or if I want to save it to disk. The file is on the disk at the time, and the computer is disconnected from the Internet. I click that I want to use the browser to open the file. Then the dialong box reopens with the same question. This happens over and over. I never get to see a web page file in my computer the name of which ends with ".php". With Firefox 14.0.1, I can see .php suffix web pages which are on the Internet or in a 10.4.7 Mac but not in a 10.8 Mac. Did I miconfigure Firefox? It seems unlikely that Firefox lost the ability to display pages in Mac OS 10.8 which it displays in `10.4.7. How can I solve this web page display problem?

    Haroon mentions two solutions. I used the easier one, which is to start the Apache webserver already in Mountain Lion and to enable the php already in Mountain Lion. It worked. I see the file correctly displayed with html, css, and php. I see the page by using Firefox. I enter an address in the address bar. For example, the address might be "localhost/example/example.php". I cannot see the page by using Firefox's "Open File ..." menu option or by dragging the file's icon onto Firefox's icon. I tried using your solution also but was unable to find the specific preference to modify. I found the page of preferences which may be modified but I could not find the one I need. I found a list of descriptions of the preferences at http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
    but I could not find the specific preference which I need.
    By the way, to enable loading the php module, one uncomments a line of code by deleting the initial "#" character, and one does that by pressing control key and "P" key while the cursor is over the "#" character.
    Also by the way, when I use Firefox or Safari to look at the Apache web directory in which my files are, the files are listed case sensitively. For example, the files are listed: Ace, Zygote, bar. This is because lower case follows upper case. THis annoys me. I prefer case insensitive listing. When I llok directly athe directory without using a browser, the files are listed case insensitively. For example, they are listed: Ace, bar, Zygote. I guess taht Apache is doing this.

  • CS6: DistributedCOM Error id: 10016 when open pdf from web page in Win8.1

    For example here below I've got the issue: 
    http://modemwifi.it/wp-content/uploads/asus-dsl-n55u.pdf
    Adobe Acrobat X pro V 10.1.8:
    DistributedCOM Error id: 10016 when open pdf from web page.
    Nome registro: System
    Origine:       Microsoft-Windows-DistributedCOM
    Data:          04/11/2013 19:09:19
    ID evento:     10016
    Categoria attività:Nessuna
    Livello:       Errore
    Parole chiave: Classico
    Utente:        PC-PIERO\Piero
    Computer:      Pc-Piero
    Descrizione:
    Le impostazioni delle autorizzazioni impostazioni predefinite del computer non concedono l'autorizzazione di Attivazione in Locale per l'applicazione server COM con CLSID
    {B801CA65-A1FC-11D0-85AD-444553540000}
    e APPID
    {2EAF0840-690A-101B-9CA8-9240CE2738AE}
    all'utente Pc-Piero\SID Piero (S-1-5-21-3453328585-262132574-2759341577-1001) dall'indirizzo LocalHost (tramite LRPC) in esecuzione nel SID del contenitore di applicazioni Non disponibile (S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394). Per modificare tale autorizzazione di sicurezza, è possibile utilizzare lo strumento amministrativo Servizi componenti.
    XML evento:
    < Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-04T18:09:19.468877700Z" />
        <EventRecordID>14806</EventRecordID>
        <Correlation />
        <Execution ProcessID="768" ThreadID="776" />
        <Channel>System</Channel>
        <Computer>Pc-Piero</Computer>
        <Security UserID="S-1-5-21-3453328585-262132574-2759341577-1001" />
      </System>
      <EventData>
        <Data Name="param1">impostazioni predefinite del computer</Data>
        <Data Name="param2">Locale</Data>
        <Data Name="param3">Attivazione</Data>
        <Data Name="param4">{B801CA65-A1FC-11D0-85AD-444553540000}</Data>
        <Data Name="param5">{2EAF0840-690A-101B-9CA8-9240CE2738AE}</Data>
        <Data Name="param6">Pc-Piero</Data>
        <Data Name="param7">Piero</Data>
        <Data Name="param8">S-1-5-21-3453328585-262132574-2759341577-1001</Data>
        <Data Name="param9">LocalHost (tramite LRPC)</Data>
        <Data Name="param10">Non disponibile</Data>
        <Data Name="param11">S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1 277922394</Data>
      </EventData>
    < /Event>
    How can I solve this problem?
    Thanks

    // I got this from an Action (I�m using Struts)
    java.sql.Blob file=(java.sql.Blob)request.getAttribute("PDFfile");
    String filename=(String)request.getAttribute("filename");
    try{
      int iLength = (int)(file.length());
      response.setHeader("Content-type", "application/pdf");   
      response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"");
      response.setHeader("Expires","0");
      response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
      response.setHeader("Pragma","public");
      response.setContentLength(iLength);
      ServletOutputStream os = response.getOutputStream();
      InputStream in = null;
      in = file.getBinaryStream();
      byte buff[] = new byte[1024];
      while (true) {
          int i = in.read(buff);
          if (i<0) break;      
          os.write(buff,0,i); 
      os.flush();
      os.close();
    } catch(Exception ex){
       out.println("Error while reading file : " + ex.getMessage());
    }and now it�s running !!! I�m not using response.setContentType(...) and I do this in response.setHeader("Content-type", "application/pdf"). And I use response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"") instead of response.setHeader("Content-Disposition", "attachment; filename=\""+filename+"\"");

  • Every time I try to open a new web page a window pops up saying the certificate for the page is invalid?? It won't let me on my emails or Facebook

    Every time I try to open a new web page a window pops up saying the certificate for the page is invalid?? It won't let me on my emails or Facebook

    This could be a complicated problem to solve, as there are several possible causes for it.
    Back up all data, then take each of the following steps that you haven't already taken. Stop when the problem is resolved.
    Step 1
    From the menu bar, select
               ▹ System Preferences... ▹ Date & Time
    Select the Time Zone tab in the preference pane that opens and check that the time zone matches your location. Then select the Date & Time tab. Check that the data and time shown (including the year) are correct, and correct them if not.
    Check the box marked 
              Set date and time automatically
    if it's not already checked, and select one of the Apple time servers from the menu next to it.
    Step 2
    Start up in safe mode and log in to the account with the problem.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    If the problem is not reproducible in safe mode, then it's caused by third-party "anti-virus" or "security" software. If you know what that software is, remove it as directed by the developer after backing up all data. If you don't know what it is, ask for instructions.
    Step 3
    Triple-click anywhere in the line below on this page to select it:
    /System/Library/Keychains/SystemCACertificates.keychain
    Right-click or control-click the highlighted line and select
              Services ▹ Show Info
    from the contextual menu.* An Info dialog should open. The dialog should show "You can only read" in the Sharing & Permissions section.
    Repeat with this line:
    /System/Library/Keychains/SystemRootCertificates.keychain
    If instead of the Info dialog, you get a message that either file can't be found, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it by pressing command-V. Select the line you just pasted and continue as above.
    Step 4
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    In the upper left corner of the window, you should see a list headed Keychains. If not, click the button in the lower left corner that looks like a triangle inside a square.
    In the Keychains list, there should be items named System and System Roots. If not, select
              File ▹ Add Keychain
    from the menu bar and add the following items:
    /Library/Keychains/System.keychain
    /System/Library/Keychains/SystemRootCertificates.keychain
    Open the View menu in the menu bar. If one of the items in the menu is
              Show Expired Certificates
    select it. Otherwise it will show
              Hide Expired Certificates
    which is what you want.
    From the Category list in the lower left corner of the window, select Certificates. Look carefully at the list of certificates in the right side of the window. If any of them has a blue-and-white plus sign or a red "X" in the icon, double-click it. An inspection window will open. Click the disclosure triangle labeled Trust to disclose the trust settings for the certificate. From the menu labeled
              Secure Sockets Layer (SSL)
    select
              no value specified
    Close the inspection window. You'll be prompted for your administrator password to update the settings.
    Now open the same inspection window again, and select
              When using this certificate: Use System Defaults
    Save the change in the same way as before.
    Revert all the certificates with non-default trust settings. Never again change any of those settings.
    Step 5
    Select My Certificates from the Category list. From the list of certificates shown, delete any that are marked with a red X as expired or invalid.
    Export all remaining certificates, delete them from the keychain, and reimport. For instructions, select
              Help ▹ Keychain Access Help
    from the menu bar and search for the term "export" in the help window. Export each certificate as an individual file; don't combine them into one big file.
    Step 6
    From the menu bar, select
              Keychain Access ▹ Preferences... ▹ Certificates
    There are three menus in the window. Change the selection in the top two to Best attempt, and in the bottom one to  CRL.
    Step 7
    Triple-click anywhere in the line of text below on this page to select it:
    /var/db/crls
    Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "crls" should open. Move all the files in that folder to the Trash. You’ll be prompted for your administrator login password.
    Restart the computer, empty the Trash, and test.
    Step 8
    Triple-click anywhere in the line below on this page to select it:
    open -e /etc/hosts
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in the same way you launched Keychain Access.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window should open. At the top of the window, you should see this:
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1                              localhost
    255.255.255.255          broadcasthost
    ::1                                        localhost
    fe80::1%lo0                    localhost
    If that's not what you see, post the contents of the window.

  • Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9alredy

    Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9 is alredy installed on computer. Is this a 64 bit ossue although I am sure I did not have this problem prior to a replacement hard drive being installed.

    What is your operating system, browser?
    What is the exact message you are getting?

  • Unable to open reports with Web intelligence

    Hi there,
    We are unable to open reports using Webi Intelligence.  Error of "Session is closed(Error: INF)" apears.
    I have restarted the SIA and Apache services with no luck.
    Version : Business Objects XI3, Edge Series professional
    Kind regards,

    Try changing the idle connection timeout on your Web Intelligence Processing Server to 60 minutes (from the CMC).
    If this doesn't work, please add a trace to the Web Intelligence Processing Server (add a -trace to the command line parameters of the server). and post the log for the relevant time period.

  • HT202225 I keep getting pop ups on my iMac for the first time in 6 years after one of my kids tried to watch football through crichd tv. safari now opens with smart search engine rather than google every time i try to open a new web page.

    Ever since one of my kids tried to watch football on a website called crichd tv I keep getting pop us come up like Mackeeper and every time i try to open a web page it comes up with Smartsearch rather than google which is my preferred search engine in preferences. I have blocked extensions and changed homepage to google but this Smartsearch keeps overriding. Also a thing called MacKeeper keeps popping up I have followed the instructions to uninstall but the file it says to move to trash from the Applications folder but it simply isn't there or anywhere else. The file to uninstall Smartsearch is also not where they say it is in Library>frameworks>
    Very frustrating from going from a perfectly working system to a now very frustrating and annoying pop ups coming uo after every time i open a new web page.
    Any help or assistance in this matter would be very much appreciated.
    Russ

    You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
    Any tips on how to stop it from happening?
    Yes. To learn how to avoid it in the future read How to install adware.
    If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • How to open only one web page at a time?

    I used to have it set so when I opened a new web page, the previous one closed. Now, nothing closes automatically and I have about 50 pages open that I have to close. How do I set it so that only one page opens at a time?

    HI Janice,
    You can use a keyboard shortcut to close all windows in Safari. CommandShiftW.
    To close one window, Command + W.
    Carolyn

  • Each time I open Safari it opens the last web page I was at rather than my home page. How do I stop this from happening?

    Each time I open Safari it opens the last web page I was at rather than my home page. How do I stop this from happening?

    This is part of Lion's Resume feature (I assume you are on Lion).
    A couple of things you can do: System Preferences>General and deselect 'Restore windows when quitting and re-opening apps'.
    Also when you shutdown or restart make sure the following is unticked:

  • Is there a way of wiping ALL Safari data, i.e. restoring Safari ? I think my Safari has a virus..as every time I open it, a web page called 'search quick' comes up. Its bombarded my Safari with constant pop up adverts almost every time I click!

    is there a way of wiping ALL Safari data, i.e. restoring Safari ? I think my Safari has a virus..as every time I open it, a web page called 'search quick' comes up. Its bombarded my Safari with constant pop up adverts almost every time I click!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • How to stop an "Add-ons Manager" tab that keeps appearing every time I open a new web page ?

    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....

    ''arcadiune [[#question-1052917|said]]''
    <blockquote>
    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....
    </blockquote>
    Solved it shortly afterwards thanks as I realised it must have happened when I refreshed Firefox, so went through the process again and found the boxes for tabs already pre-ticked so cancelled them. Would have been a lot easier though had it been left as an option to tick as I assumed it was another safeguard leaving me with no idea what had happened....
    Anyway thanks :-)

  • Bell rings when I open a new web page

    An annoying bell rings when I open a new web page in Safari 5.1.1. Can anyone tell me how to change this? Thanks.

    Carolyn,
         The sound effects answer did not work. Thank you for your help. 

  • Can't open a specific web page

    i am having a trouble opening a specific web page. It tells me that it cannot find/connect to server, but it is only happening to one web page

    wow i thought i was the only one!
    it's also happening to me but in my case the whole myspace.com site (profiles, home, etc) isn't working
    it does open the page but it doesn't load it properly, the vids doesn't appear and some images only appear with a "?" sign meaning that it cant load it, the music is not loaded
    i've also tried with firefox but it doesn't load it either
    and i've also tried with a pc i have here in my house using the same wireless network i use with this mac im having trouble and i can open any page including myspace
    please answer!:(
    Message was edited by: fabdelarge

  • When I try to take a screenshot it just opens the adobe web page

    I took a screenshot on my iMac without a problem by pressing command -shift-3
    After doing 2 screenshots however it will not work - instead, pressing the same keys it opens the Adobe web page.  Please help.  Losing the will to live!!

    Sometimes shortcuts get messed up because of voice commands.  Are those on?

  • Unable to open display localhost:0.0 in VMware RedHat linux machine

    I have been trying to Install Oracle 10g RAC in VMware linux virtual machine.
    my virtual machines are running properly and I am able to use RSH & SSH.
    when I run runInstaller it is not comming up due to DISPLAY environmental variable setup.
    I have set the varable as follows
    DISPLAY=localhost:0.0; export DISPLAY
    then if i execute xhost + it gives the following error
    "xhost: unable to open display localhost:0.0"
    I have tried with ipaddress instead of localhost. Eventhen it is giving the same error
    What is the problem? How I can solve the issue?

    i had the same issue. running the xhost + as root fixed the issue, but only after i switched to root using 'su -' instead of just 'su' (likely something in the profile scripts that get run when you use the '-' (dash) versus just using 'su'.
    after running the xhost +, i was able to (as oracle) do:
    export DISPLAY=:0.0
    ./runInstaller
    And good to go.

Maybe you are looking for

  • After upgrading to Lion the bookmarks in Preview returns error message.

    After upgrading to Lion the bookmarks in Preview returns error message : The File "****" couldn't be opened because you don't have permission to view it. To change the perimssion, select the item in finder and Choose File info.  I have bookmarked ple

  • How do you uninstall a program from mountain lion osx

    Hi first time on mac forum my question is being new to imacs how do you uninstal a program from an imac running osx mountain lion. And of course get rid of the icon for that program from launchpad thanks

  • CASE STATEMENT ERRORS

    Hi all, I have created a PLSQL code which is as follows: create or replace procedure case_statement is pi constant number(9, 7) := 3.1415927; area number(14, 2); cursor rad_cursor is select * from radius_vals; rad_val rad_cursor%rowtype; begin open r

  • How to Change color on control break fields

    I have created a master detail report. I then did a control bread on the three fields below. I would like to change the color of the break to blue instead of the standard black. What settings or method would I use to change the color on the control b

  • How to sync multiple flash players on multiple networked computers

    I want to play, stop or start simultaneously the same flash movie (presentation) installed on multiple computers connected to a LAN. Do you have any idea how to do this?