apache, php, and ssi

From: dave (dmehler26_at_woh.rr.com)
Date: 02/03/04


Date: Tue, 03 Feb 2004 06:36:33 GMT

Hi,
    I've got a site on an apache2 server on FreeBSD 4.9. It's a php enabled
site with various scripts and include files. Now i'd like to add a counter
to that page, i found one that can do multiple pages, doesn't need a
database, but it does need server side includes more specifically the
<!--execcgi or some statement like that to include the counter on the page.
I was wondering in apache2 is it possible to have both of these in a single
page, controlled by various includes? I know this wasn't possible in
apache1, through include files. Or, would there be a better way? A way of
executing this it's a perl script from within the php, making php emulate
ssi to the script's satisfaction?
Thanks.
Dave.



Relevant Pages

  • Re: PHP4 for Apache2: when ?
    ... > Apache2 server is related to subversion which is provided with a ... > apache2 dev_svn module. ... I know I don't need PHP for this but my problem ... Subversion repository? ...
    (Debian-User)
  • Re: Web Server Botnets and Server Farms as Attack Platforms
    ... insecure web application written in PHP, although attacks for other ... The main reason for this is that many different PHP applications are ... and you've found your way to execute shell code on the remote web server. ... those scripts were put in place. ...
    (Bugtraq)
  • Re: [Full-disclosure] Web Server Botnets and Server Farms as Attack Platforms
    ... insecure web application written in PHP, although attacks for other ... The main reason for this is that many different PHP applications are ... and you've found your way to execute shell code on the remote web server. ... those scripts were put in place. ...
    (Full-Disclosure)
  • Re: Post with redirect?
    ... redirection...and how to do a post from php (which you said was ... I said it was impossible to redirect from PHP. ... my claim is NOT that you can redirect post data. ... And all you do is post scripts you've collected off the internet. ...
    (comp.lang.php)
  • php mail() sendmail hanging
    ... When hitting php pages that use the mailfunction, I get a 5 second hang ... dnl Uncomment to allow relaying based on your MX records. ... This can allow sites to use your server as a backup MX without ... You can redirect all of the output of your scripts to a function. ...
    (freebsd-questions)