I am unable to read envoriment variables with mason from my  .htaccess file?   
I am reading the varialbes like  my $value = $ENV{'SYSNAME'};  my .htaccess 
file is below



SetEnv SYSNAME                            GENODE
SetEnv SESSION_DBDRIVER         mysql
SetEnv SESSION_DATABASE        genode
SetEnv SESSION_DBTABLE                           users
SetEnv SESSION_DBSERVER        127.0.0.1
SetEnv SESSION_DBPORT             3306
SetEnv SESSION_DBUSER             sdolan
SetEnv SESSION_DBPASS             $pd5150

SetEnv DEBUG                                   0
#SetEnv SF_AUTH_SERVER                           
ntap02.mediasynd:v12master.mediasynd
#SetEnv SF_BASE_DN                     "DC=MediaSynd"
#SetEnv SF_BIND_DN                     "cn=Administrator,cn=Users,dc=mediasynd"
#SetEnv SF_BIND_PW                    "m...@st3rb@t3"

#SetEnv VDBDRIVER                       mysql
#SetEnv VDATABASE                      postal
#SetEnv VDBSERVER                       127.0.0.1
#SetEnv VDBPORT                           3307
#SetEnv VDBUSER                            scripts
#SetEnv VDBPASS                            7aJN0NiEg

#SetEnv CNTDBDRIVER                  mysql
#SetEnv CNTDATABASE                                 psbh
#SetEnv CNTDBSERVER                                 dgdevelop
#SetEnv CNTDBPORT                      3306
#SetEnv CNTDBUSER                      scripts
#SetEnv CNTDBPASS                      7aJN0NiEg

#SetEnv V12PS                                  postal.v12ps_simple_
#SetEnv V12EPS                                postal.v12epostal
#SetEnv V12EZ                                  postal.v12ezip
#SetEnv V12STATESCITY                                db_reference.us_zips_prov


SetEnv RootPath                              "/genode"

SetEnv APACHE_SESSION_HANDLER Apache::Session::Postgres

SetEnv UPLOAD_TMPDIR /var/www/tmp

SetEnv MAX_UPLOAD_SIZE 16097152;

#SetEnv ExpireSession 60 * 60 * 24 * 30
SetEnv ExpireSession 2592000

SetEnv UseMailServer  1
SetEnv MailerLocalName  v12group.com
SetEnv MailServer                                           localhost

DirectoryIndex index.mas index.m

AddType text/html .mas
AddType text/html .m

PerlSetVar MasonErrorMode fatal

PerlSetVar  MasonCompRoot  'docroot => /var/www/html'
#PerlAddVar  MasonCompRoot  'private => /var/www/mason/components'
PerlSetVar  MasonDataDir   /var/www/mason/data-dir

<Files ~ "\.(m|mas|cmp|(m?)htm(l?))$">
                SetHandler   perl-script
                PerlHandler  HTML::Mason::ApacheHandler
</Files>

#AddHandler send-as-is js css

#<Files ~ "\.(css|js)$">
#              SetHandler   asis-handler
#</Files>

#Options None

#PerlAuthenHandler Apache2::AuthenNTLM
#AuthType basic
#AuthName "Spam Filter"
#require valid-user

#                    domain             pdc                bdc
#PerlAddVar ntdomain "MEDIASYND redbank.mediasynd ntap02.mediasynd"

#PerlSetVar defaultdomain MEDIASYND
#PerlSetVar splitdomainprefix 1
#PerlSetVar ntlmdebug 4
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to