Localhost site not rendering

Hello all,
I'm not sure if this is the best forum, but it seemed like the closest fit. I'm doing a bit of developing, just a small community site. My problem is that when I attempt to view the site (held locally on my G5) all I get is the html. It refuses to render. This happens in Firefox, Opera, and Safari. I'm a bit new to the Mac, so I'm sure that it's operator error, I just can't figure it out. The code is valid through w3C. I developed the original rough on a university server and validated it, so it's not the code. Does anyone know what I'm doing wrong?
Thanks for any help.
James

Well, I may have figured it out on my own. Naturally, I continued researching after I posted and it seems that I have to set up my Mac to serve webpages. It's not complicated to open up the control panel and enable Personal Web Sharing, but I'm wondering why. On my Windows machine, I simply click any locally stored .hmtl document and the browser renders it. I have IE7, FireFox, and Safari on my PC and they all render the pages. On my Mac, I still get just code (unless I enable Personal Web Sharing, which I haven't had a chance to try yet).
My new question is: "Is there an advantage to the method Mac uses?" It seems much simpler to let the browser render the page than to actually have to run my personal Mac as a local web server.
Thanks again!

Similar Messages

  • Site not rendering

    Hi,
    I have a site that renders fine in Firefox and IE, but is just showing the code for the page in Safari. The URL is http://www.englishhelp.ca/000/main.asp. If anyone knows it would be doing, it would be greatly appreciated. Thank you.

    FYI,
    It doesn't render on Firefox 3.0.5 on Linux either. All I see is the code.
    It looks like the problem is the server you're hosting on, not the page as such:
    curl -I http://www.englishhelp.ca/000/main.asp
    HTTP/1.1 200 OK
    Date: Sun, 11 Jan 2009 09:58:56 GMT
    Server: Apache/2.2.9 (Unix) FrontPage/5.0.2.2635 PHP/5.2.6
    Last-Modified: Sun, 11 Jan 2009 09:43:24 GMT
    ETag: "5818003-1230-46031d2414700"
    Accept-Ranges: bytes
    Content-Length: 4656
    *Content-Type: text/plain*
    The bold line is the problem. You need to configure your server to tell it .asp pages are of type 'text/html'

  • New WRT54G at home, some websites not rendering???

    I installed a WRT54G a couple of weeks ago and I noticed this weekend a few sites not rendering, in particular ESPN.com. When I bring the same laptop to my office, plug it into my network, no prob whatsoever.
    My network is pretty much all macs (I do run Parallels on my MacBook with WinXP, and Explorer didn't work either) and the 3 machines all with the same behavior. I also had problems with Disney Channel.
    Anyone have ideas of what I can look at, or have experience with this thing. I tried changing the channel, and that didn't seem to have an impact.

    adjust the MTU on the setup page between 1492 and 1200.

  • Adf application not rendered correctly with url ip and url localhost.

    Hi all.
    I have a strange problem. When I enter to my adf application deployed in a local stand alone weblogic server with the ip:
    http://localhost:7001/Application/faces/index
    it renders fine. But when I load it with the url:
    http://10.5.14.15:7001/Application/faces/index (private ip), it doesn´t render fine. Tables haven´t the same style, and some elements appear selected like if I have selected them with the mouse.
    This problem only happens with internet explorer, not with Chrome.
    Also when I see a table inside a region in a jspx, the with of the header of the columns is not rendered correctly, causing the width of the header row not be the same than the other rows.
    This problem also happens only with internet explorer.
    Any help please?
    Internet Explorer 8. JDeveloper 11g.2. Weblogic 10.3.5.0
    Also happens with Internet Explorer.
    Maybe encoding? doctype?
    Thanks

    What would the DOCTYPE have to do with the IP address?
    Have you looked at the HTML source in the different browsers and tried to debug what's wrong? Sounds like there may be some images/css files that aren't being downloaded in IE when you use that IP address. Are you sure IE isn't configured with a proxy?
    John

  • Stylesheet not rendering properly on child site

    I have a stylesheet in the Style Library of a parent publishing site.  A Master Page in a child site is using the stylesheet, but the styles are not rendered properly.  I copied the same stylesheet and used it in an ASP.NET web form Master Page
    and the styles rendered properly.  I then created a basic HTML page and used that stylesheet and it worked out fine.  Why won't it work in SharePoint 2013?  Is there a clash with the default styles and can I disable the default styles?
    Thanks,
    Mike

    Hi,
    To use an External Stylesheet, you can reference it as what the links below suggests:
    http://techtrainingnotes.blogspot.jp/2012/05/adding-javascript-and-css-to-sharepoint.html
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/Understanding-SharePoint-CSSLink-and-how-to-add-your-custom-CSS-in-SharePoint-2010.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Localhost subfolder sites not displaying Mac

    Hi,
    I'm trying to view localhost sites on my Macbook, OSX 10.9.2 i can view the root of my local host ok, there is an index.html file in there that will show up but  If I try and access any sub folders, all I get is a blank screen.
    Thanks
    Jon

    Edge Inspect depends on the URL which we send to the connected devices and expect them to be able to load that address into the WebView/UIWebView components in the Edge Inspect app on the devices. Since you are getting the root html served correctly this indicates that Edge Inspect is setup properly.
    Please try to access your sub folder URLs from browser in the device. If it doesn't work then you may need to check your server configuration.

  • Site not found using Sharepoint Designer 2013, Load balance URL and the Front end servers.

    Dears,
    My SharePoint farm is with the below configuration in our office :
    Batch processing server the with Central Administration
    Web Front End Sever 1 (http://wfe01)
    Web Front End Sever 2 (http://wfe02)
    I do have the load balance URL as http://finance.mycompany.com and as per the system administrator it seems configured properly.
    In AAM i have mapped the URLs as below for the web application in Central Administration portal:
    http://finance.mycompany.com - Default Zone
    http://wfe01 - Intranet Zone
    http://wfe02 - Internet Zone
    I was able to browse the site via the load balance URL : http://finance.mycompany.com, but couldn't open the site using the Share Point Designer 2013. It always says the site not found.
    please advise,
    thanks,
    Ammar

    What do the wfe01 and wfe02 aams do?
    Are you browsing to the SharePoint site and using SPD on the same computer, is it part of the farm or a seperate client computer?
    thanks Alex a lot for your response and appreciate the same.
    WFE01, WFE01 is connected to the one central admin on Batch Processing Server (central admin URL is http://SharepointCA:5555 and the SharePoint Web Application is hosted under port 80 on the same server). So the AAM configured on the batch processing server
    central admin.
    I can connect to the site using the SPD inside the Batch Processing server if i mention the site urs as http://localhost. But not from other client computers by putting the load balance URL - http://finance.mycompany.com.
    I can browse the sites directly putting http://wfe01, http://wfe02 and as well as the load balance URL (http://finance.mycompany.com). The custom webparts are getting crashed when i put the web application URL as http://finance.mycompany.com.
    thanks,
    Ammar

  • Sockets work on localhost but not remotely?

    hi there,
    I have created a simple multithreaded client / server program.
    The Server listens on port 2222 for clients. When a client connects - the client sends its ip address to the server and then disconects. More than 1 client can connect at the same time to the server and the server also listens continuasly. I have 2 problems with the program...
    a) the programs work on localhost but not on remote machines? (Well not over my LAN anyway).
    b) I am getting 2 lots of 'datain' when the server recieves an ip address from the client when the client should only send it once.
    The code is below - any help would be greatly appreciated.
    //TCPServer.java
    import java.io.*;
    import java.net.*;
    class TCPServer {
         public static void main (String args[]) throws IOException {
              ServerSocket serverSocket = null;
              boolean listening = true;
              try {
                   serverSocket = new ServerSocket(2222);
              } catch (IOException e) {
                   System.err.println("Could not listen on port: 2222");
                   System.exit(-1);
              System.out.println("Server Started...\n");
              while (listening)
              new TCPServerThread(serverSocket.accept()).start();
              serverSocket.close();
    //TCPServerThread.java
    import java.net.*;
    import java.io.*;
    public class TCPServerThread extends Thread {
        public Socket socket;
        public TCPServerThread(Socket socket) {
         super("TCPServerThread");
         this.socket = socket;
        public void run() {
                   try {
                   BufferedReader datain = new BufferedReader (new InputStreamReader
                        (socket.getInputStream()));
                        System.out.println("ip address recieved");
                        System.out.println (datain.readLine () + "\n");
                   } catch (IOException e) {
                        System.err.println("Cannot read in ip address\n");
                        e.printStackTrace(); // show the error
                        System.exit(-1);
         } //TCPClient.java
    import java.io.*;
    import java.net.*;
    class TCPClient {
         public static void main (String args[]) throws Exception
              String hostname;
              int portNumber;
              String portString;
              BufferedReader inFromUser =
                   new BufferedReader (new InputStreamReader(System.in));
                   System.out.println("What host would you like to connect to?");
                   hostname = inFromUser.readLine();
                   System.out.println("What port would you like to connect to?");
                   portString = inFromUser.readLine();
                   portNumber = Integer.parseInt(portString);
                   System.out.println("Connecting to port " + portNumber + " of " + hostname + "....\n");
                        Socket clientSocket = new Socket(hostname, portNumber);
                        Socket sock = new Socket (InetAddress.getLocalHost(), portNumber);
                        BufferedWriter dataout;
                        java.net.InetAddress i = java.net.InetAddress.getLocalHost();
                        System.out.println("Sending ip address...\n" + i.getHostAddress());
                             dataout = new BufferedWriter (new OutputStreamWriter (sock.getOutputStream()));
                                  dataout.write (i.getHostAddress());
                                  dataout.flush();
                                  sock.close();
                                       clientSocket.close();
                             }Oh, yeah - check out my site below, I am trying to write an audio streaming client / server in Java if anyone is interested in getting involved or just being nosey....
    http://www.projectg.dsl.pipex.com

    In your client you are creating two sockets (why?). One connected to localhost, the other connected to the host specified using readLine.
    If your client runs on the same machine you have started your server, you have two connects to your server instead of one.
    The ip adresse is sent using the socket connected to localhost. That is why it does not work on remote machines.
    Hope this helps.
    Jörg

  • Customization - Additional column inserted in Inbox - value not rendered

    Hello,
       I have a requirement for customizing the inbox and populating the new inbox column with additional value. I made coding updates and everything looks good but the inbox does not render the new value at all. I made these updates and overrides.
    Added the column name and value in \apps\cq\workflow\components\inbox\list\json.jsp . When I go to http://localhost:4502/libs/cq/workflow/content/inbox/list.json?_dc=1358787785033&start=0&l imit=40, I am able to see the addition variable and value added and displayed in list.json. For e.g. view of list.json
               "payloadPath": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
               "payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
               "payloadSummary": {
            "lifestage": "Authored",
               "payloadTitle": "a-simple-plan.jpg",
               "payloadType": "dam:Asset",
       2.  Override and updated \apps\cq\workflow\extensions\inbox\cols. Added a new column, lifestage.js. Code in that js file is
        "header":CQ.I18n.getMessage("LifecycleStage"),
        dataIndex:"lifestage",
        ranking:30
        3. The inbox/list.json shows the value lifestage correctly. But still it doesnot populate 'lifestage' value in the inbox column. If I replace the dataIndex:"lifestage" with dataIndex:"currentassignee" or any other thing, the Lifestage column in Inbox is populated with the "CurrentAssignee".
    Why is the lifestage value though visible through list.json not visible in Lifestage column? What else needs to be additionally done?
    Thanks,

    Sham,
         I  followed exactly all steps like you mentioned. The value was not rendered. I put the alert messages. Please see the code below.
    As lifestage is not subpart of payloadSummary, tried both record.get("lifestage") and (record.get("payloadSummary").lifestage but still both alerts shows undefined.I see alerts for 'Inside renderlifestage' but the next alert shows 'undefined'.
      renderLifestage: function(value, p, record) {
                alert('Inside renderlifestage');
                alert(record.get("payloadSummary").lifestage);
                alert(record.get("lifestage"));
                return lifestageTpl.apply({
                   "lifestage": record.get("payloadSummary").lifestage
    Here is the output from inbox/list.json
          "item": "/etc/workflow/instances/2013-01-22/model_360104180212070/workItems/node4_etc_workflow_in stances_2013-01-22_model_360104180212070",
          "title": "Authorship Workflow",
          "description": "Select author for the authorship workflow.",
          "dialog": "/apps/lexmark/dialog/authorshipDueDateDialog",
          "participant": "",
          "currentAssignee": "Administrator",
          "startTime": 1358880950665,
          "metaData": {
            "workItem": {
              "historyEntryPath": "/etc/workflow/instances/2013-01-22/model_360104180212070/history/1358880950664"
            "instance": {
              "currentJobs": "",
              "currentJobs_xss": "",
              "workflowTitle": "authorship_workflow_test",
              "workflowTitle_xss": "authorship_workflow_test",
              "startComment": "authorship_workflow_test",
              "startComment_xss": "authorship_workflow_test"
          "payload": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payload_xss": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadPath": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
          "payloadSummary": {
            "icon": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg/jcr:content/rend itions/cq5dam.thumbnail.48.48.png"
          "lifestage": "Authored",
          "payloadTitle": "downhill-ski-conditioning.jpg",
          "payloadType": "dam:Asset",
          "lastModifiedBy": "admin",
          "lastModified": 1323947520464,
          "lockedBy": "",
          "lockedBy": "",
          "timeUntilValid": 0,
          "onTime": 0,
          "offTime": 0,
          "monthlyHits": 0,
          "replication": {
            "numQueued": 0,
            "publishedBy": null
          "scheduledTasks": [
          "inWorkflow": true,
          "workflows": [{
              "model": "Authorship_Workflow",
              "started": 1358880950439,
              "startedBy": "admin",
              "suspended": false,
              "workItems": [{
                  "item": "Authorship Workflow",
                  "assignee": "admin"
          "scheduledTasks": [
          "comment": "authorship_workflow_test",
          "workflowTitle": "authorship_workflow_test",

  • [SOLVED] KDE4.3 is not rendering correctly the images in the desktop

    I've posted a bug in KDE because the KDE images are not rendered correctly:
    https://bugs.kde.org/show_bug.cgi?id=202829
    You can see an image of my desktop at:
    https://bugs.kde.org/attachment.cgi?id=35921
    As someone suggests, and I also agree with him, it would be a driver problem. My graphic card is "ATI Radeon X1950 Pro" and I'm using the "xf86-video-ati 6.12.2-2" driver. I know that there are other possibilities according to this wiki:
    http://wiki.archlinux.org/index.php/ATI
    I already tested them with KDE4.2 and xf86-video-ati provided the best result for me.
    Someone with an ATI card has the same problem? Which driver would you suggest to me?
    Thank you
    Last edited by jjjaime (2009-08-06 19:04:12)

    Thank flamelab for your help.
    The xf86-video-ati-git:
    http://aur.archlinux.org/packages.php?ID=15374
    fixed all my problems. Probably you've heard about it Now, I don't have any rendering problem and I have enabled the Desktop effects. I tested it with and without the xorg.conf file. Both of them worked, but without the file I don't have my keyboard in Spanish.
    I read that it was possible the KMS support. I tested it by changing from graphical to text mode but it takes some time so I guess that it's not enabled. Is there any way to test KMS?
    Is it possible to upgrade the AUR driver to the official repository? Meanwhile, I will comment my problem in the KDE site.
    Best regards,
    Jaime

  • PDF not rendering right in firefox

    I have a PDF file I created on my website and noticed that in FF it is not rendering the images correctly (specifically the background image) The file renders fine in IE and Chrome but not in FF, which produces a lot of odd lines in some images and the background. I have had several people check this for me and they have the same problem, the PDF will just not show correctly in Firefox, even one person that tried it, FF will not show any pictures for her on the PDF. Did not know where to post this, as it is not really a question but an observation.
    Shy

    I am sure this is helpful for those that are computer savvy like myself, but most readers of my PDF newsletter on my site are not. So it will not help them much, heck I spent 10 mins. in chat last night explaining to them what a URL is, most still did not understand. I will pass the info on anyway just in case, telling them this is only a problem if they are a FF user, or that they can use IE or Chrome if they like so it renders correctly.
    Thank you
    <blockquote>
    Hey Shyannes,
    It is rendering differently because IE uses the Adobe reader plugin to display PDF's and Chrome uses a custom PDF viewer. Firefox also has a custom PDF viewer (different than both IE & Chrome).
    Firefox users can view the PDF using Adobe reader by following these steps:
    #Click on the Download button (the one to the right of the print button).
    # Change it from Save file to Open with: '''Adobe Reader'''
    #Click OK.
    Hope that helps.
    -Curtis
    </blockquote>

  • Server Side Includes not rendering correctly in Firefox with Layers

    Hi
    The server side includes are not correctly rendering with layers in firefox. From my site here:-
    http://www.osteriastecca.com/index.php
    the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
    http://www.osteriastecca.com/index_old.php
    Works fine in IE and Safari, but not Firefox.
    How can this be rectified?
    Regards
    Glennyboy

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • Some web fonts are not rendered

    When I visit some sites that use web fonts, the web fonts are not rendered. It does not render with the wrong font - the text is completely invisible.
    On other sites, web fonts work just fine, and I cannot understand why some web fonts work and some don't.
    Examples of non-working sites:
    http://blog.mailchimp.com/ (headers shown, article text missing)
    https://www.sbab.se/ (huge top header missing)
    http://onlinepizza.se/ (headers and button texts missing)
    Examples of working sites:
    http://www.google.com/fonts
    http://www.typetester.org/
    On the Network -> Fonts tab in the inspector, no downloads are shown on the broken sites. Is there a font cache that I can delete?
    I have tried uninstalling firefox, deleting all profiles and installing it again. Nothing changes.

    Works fine here on Linux.
    Right-click > "Inspect Element" > Font shows:
    *http://blog.mailchimp.com/ Copyright (C) H&FJ | typography.com (Whitney SSm B) & Copyright (C) H&FJ | typography.com (Whitney SSm A)
    *https://www.sbab.se/ SBABSansStencilBeta-Bold
    *http://onlinepizza.se/Stockholm/ MuseoSans-700
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)

  • Page not rendering correctly

    I have a site I am going to that is not rendering properly, instead of seeing a standard page I see a list of links, followed by pictures. Kind of like you usually see on a "Site Map" page. I have contacted the webmaster and he says it does render properly on his safari. It does render properly for me in FF, so I figure it has to be something in my setup. I have disabled all extensions, enabled Java and JS, no go.
    Here is what I am seeing on Safari (6.0.5):
    Here is how it should render:
    Thoughts?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain iMacs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in 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.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • PDF not rendering correctly

    Hi
    Can anyone help? I am using an iMac and have had a pdf emailed to me. When I login on to the site and select the PDF to view, it is not rendering correctly.
    I am not a technical person but to me it appears to open as a series of code, letters, numbers and symbols.
    Any ideas how to rectify this?
    Is it Adobe related or can I update the settings for the browser? I am using Safari.
    Thanks

    what OS & Safari version ?
    Often, removing any 'pdf' plugins in
    /Library/Internet Plug-Ins/
    and
    ~/Library/Internet Plug-Ins/
    then restarting the browser will solve pdf display issues, although in this case, it sounds as if the site is telling Safari that these are text type files & it's attempting to display them accordingly.
    Disabling plug-ins via Safari - Preferences - Security should also eliminate pdf plug-ins as a cause.

Maybe you are looking for

  • How to organize the structure of multipanel application

    hi, I need to create a multi panel application where must be active only one panel, so my connection to DB have to be passed to an active panel only. So, how can I pass my connection from one panel to another if my panels are created as separate proj

  • How to get a view with database relate with certificate ?

    After I encrypt a database, like execute following script: USE master; GO CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<UseStrongPasswordHere>'; go CREATE CERTIFICATE MyServerCert WITH SUBJECT = 'My DEK Certificate'; go USE AdventureWorks2012; GO CREA

  • Weird behaviour when applying XLST in PL/SQL

    I came across this strange behaviour when applying XSLT to an XML document. Below is a simplified version, based on some code that I found in OTN declare indoc VARCHAR2(2000); xsldoc VARCHAR2(2000); myParser dbms_xmlparser.Parser; indomdoc dbms_xmldo

  • My iPod does not appear in Itunes & isn't recognized by my computer!

    MY iPod froze while updating & when I turned it off & back on it doesn't show anything except a gray screen. It does not appear in Itunes when connected with the usb or show in my computer, I have no clue what to do. Help!

  • Bluetooth speaker causes total bluetooth failure?

    I run 10.7.5 on a 27" iMac. I have a cheap no-name bluetooth speaker (this one) which I like to take into my bedroom and set an iTunes alarm clock.  The speaker in the bedroom is so I can hear it.  It's only about 20 yards from the computer, through