Help for this page

Select Code to Download


  1. or download this
      while (<>) {
        my ($host, $ident_user, $auth_user, $date, $time,
                $time_zone, $method, $url, $protocol, $status, $bytes) = 
        /^(\S+) (\S+) (\S+) \[([^:]+):(\d+:\d+:\d+) ([^\]]+\] "(\S+) (.+?)
    + (\S+)" (\S+) (\S+)$/;
        ...
    
  2. or download this
      % htpasswd .htpasswd 'd w s'
      New password:
      Re-type new password:
      Adding password for user d w s
      %
    
  3. or download this
      /^(\S+) (\S+) (\S+) \[ ...
  4. or download this
      /^(\S+) (\S+) (.+) \[ ...