Questions tagged [Server Side Includes] (17)

0
answer

How to do a proper NC (human-friendly url) on the site, built on the technology of SSI?

Hello, Struggling with the problem for months, but never found a solution to the problem of representation of the URL of your site as CNC. But the problem is the url of the form name.domen/?content The scheme of the website (which is already 4 years old): Yes index.html (the same template, it template), where the header and...
isabelle_Mra asked September 28th 19 at 04:46
0
answer

Subdomains and ssi how to get around the problem?

Good afternoon. There is a problem with the Directive "include virtual". For the website site.com create a subdomain sub.site.com in the site root (/public_html/site.com/blabla/sub/). Stops working --#include virtual="/ssi/file.html" -- How can I bypass this problem? The straight path is /public_html/site.com/ssi/file.htm...
Alberta7 asked September 28th 19 at 02:27
0
answer

Rewrite with the preservation of parts of the URL into a variable that is visible in the SSI. How to do in Apache?

Know how to easily make on Nginx, but the patient is Apache. In General, all different. Please help. Need to the queries of the form:http://site.com/path/name00 http://site.com/path/name01 .. http://site.com/path/name98 http://site.com/path/name99"rewritelog" (not "redirections", that is, without the three hundredth codes, ...
carolyne21 asked September 25th 19 at 22:39
0
answer

How to put result of "include" SSI in a PHP variable?

Can display the result of the script in the page text insert Is it possible this result is not output, and to bring in a PHP variable? exec ("command", $out) is not executed because of some security reasons, in php configs written like prohibition
Kole.Hick asked September 23rd 19 at 11:26
5
answers

What to prescribe ssi with nginx?

Good day! (I krivoruk) Installed nginx (mac os), filled file index.html everything works super-duper. Recently usanl about ssi created a page divided into blocks pour index.shtml error 403 forbidden. nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/...
Dimitri_Miller asked September 21st 19 at 03:36
0
answer

How to change the query string in the ssi?

Good time ! Here is the code<!--#include virtual="/style.html"--> <!--#include virtual="/header.html"--> <!--#if expr="$QUERY_STRING = /flt=1004/" --> <!--#set var="flt" value="$arg_flt" --> <!--#include virtual="${flt}_menu.html"--> <!--#include virtual="${flt}_pogoda.html"--> <...
Arthur_Upton asked September 20th 19 at 17:29
1
answer

Is it safe to SSI?

What are the General problems with security from SSI? Is it worth it to use?
Julien.Schaden asked September 11th 19 at 14:35
2
answers

Apache2 + SSI. Why does not #include file=""?

Transferred the old project. It uses SSI Everywhere files are connected so<!--# include file="/includes/ukr/inc_block_tag_manager.html" --> But this line is causing the error [an error occurred while processing this directive] A bit of googling, and all the people who have encountered this problem suggest the design a...
jerod.Herm asked September 9th 19 at 12:35
1
answer

What are the analogues of technologies ssi(Server Side Includes)?

Good day! There is a task to increase the ease of modifying several html pages that have common elements. Known to me solution is to describe a common part, for example, in the file "common/header.html" , in all the right places to insert #include file="common/header.html" Tell me, is there a new, more modern solution to...
sid39 asked August 7th 19 at 00:27
1
answer

Why can not work ssi in nginx?

Came across a strange behavior of Nginx There is a page with ssi inclusions. if you give the HTML using php-fpm via location response 200 OK then the ssi of the user are not processed if you give the HTML through apache via proxy_pass response 200 OK then the ssi of the user are not processed if you give a static (.html) us...
joaquin.Wate asked August 2nd 19 at 18:53