Postings by Adam

SSI conditionals not accepting "||" or "&&"

Good afternoon all,

I've been tinkering with setting up SSI's in some HTML of mine, and
one thing I'm trying to do is have the server decide if it should post
a signup link, or display a logged-in users name (using perl cgi

"Define" directive is ALWAYS parsed

I'm working on a way of making specific content available only under
certain circumstances, and I believe the best way to go about this is
to use the "Define" directive, then do some stuff within "<IfDefine
...>" wrappers. The problem is, no matter what kind of conditional
stuff I put around the Define line, it is always parsed.
<If "%{HTTP_USER_AGENT} =~ /curl/>
Define myvar
With the above, the "myvar" parameter will always be defined for every
request, regardless of user-agent.