Apache setenvif

Discussion in 'HOWTO-Related Questions' started by bic, Oct 2, 2007.

  1. bic

    bic New Member

    Regarding http://www.howtoforge.com/setenvif_apache2

    I'd like to not log based on a cookie

    "WT_FPC=31209:312jkl; JSESSIONID=0000t1mwxTggIv:-1; WASReqURL=/devadmin; testsite=00004dPVY7ZW8WCbrNswL:126pftqup; sess=m2gDRsdPQfdseNKtpbTPiJ; ServerIdCookie=mytest.home.com; LoginIdCookie=JSMITH; SESSIONNUM=69534319"

    So not sure if I should do

    SetEnvIf LoginIdCookie "JSMITH" dontlog

    or

    SetEnvIf Cookie "%JSMISTH%" dontlog
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Try SetEnvIf Cookie ...
     

Share This Page