Re: Search webbot in an Apache server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 08/01/04


Date: Sat, 31 Jul 2004 22:16:49 -0400

Having a page with .php extension means nothing, the issue is with PHP scripting on the pages. FP
supports ASP/VBScript, JScript and JavaScript tags, but not the <? ?> PHP tags when edited with the
FP editor.

I never indicated that you couldn't edit the page via FP.

This is the normal error message that you should get when attempt to use a run-time webbot on page
that doesn't have a .htm or .html extension:

Cannot run the FrontPage Server Extensions on this page: "search.asp"

Here is a link to the MS KB related to use the search on non .htm(l) page:
http://support.microsoft.com/default.aspx?scid=kb;en-us;292629&Product=fp2002

You will see the reason why it work when you were on the Windows server.

-- 
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"Sam Hobbs" <samuel@social.rr.com_change_social_to_socal> wrote in message
news:OjTHnr2dEHA.3476@tk2msftngp13.phx.gbl...
> I must have been very lucky then, since I did not know any of this. My site
> was previously hosted by a IIS/Windows server and I used an asp extension
> for most all pages. I even had asp code in them to make it easier for me to
> update links to the MSDN in case Microsoft decided to reorganize MSDN again.
> Yet the FrontPage search worked just fine then. I did have to add asp to the
> list of extensions that FrontPage uses to determine what to use for each
> extension. So I did not know that it is not supposed to work and I got it to
> work for me. Perhaps I can teach Microsoft a couple of things. I definitely
> was able to edit the HTML in the asp pages just fine; the asp of course was
> ignored by FrontPage.
>
> I was also able to edit the HTML in a file with a php extension. I had a hit
> counter in my "home" page that was coded in php. I edited the HTML using
> FrontPage and I edited the php code using the "HTML" tag. I have since
> removed the hit counter but about 99% of my pages have a php extension yet I
> edit them using FrontPage as easily as if the extension is html.
>
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:OoVuIA2dEHA.3864@TK2MSFTNGP10.phx.gbl...
> > The .asp or .aspx extensions are also not an option, the FP run-time
> webbot require that the page
> > they are inserted on have .htm or .html extension. This have been this way
> since the first version
> > of FP and there is no configuration setting to change this.
> >
> > This is because the FP extensions are design to only process .htm or .html
> files, when a file is
> > .php or .asp, the .php or .asp engine handles the processing of the page,
> not the FP extensions.
> > Feel free to search the MS KB to verify this.
> >
> > Yes, FP can be set use Notepad or any other editor to edit any file type,
> but to effectively edit
> > .php files in FP, you have change the php.ini file to use ASP style <% %>
> instead of the standard
> > PHP <? ?> tags.
>
>


Relevant Pages

  • Upgrading to 60 question.
    ... <ACPI PCI bus> on pcib0 ... <Parallel port bus> on ppc0 ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, ...
    (freebsd-questions)
  • Re: Authoring for browsers other than IE or Nav
    ... Windows XP SP 2 will not display the pages as HTML without having an extension. ... Thomas A. Rowe (Microsoft MVP - FrontPage) ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: PHP-Yes, HTML-No --- Why?
    ... Because the files, when downloaded, are called .php and have absolutely no php in them:) ... But the extension doesn't match the contents of the file. ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called .html. ...
    (comp.lang.php)
  • Re: PHP-Yes, HTML-No --- Why?
    ... I mean, the file doesn't contain php when the client gets it, so why should it be named .php? ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called .html. ... There extension is not the only way to determine what's in a file. ...
    (comp.lang.php)
  • Re: Search webbot in an Apache server
    ... was previously hosted by a IIS/Windows server and I used an asp extension ... Yet the FrontPage search worked just fine then. ... I was also able to edit the HTML in a file with a php extension. ...
    (microsoft.public.frontpage.client)