Welcome! Log In Create A New Profile

Advanced

Re: SSI configulations issues

Anonymous User
April 17, 2021 12:22PM
Hi Francis,

Thank you so much.
I see. I am relieved to hear the module has been installed with default options.
However I decided to use PHP instead of SSI and to disable SSI after all because #exec is  unavailable and ssi puts load on the server.

I deleted "ssi  on;" and "ssi_last_modified on;" from the configulations and execute "sudo systemctl restart nginx" but looks ssi is still enabled and test.html outputs values as ssi...

What should I do to restore to being disabled?

Regards,
Yusui

2021年4月17日(土) 23:21 Francis Daly <francis@daoine.org>:
>
> On Sat, Apr 17, 2021 at 10:32:21PM +0900, tommys_project@yahoo.co.jp wrote:
> > > 2021年4月17日(土) 18:27 Francis Daly <francis@daoine.org>:
> > > On Sat, Apr 17, 2021 at 01:40:26PM +0900, tommys_project@yahoo.co.jp wrote:
>
> Hi there,
>
> > > > I work on configuring for ssi on my environments but got errors like this once I check test.html with the following configulations:
> > > > 
> > > > Updated on: (none) [an error occurred while processing the directive]
> > > 
> > > https://nginx.org/en/docs/http/ngx_http_ssi_module.html
> > > 
> > > "(none)" is because nginx-ssi does not set LAST_MODIFIED.
> > > 
> > > "[an error occurred" is because nginx-ssi does not do "#exec".
> >
> > I should install ngx_http_ssi_module?
> > I was not able to install ngx_http_ssi_module because it looks there is not option for installing ssi modules like --with-http_ssi_module at compiling nginx.
>
> The module is installed and working. You would get a different error
> message if it were not.
>
> (You would have to add --without-http_ssi_module at configure/compile
> time to remove it.)
>
> > "ssi_last_modified on" is written at location but is it not enough?
>
> That works, but does not do what you want. It does not make the
> apache-like LAST_MODIFIED variable have the value you want.
>
> > LAST_MODIFIED is displayed at my environments without issues once I changed LAST_MODIFIED to DATE_GMT as that website says!
>
> I think DATE_GMT shows "now", not anything to do with a modified
> timestamp.
>
> > However looks #exec I need is not supported...
> >
> > Only some ssi commands for apache are available on nginx for now?
>
> Correct.
>
> """Currently, the list of supported SSI commands is incomplete."""
>
> I think it will not change, until someone is inspired to write the code.
>
> If you need "full" ssi, you probably need something other than nginx.
>
>         f
> --
> Francis Daly        francis@daoine.org
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSI configulations issues

Anonymous User April 17, 2021 12:42AM

Re: SSI configulations issues

Francis Daly April 17, 2021 05:28AM

Re: SSI configulations issues

Anonymous User April 17, 2021 09:34AM

Re: SSI configulations issues

Francis Daly April 17, 2021 10:22AM

Re: SSI configulations issues

Anonymous User April 17, 2021 12:22PM

Re: SSI configulations issues

Francis Daly April 17, 2021 01:34PM

Re: SSI configulations issues

Anonymous User April 17, 2021 08:58PM

Re: SSI configulations issues

Anonymous User April 18, 2021 08:44AM

Re: SSI configulations issues

Francis Daly April 19, 2021 05:16AM

Re: SSI configulations issues

Anonymous User April 20, 2021 11:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready