require https for stats directory

Discussion in 'Tips/Tricks/Mods' started by ctql, Jan 13, 2010.

  1. ctql

    ctql New Member HowtoForge Supporter

    Does anyone know how to require HTTPS for access to the stats directory? ControlScan is giving some of my customers crap for it.

    I've tried adding rewrite rules to stats/.htaccess but the auth gets processed first. I think something needs to be added to the Vhosts_ispconfig.conf but my attempts there have failed as well.
  2. falko

    falko Super Moderator ISPConfig Developer

  3. ctql

    ctql New Member HowtoForge Supporter

    mod_rewrite won't work

    I don't think you read the whole post. It doesn't work on apache realms because the auth module is run BEFORE mod_rewrite.

Share This Page