[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] (PHP3 index pages)



"Andy Jacobs" <andy.jacobs@xxxxxxxxxxxxx> wrote:
> > /etc/rc.d/init.d/httpd reload
> >
> > If that's not the problem, let us know.
>
> <snip>
>
> I haven't done a reload, but I have done a restart.  Should this work?

Yes.  Please don't take this as a poke at you, just trying to give you some
more ideas, but my short list of reasons would be: editing the wrong file
(like srm.conf.master), typo in your AddType line, or AddType line for php3
being set in httpd.conf for the site and being misconfigured.

> This is a huge site and I am going through hundreds of files by hand at
the
> moment doing a search and replace on php3.  I think it might be quicker
for
> me to try and sort this and then upload it all again.  For some reason
> Dreamweaver's global search and replace function is ignoring some of the
> files (mostly .inc files as far as I can see)  This is like pulling teeth!

Ouch.  I'd do a global search and replace on the server, then reload the
files into Dreamweaver to get a clean copy on your pc.  Grab rpl 1.3.0b3
from http://www.laffeycomputer.com/rpl.html.  Simple to install, allows you
to do a global search/replace on an entire site at once.

rpl --help and "man rpl" after you install it.  Then stop by google and do a
search for something like 'bash script rename file extension' to grab a
script which you can use to loop through all the files in a directory and
change their extensions from .php3 to .php.

HTH,

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/