ssi exec sleep command not working...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • john

    ssi exec sleep command not working...

    I am trying to set up a shtml page that will take 10 seconds for it to
    load to slow down some annoying spiders I have on my website.

    The shtml looks like below:

    <html>
    <head>
    <title>You are a bad netizen if you are a web bot!</title>
    </title>
    <body bgcolor=000000 text=ff00000>
    <h1><b>You are a bad netizen if you are a web bot!</h1></b>

    <!--#config timefmt="%y%j%H %M%S" -->
    <!-- make this page sloooow to load -->
    <!--#exec cmd="sleep 10" -->



    I think the syntax is right, I am able to run the sleep command from
    my command line in Unix so I don't think it is a path issue for the
    ssi. Anyone have any thoughts on why this wouldn't work on my server?
  • Brian

    #2
    Re: ssi exec sleep command not working...

    john wrote:
    [color=blue]
    > <!--#config timefmt="%y%j%H %M%S" -->
    > <!-- make this page sloooow to load -->
    > <!--#exec cmd="sleep 10" -->
    >
    > I think the syntax is right, I am able to run the sleep command from
    > my command line in Unix so I don't think it is a path issue for the
    > ssi. Anyone have any thoughts on why this wouldn't work on my server?[/color]

    No, but as this is an html group, I may not be the best person to ask.
    (Have you looked for groups where someone is more likely to know the
    answer?)

    A shot in the dark: Perhaps ssi exec is not allowed by your host but
    other ssi stuff is?

    --
    Brian (remove ".invalid" to email me)

    Comment

    Working...