Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   php paths
Date:   2002-10-23 07:46:38
From:   anonymous2
When I use http://127.0.0.1/index.php everything works fine.


When I use file://localhost/Library/WebServer/Documents/index.php I get the "Gleefully..." part, but not the php info.


Is there a way to make file://localhost/Library/WebServer/Documents/index.php work???


Reason: I am developing web pages using Adobe GoLive and when I preview my files GoLive opens the files in Explorer using the file://localhost... path, and so far the php parts have been excluded.


Thanks for the series and any help you may be able to offer.


Craig

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • php paths
    2003-08-02 21:20:09  anonymous2 [View]

    i'm having this exact same problem. when i'm online and go to http://localhost/somefolder/index.php, the files in Documents folder work fine.

    if i unplug the ethernet cable and go to http://localhost i get nothing - that makes sense to me. BUT it i go to file://localhost/somefolder/index.php i get nothing - the files in the .php files in the Sites folder do not work.

    any guidance would be great!!

    thanks,
    scott
    ringworm@boardermail.com