Re: Is PHP available to projects' web pages?

2023-08-01 Thread Alan Mackenzie
Hello, Ineiev.

On Mon, Jul 31, 2023 at 08:52:10 +, Ineiev wrote:
> On Sun, Jul 30, 2023 at 10:42:21AM +, Alan Mackenzie wrote:

> > Yes, I can see my way to generating the .html files.  PHP is used solely
> > to include boilerplate files (like lists of links) into the main files.

> Apache SSI commands like 
> must work [0]...

I think I'm going to have a copy of each such include file physically in
the main .html files.  The cost of the disk space for such a small web
site is trivial, and I've developed scripts (mainly in sed) to maintain
them.

> > I'm not looking forward to removing all but one of the duplicate
> > copyright/license statements which will appear in these files because of
> > this file inclusion.  But I know how to do that.

> ...however, copyright and license notices should be written
> in the covered files directly; if they aren't, it's too easy
> to end up with invalid notices [1].

My intention is to have exactly one C/L notice physically in each file.

> [0] https://savannah.gnu.org/maintenance/HomePage/
> [1] https://www.gnu.org/licenses/gpl-howto.html#why-license-notices

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: Is PHP available to projects' web pages?

2023-07-31 Thread Ineiev
On Sun, Jul 30, 2023 at 10:42:21AM +, Alan Mackenzie wrote:
> 
> Yes, I can see my way to generating the .html files.  PHP is used solely
> to include boilerplate files (like lists of links) into the main files.

Apache SSI commands like 
must work [0]...

> I'm not looking forward to removing all but one of the duplicate
> copyright/license statements which will appear in these files because of
> this file inclusion.  But I know how to do that.

...however, copyright and license notices should be written
in the covered files directly; if they aren't, it's too easy
to end up with invalid notices [1].

[0] https://savannah.gnu.org/maintenance/HomePage/
[1] https://www.gnu.org/licenses/gpl-howto.html#why-license-notices


signature.asc
Description: PGP signature


Re: Is PHP available to projects' web pages?

2023-07-30 Thread Alan Mackenzie
Hello, Svetlana.

On Sun, Jul 30, 2023 at 06:50:54 +1000, Svetlana Tkachenko wrote:
> I believe that php is unsupported at savannah. You may need to install
> php on your own computer and generate static html output.

Thanks!

Yes, I can see my way to generating the .html files.  PHP is used solely
to include boilerplate files (like lists of links) into the main files.

I'm not looking forward to removing all but one of the duplicate
copyright/license statements which will appear in these files because of
this file inclusion.  But I know how to do that.

> -- 
> Svetlana

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: Is PHP available to projects' web pages?

2023-07-29 Thread Svetlana Tkachenko
I believe that php is unsupported at savannah. You may need to install php on 
your own computer and generate static html output.
-- 
Svetlana



Is PHP available to projects' web pages?

2023-07-29 Thread Alan Mackenzie
Hello, Savannah.

I think the title says it all.  I'm currently working on transferring a
project, CC Mode, from SourceForge to Savannah.  The web pages on SF are
PHP pages, mainly for PHP's include facility.

Is there a working PHP server on Savannah, or do I have to rethink those
PHP pages before moving the web page sources?

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).