Questions tagged [shtml]

shtml files are HTML files that undergo server-side includes processing

SHTML files are HTML files for which server-side includes (SSI) is enabled.

Usually the server knows that it must perform SSI processing because the filename ends with a recognized extension, typically .shtml, .stm or .shtm. If the server is configured to allow it, SSI-enabled files may be recognized because they have the execution permission bit set.

88 questions
0
votes
1 answer

SHTML and JavaScript not working

I am having a problem with my javascript not working inside my includes file that is a SHTML file. This is for a class I am tacking, but any way since we do not have SSI we have to use SHTML so we can use #includes here is what I have. I have just…
Michael Schultz
  • 109
  • 1
  • 3
  • 8
0
votes
1 answer

handling requested URL when 404

I had to move a CMS to a subfolder. as a result, the URL saved in search engines are pointing to broken link. what I did to solve the problem is coding a page with PHP as 404 page that gets the broken link, fix it, and then, redirects to the true…
Mak
  • 1
0
votes
0 answers

Server Side Includes not working

I am attempting to use SSI to call my footer into my website but it isnt working. I am not sure if I have to include a command telling the server that it is SSI? FOOTER FILE: footer.shtml
0
votes
3 answers

HTML Image Tags

I was asked to resolve an issue with shtml file and the problem is like this: A person was asked to edit an shtml file to add a new radio button. She downloaded the file, added some content and uploaded it to the web server. To my utter shock, the…
Sekhar
  • 5,614
  • 9
  • 38
  • 44
0
votes
1 answer

trying to use shtml, not working

I have included "Includes" and "AddType text/html .shtml AddOutputFilter INCLUDES .shtml" to my httpd.conf file tag, and wrote in my shtml file, but when I run it the date doesn't show up. Any ideas why? Thank you.…
episkeyyy
  • 109
  • 11
0
votes
1 answer

Calling a js function within shtml

I've been asked to fix a broken breadcrumb, but never worked with SSI shtml, so please bear with me. They are trying to call a js function from within shtml that is being called by another shtml. main.shmtl It works fine when I test it in a browser, but when I build and run phonegap, the navbar is not included. Does anyone know…
kongshem
  • 322
  • 1
  • 5
  • 23
0
votes
1 answer

Execute perl from SHTML just includes the script, not eexecuted

I'm on a hosted linux web server running Apache 2.2.25. The following shtml just shows the contents of the perl script rather than executing the script. I understand that the script runs from ssh (I don't have access to ssh). I'm sure I'm missing…
0
votes
0 answers

Retrieve post data using ssi

I'm posting some parameters to a shtml file. and I want to retrieve them from c++. I'm done this simply as line below: < !--#include virtual="/cgi-bin/my_file?${QUERY_STRING}"--> ${QUERY_STRING} sends all url parameters to my code. Now the problem…
Sadjad
  • 1
  • 2