Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

In MAMP6 (which used Apache 2.4.54), configuring server side includes could be done by modifying the httpd.conf file and adding AddOutputFilter INCLUDES .html However, in MAMP7 (Apache 2.4.58), this ...
-1 votes
1 answer
499 views

IIS configured with Server Side includes Additionally processing SSI adding to config IIS handler mapping configured. SSI file present and I can see it in browser. But SSI still don't working. And I ...
1 vote
0 answers
146 views

I want to generate an array of key-value-paired items and use a looping mechanism to generate a list of content from them in HTML tags format. Is this possible to do it using apache server SSI? From ...
0 votes
0 answers
107 views

Let's say I have a file called a.jsp which includes another file: <% String a = "Test"; %> ... <%@include file="b.jsp"%> ... The file b.jsp accesses the variable from ...
0 votes
0 answers
183 views

I'm working with a very legacy project, made on PHP 5.4. We need to move it over a new server as is, but at the same time, upgrading the web server from apache 2.2 to 2.4, and the OS. SSI works fine ...
0 votes
1 answer
622 views

I have this configuration for static html pages, where redirects are done from flat files as well: old-location.html <!-- {new-location.html} --> <!DOCTYPE html> <html> <head> &...
0 votes
0 answers
38 views

I have declared a variable and it's value in the head of File_1.asp Before DOCTYPE html <% dim strCategory strCategory="My String" %> Then I have an include file inserted in the body &...
1 vote
0 answers
60 views

Suppose that folder B is inside of folder A. Folder B contains: index.shtml a.html image.png And, in index.shtml, I include a line <!--#include file="a.html" --> And, image.png ...
nunz's user avatar
  • 11
0 votes
1 answer
1k views

Issue: I need to modify the response which is HTML. Need to inject data attribute into the response body. The data attribute value would be the query param/post params. Having Nginx as a webserver. ...
-1 votes
1 answer
389 views

I want to split a HTML file, by the <section> tag, into separate files. An example might be: mypage.html <!DOCTYPE html> <html> <head> ... </head> <...
0 votes
2 answers
242 views

In PHP I can use switch case for using a simple function: <?php switch($_SERVER['QUERY_STRING']) { case 'example1': include 'example1.php'; break; case 'example2': include 'example2.php'; break; ...
0 votes
1 answer
105 views

I have IIS 7 and Server Side Includes work fine in all desktop browsers. But when I try on mobile (iPhone or Android) they don't show. Code extract: <body> <!--#include file="Header....
0 votes
0 answers
35 views

This is my code. It pretty much tests if the person is on mobile then if they aren't it appends the server side include. This doesn't work in testing (SSI just executes in java script or won't append (...
0 votes
0 answers
101 views

I have two pages. list.php and userinfo.php. list.php scrapes a list of users from another website and gets three strings: $id, $nick and $level, while the other one, userinfo.php?id=id, uses the id ...
0 votes
1 answer
300 views

My IIS skills leave a lot to be desired but I've been asked to enable the SSI #exec directive for someone and I'm running into a problem: I can get SSI #echo to work, and I have this in both the ...
user avatar

15 30 50 per page
1
2 3 4 5
...
16

AltStyle によって変換されたページ (->オリジナル) /