I’m trying to set some environmental variables using the .htaccess file which I then access from Perl scripts.
Everything works fine on my PC, but I can’t get the thing to work within my Site5 account. The .htaccess files contains lines like:
SetEnv DB_USER “username”
PassEnv DB_USER
Any idea what the problem is ?
Do I need to change some flag in the Apache server so that it reads my .htaccess file (for example AllowOverride FileInfo). If so I do I do it ?
Many thanks in advance.
Answer #1
Hello,
I hope this reply finds you well!
Unfortunately Apache environmental variables like that cannot be customized on our managed services.
However, we are in the process of launching a new unmanaged VPS product line that will allow you root access and the ability to customize Apache. For more information, please see the following link…
http://www.site5.com/vps/unmanaged/
If you have any questions, please feel free to leave a comment here, or, if you would prefer, you can contact our support department directly by opening a ticket through Backstage.