[users@httpd] SSI and CGI execution

2019-10-14 Thread Tom Browder
I am successfully using CGI progs (written in the Perl and Raku programming languages), but they are standalone and execute their tasks when called in either of these ways: 1. as an SSI program in the section of an .shtml page: 2. as an href link in the section of an .html or .shtml page:

[users@httpd] SSI and variable expansion with unary operators

2019-03-04 Thread Paul Webster
Hello, I had expected the expression below to print out "File index.htm exists" given that it does exist in same location as the page that loads this ... but instead it tells me that it does not exist. File exists File does not exist If I replace with then it does find

[users@httpd] SSI/website rendering errors

2017-12-18 Thread Joel Miller
I thank both of you for your responses. I was simply trying to determine if similar issues had arisen with Apache - I didn't expect a resolution for a LiteSpeed problem. As it turns out, LiteSpeed rolled out an update last evening which fixed the SSI errors. -

Re: [users@httpd] SSI/website rendering errors

2017-12-14 Thread Yehuda Katz
LiteSpeed is a commercial web server all by itself and has nothing to do with Apache HTTPD. If you are running LiteSpeed, you aren't running HTTPD and we can't do anything to help you. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Dec 14, 2017 6:07 PM, wrote:

Re: [users@httpd] SSI/website rendering errors

