If you are using easyPHP as the server, then this is a variant of Apache.
Apache on Windows cannot be configured to use FrontPage extensions.
FrontPage cannot be used to edit files on a non-extended server.
Therefore you are opening the web in FrontPage as a disc based web.
You are opening a web before editing pages, aren't you?
If the above is incorrect, please detail the steps you take to edit the
index.htm page, starting with "Open FrontPage....
As I said before, unless you open a page on a server with PHP installed,
using a URL like
http://domain/pagename, the .php page will download, not
run.
Previewing in FrontPage from a disc based web is not using the server,
unless the link clicked in a page being previewed is an absolute link of the
form
http://domain/pagename
The reason the .php page opens instead of the index.html is because the
server has been set up that way. If you find the configuration file, named
httpd.conf (or something similar) in a subfolder of a folder named apache or
easyphp, the list of default file names can be edited. In Windows Explorer
search for Files or Folders containing text "DirectoryIndex"
In the file, look for DirectoryIndex, and change the list of pagenames to
suit your requirements.
Ron
--
Reply only to group - emails will be deleted unread.
Ronx said:
How have you opened the web in FrontPage? As a server-based web (example
http://localhost/webname/ ) or as a disc-based web , (example
c:\mywebs\webname )
If FP is opened as a disc-based web, then you are not using the server, and
therefore .php files will download, not run.
The order files will open depends on the configuration of the server
(assuming you are referring to which page [index.php or index.html ] opens
in response to a link such as
http://example.com/ ).
In the configuration there is a list of acceptable default file names, the
name at the top of the list gets precedence over the rest.
Ron
--
Reply only to group - emails will be deleted unread.
garwil said:
Hi Ronx.
Many thanks for the reply
My situation is a follows.
I have a server installed on my pc (EasyPhp)wherein lies
both the HTML and PHP pages. I try and call the php page
from withing FP and I get this error. Secondly I thought
that a browser would display an html page before a php
one..do you know anything about this?
Thanks once again