Craig,

Good question.  When I copy that page to my /home/userid/public_html
directory as index.html, _some_ of the dynamic commands work, and others do
not.  I don't know a lot about that kind of embedded scripting, but I would
imagine it's got something to do with various security settings in
/etc/httpd/httpd.conf.  Certain directories are probably "trusted" while
others are not.

Mark Post

-----Original Message-----
From: Kittendorf, Craig [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 3:57 PM
To: [EMAIL PROTECTED]
Subject: Apachee Newbie question


On SuSE installation of Linux for S/390, I copied index.html to index2.html
in same directory.  When I open index.html in a browser (MS IE) it looks
fine.  When opening index2.html, some of the <!--#exec cmd scripts do not
work.  For example the following:

<!--#exec cmd='
        if test -d /usr/share/doc/susehilf/ ; then
                echo "                  <LI><A HREF=\"doc/susehilf/\">SuSE
Help Pages</A>"
        else
                echo "                  <LI>SuSE Help Pages are not
installed"
        fi

        if test -d /usr/share/doc/sdb/en/html/ ; then
                echo "                  <LI><A
HREF=\"doc/sdb/en/html/index.html\">SuSE Support Database</A>"
        else
                echo "                  <LI>English SuSE Support Database is
not installed"
        fi
' -->

What's breaking?

Thanks,
     Craig Kittendorf
     Systems Programmer

Reply via email to