2017-12-14 Thread Richard
> Date: Thursday, December 14, 2017 23:07:37 + > From: jm07...@lycos.com > > Although my website was functioning properly on Monday, 12/11/17, it > exhibited several errors the following day (12/12/17). No changes > were made to any of the files after 12/6 (the last being an SSI > text file o

[users@httpd] SSI/website rendering errors

2017-12-14 Thread jm07052
Although my website was functioning properly on Monday, 12/11/17, it exhibited several errors the following day (12/12/17). No changes were made to any of the files after 12/6 (the last being an SSI text file on 12/6). Several of the base html files are nearly nine years old (I modify the SSI inclu

Re: [users@httpd] SSI conditionals AFTER apache auth?

2017-11-14 Thread Eric Covener
On Mon, Nov 13, 2017 at 8:28 PM, Adam Vest wrote: > Evening everyone, > > I'm trying to make it so that only certain elements on a web page are > visible to users logged in, and are otherwise not displayed using > mod_include flow control. The only way I've been able to do that so far is > to dete

[users@httpd] SSI conditionals AFTER apache auth?

2017-11-13 Thread Adam Vest
Evening everyone, I'm trying to make it so that only certain elements on a web page are visible to users logged in, and are otherwise not displayed using mod_include flow control . The only way I've been able to do that so f

Re: [users@httpd] SSI

2016-03-12 Thread Kees Nuyt
On Sat, 12 Mar 2016 11:05:06 -0800, Jack wrote: > Halaluia! I just found the problem. After discovering the log > files at /private/var/log/apache2, I read the log and found > the error "an unknown filter was not added: includes”. > So, that led me to think that some module was not loaded > and th

Re: [users@httpd] SSI

2016-03-12 Thread Jack Penkethman
Halaluia! I just found the problem. After discovering the log files at /private/var/log/apache2, I read the log and found the error "an unknown filter was not added: includes”. So, that led me to think that some module was not loaded and that was eventually found to be mod_include! Lesson: Read

Re: [users@httpd] SSI

2016-03-12 Thread Jack Penkethman
Thank you Kees Nuyt! It’s exciting to have help. But, I’m not there yet. I made the change to DirectoryIndex and I no longer get the directory and I do get my page. But I do not get the html file loaded into the home.shtml file. Here are all the changes I’ve made (that I’m aware of anyway!) plu

Re: [users@httpd] SSI

2016-03-12 Thread Kees Nuyt
On Fri, 11 Mar 2016 22:24:56 -0800, you wrote: >Can't get SSI working. I may have munched something inadvertently. >Using Apache 2.4 on my MacBook >Put "Options +Includes" in "/Library/WebServer/Documents"> >Took out the #'s before: >AddType text/html .shtml >AddOutputFilter INCLUDES .shtm

[users@httpd] SSI

2016-03-11 Thread Jack Penkethman
Can't get SSI working. I may have munched something inadvertently. Using Apache 2.4 on my MacBook Put "Options +Includes" in Took out the #'s before: AddType text/html .shtml AddOutputFilter INCLUDES .shtml Put in my file home.shtml But! mainmenu fails to load. I just get: Index of / [

Re: [users@httpd] SSI question

2016-03-01 Thread Dave Shaw
On 2/29/16, Yehuda Katz wrote: > The per-user error log in cPanel - and likely other control panels - is not > always accurate and you may need to check the main server error log. So the error that's arising from is the following: [date][error[client IP] unable to include "/some.html"

Re: [users@httpd] SSI question

2016-02-29 Thread Dave Shaw
On 2/29/16, Yehuda Katz wrote: > Is this commercial service using cPanel by any chance? It is. I'll see what else I can dig out. Dave - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail

Re: [users@httpd] SSI question

2016-02-29 Thread Yehuda Katz
Is this commercial service using cPanel by any chance? The per-user error log in cPanel - and likely other control panels - is not always accurate and you may need to check the main server error log. You haven't posted a specific config so I tested the general idea of what you posted and had no is

Re: [users@httpd] SSI question

2016-02-29 Thread Dave Shaw
On 2/28/16, Yehuda Katz wrote: > Have you checked the error log? The error log the commercial service is showing us indicates no errors > What did you do to require passwords? An "AuthUserFile" entry was made in .htaccess for the directory indicating an associated password stored in the .htpas

Re: [users@httpd] SSI question

2016-02-28 Thread Yehuda Katz
Have you checked the error log? What did you do to require passwords? - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Feb 28, 2016 12:35 PM, "Dave Shaw" wrote: > Greetings-- We're setting up a website on a commercially-hosted server > that supports SSI. The we

[users@httpd] SSI question

2016-02-28 Thread Dave Shaw
Greetings-- We're setting up a website on a commercially-hosted server that supports SSI. The website includes a number of sub-directories. In a 1st-level subdirectory we have some html that includes similar to: and All this has been working fine. We now want to password protect access

Re: [users@httpd] SSI #virtual script and cache control: recommendations?

2015-09-04 Thread Tom Browder
On Fri, Sep 4, 2015 at 8:36 AM, Eric Covener wrote: > On Fri, Sep 4, 2015 at 8:33 AM, Tom Browder wrote: >> Problem: The documentation for mod_expires is pretty clear, but it >> doesn't look like I can specify a separate expiration time for >> "index.html" versus other html files. Does anyone kn

Re: [users@httpd] SSI #virtual script and cache control: recommendations?

2015-09-04 Thread Eric Covener
On Fri, Sep 4, 2015 at 8:33 AM, Tom Browder wrote: > Problem: The documentation for mod_expires is pretty clear, but it > doesn't look like I can specify a separate expiration time for > "index.html" versus other html files. Does anyone know of a way to do > that? You can use mod_expires direct

[users@httpd] SSI #virtual script and cache control: recommendations?

2015-09-04 Thread Tom Browder
I am using an SSI virtual script (only in index.html) which records page access time in a database. My definition of page access time is one hour, that is, the client gets credit for only one access per hour. Unfortunately, my default setup is such that I'm currently not specifying any caching for

[users@httpd] SSI best practice: XbitHack or .shtml

2015-08-25 Thread Tom Browder
Anyone have an opinion of the best way to indicate an SSI file to be scanned? Best, -Tom - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] SSI directives not working on page used in ErrorDocument directive

2015-07-23 Thread eigenbrais1
Firstly SSI directives are working on my server. If i access the file directly everything functions as expected. Working example & file path explanation - 1. Enter in browser: http://example.com/apps/pagenotfound/index.html 2. This is a symlink to: /temp/comp/apps/applayer/index.html The issue a

Re: [users@httpd] SSI / .shtml expressions /

2014-09-17 Thread Simen Mangseth
Okay, thanks. It isn’t that important for me to get the SSILegacyExprParser off if it’s already on in my configuration. I don’t have access to WHM. But if the SSILegacyExprParser is on for me, why won’t this work?: Shouldn’t it, if the legacy syntax is on? /Simen Fra: Yehuda Katz Send

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
This might be better on a cPanel forum, since it seems that Apache is working as expected. If you have access to WHM, you could modify /var/cpanel/templates/apache2_4/vhost.default to remove the "SSILegacyExprParser On" and rebuild your config (/usr/local/cpanel/bin/build_apache_conf). - Y On Mon

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Simen Mangseth
I’ve copied that code into .htaccess (with the sitename change, of course), but it doesn’t appear to have an effect. Maybe you could use the live sites to find out if there’s anything wrong with them? http://dd.no/404.shtml http://dans.no/404.shtml http://ddcountry.no/404.shtml http://gullsk

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
Except for the one "$side = ddcountry" which you missed converting... On Mon, Sep 15, 2014 at 12:03 PM, Yehuda Katz wrote: > EasyApache is the cPanel program that builds the Apache (and PHP) binaries > and config files, so if you use cPanel, you use EasyApache. > > I looked on my cPanel server a

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
EasyApache is the cPanel program that builds the Apache (and PHP) binaries and config files, so if you use cPanel, you use EasyApache. I looked on my cPanel server and found this directive: SSILegacyExprParser On You should be able to put SSILegacyExprParser Off in your .htacc

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Simen Mangseth
To take the good news first, I changed it to the echo element, and the encoding now works. Thanks. However, the expressions still refuses to work. I’m thinking maybe I already have the legacy filter on, because I read here that cPanel puts on that setting if you’re using EasyApache. I don’t kn

Re: [users@httpd] SSI / .shtml expressions /

2014-09-14 Thread Yehuda Katz
On Sun, Sep 14, 2014 at 4:03 AM, Simen Mangseth wrote: > Thanks for your reply, Yehuda. However, I can’t get any of your > suggestions to work. You can get the whole file if you want, but for the > time being, I’ll just send the pieces of code that doesn’t work. > > Here’s the new if-code: > >

Re: [users@httpd] SSI / .shtml expressions /

2014-09-14 Thread Simen Mangseth
Thanks for your reply, Yehuda. However, I can’t get any of your suggestions to work. You can get the whole file if you want, but for the time being, I’ll just send the pieces of code that doesn’t work. Here’s the new if-code: Now nothing works, not even the two last ones with no “||

Re: [users@httpd] SSI / .shtml expressions /

2014-09-13 Thread Yehuda Katz
On Sat, Sep 13, 2014 at 9:53 AM, Simen Mangseth wrote: > I have two questions regarding SSI and .shtml files. > > 1: I’m using Apache 2.4, and now I can’t write like this anymore: > The simplest option might be to enable the Legacy Expression PArser: SSILegacyExprParser on http://httpd.apache.o

[users@httpd] SSI / .shtml expressions /

2014-09-13 Thread Simen Mangseth
I have two questions regarding SSI and .shtml files. 1: I’m using Apache 2.4, and now I can’t write like this anymore: I’ve read that there’s a new syntax, but on the website I don’t understand it, even after reading It many times. So the question is: How do I transform this simple express

Re: [users@httpd] SSI not using locale settings for dates

2014-05-04 Thread Walter H.
On 04.05.2014 12:29, Roel Wagenaar wrote: L.S. In spite of the fact that all my webservers are set to my locale, dates inserted via ssi are always in "C", as it appears, is this intentional or have I missed a config option? Apache2 2.22 on Debian 7 try to set the time format e.g. || if this

[users@httpd] SSI not using locale settings for dates

2014-05-04 Thread Roel Wagenaar
L.S. In spite of the fact that all my webservers are set to my locale, dates inserted via ssi are always in "C", as it appears, is this intentional or have I missed a config option? Apache2 2.22 on Debian 7 -- Roel Wagenaar, Linux-User #469851 with the Linux Counter; http://linuxcounter.net/

Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread Geoff Millikan
We had a lot of problems w/SSI, deflate and caching. The deflate and the SSI and the cacheing just fought each other. Sometimes it would work, sometimes we got corrupted junk - but it was usually more messed up that just some dashes like you have. But if you've turned off mod_cache, deleted t

Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Just another quick data points, this is centos 6.5 with apache 2.2.15 installed via yum $ cat /etc/*release* CentOS release 6.5 (Final) LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch cat: /etc/

Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
I tried uncommenting mod_cache from httpd.conf, but that did not resolve the issue. Here is another example, the next include in the list (this is a javascript file) is modernizr, here's how it looks after mod_include: u+conteionId=b;i(= .fail]mdoc u+cont, )ra0ara", loaefinth.) { nupB Reafhn

Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Also I apologize for the "top-post" I don't know how to turn that off in gmail but I have an SO question for that too http://stackoverflow.com/questions/21394987/gmail-how-do-i-not-top-post-in-gmail-replies How could mod_cache be causing this? On Mon, Jan 27, 2014 at 5:02 PM, David Williams w

Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Yes I am, httpd.conf:54 LoadModule cache_module modules/mod_cache.so On Mon, Jan 27, 2014 at 5:00 PM, Geoff Millikan wrote: > Are you using mod_cache? >

RE: [users@httpd] SSI is destroying my file

2014-01-27 Thread Geoff Millikan
Are you using mod_cache?

[users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Hi all, First of all, I wrote up this issue in a Stack Overflow question http://stackoverflow.com/questions/21392764/apache-ssi-is-corrupting-my-file Take a look at this, before and after SSI. If I simply remove this section, the corruption moves down further. What could be causing this? Thes

Re: [users@httpd] ssi not working on virtual host

2013-07-02 Thread c cc
Hi, Thanks for your email. Yes, I do have Options +Includes; the strange thing is that the first virtual host works fine, but the others don't. On Tue, Jul 2, 2013 at 7:24 PM, Igor Cicimov wrote: > > > > On Wed, Jul 3, 2013 at 4:36 AM, c cc wrote: > >> Hello all, >> >> I am using CentOS 6.0

Re: [users@httpd] ssi not working on virtual host

2013-07-02 Thread Igor Cicimov
On Wed, Jul 3, 2013 at 4:36 AM, c cc wrote: > Hello all, > > I am using CentOS 6.0 with Apache 2.2.15, and set up Apache with virtual > host. The SSI works fine on the first VH, but ssi on the other virtual > hosts does not work. I got the following message in the error log: > > > mod_include: Op

[users@httpd] ssi not working on virtual host

2013-07-02 Thread c cc
Hello all, I am using CentOS 6.0 with Apache 2.2.15, and set up Apache with virtual host. The SSI works fine on the first VH, but ssi on the other virtual hosts does not work. I got the following message in the error log: mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES fi

[users@httpd] SSI not International

2013-06-23 Thread Roel Wagenaar
L.S. Much to my surprise, the output of: is showing us-english day and month names instead of localized versions, can this behaviour be configured somewhere? Is SSI not following the locale? -- Roel Wagenaar, Linux-User #469851 with the Linux Counter; http://linuxcounter.net/ Antw.: Omdat

Re: [users@httpd] SSI not working

2012-07-18 Thread Pete Houston
On Wed, Jul 18, 2012 at 06:00:45PM -0400, Dunkle, Edward (Edward) wrote: > Options +IncludesNOEXEC FollowSymLinks Don't do that. If you mix +/- options with non-+/- options you'll have problems. Instead use maybe Options +IncludesNOEXEC +FollowSymLinks HTH, Pete -- Openstrike

[users@httpd] SSI not working

2012-07-18 Thread Dunkle, Edward (Edward)
This is driving me crazy ;-) I have it working in my local win NT box but not on our Linux test server running 2.0.48. (yea I know it's old but it's been working fine) It's compiled in so I don't need to load the module, right? [root@adgsit2web apache2]# /usr/local/apache2/sbin/httpd_wag

[users@httpd] SSI, Servlet Container and JSESSIONID (Cookie Values)

2012-05-02 Thread ueli . kurmann
Hi there We have an Apache httpd configuration issue in combination with SSI, a servlet container and the session id. Problem Description We are using Apache httpd as a front-end and a transparent cache with a servlet container behind of it. Cache hits are returned transparently by the cache, c

Re: [users@httpd] SSI and Directory Based Urls

2005-06-29 Thread Joshua Slive
On 6/29/05, Tod B. Schmidt <[EMAIL PROTECTED]> wrote: > > I am trying to use an SSI based redirect script (legacy website) and moving > from apache1.3 to apache2.0 the web server now gives a 404 when trying to > access the shtml file. > > Here is an example of the url that is not parsed correct

[users@httpd] SSI and Directory Based Urls

2005-06-29 Thread Tod B. Schmidt
I am trying to use an SSI based redirect script (legacy website) and moving from apache1.3 to apache2.0 the web server now gives a 404 when trying to access the shtml file. Here is an example of the url that is not parsed correctly /ligasExternas/redir_http.shtml/www.somedomain.com Apache2 se

[users@httpd] SSI command #flastmod not working on directories (apache2)

2005-05-20 Thread flameboy
I moved my website to a new server using apache2 instead of apache1.3 and have come to find out that i am unable to get the modification date of directories using SSI. Everything between the two servers is identical, and the command works fine on any non-directory. the folder is chmodded 777 i am