Ignore:
Timestamp:
01/16/10 09:49:39 (14 years ago)
Author:
nanardon
Message:
  • add --forcehttps options to generate url as https://
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts-Web/script/latmos_accounts_web_server.pl

    r554 r605  
    2525my $restart_regex     = '\.yml$|\.yaml$|\.pm$'; 
    2626my $restart_directory = undef; 
     27my $forcehttps        = 0; 
    2728 
    2829my @argv = @ARGV; 
     
    4041    'restartregex|rr=s'   => \$restart_regex, 
    4142    'restartdirectory=s'  => \$restart_directory, 
     43    'forcehttps'          => \$forcehttps, 
    4244); 
    4345 
     
    4951if ( $debug ) { 
    5052    $ENV{CATALYST_DEBUG} = 1; 
     53} 
     54if ( $forcehttps ) { 
     55    $ENV{HTTPS} = 'ON'; 
    5156} 
    5257 
     
    104109                      modified files 
    105110                      (defaults to '../') 
     111   -forcehttps        force url to https 
    106112 
    107113 See also: 
Note: See TracChangeset for help on using the changeset viewer.