Powered By Blogger

Monday, June 13, 2016

Set super global variable in the server

Please add below code within <VirtualHost> </VirtualHost> tag.
File Path = /etc/apache2/sites-enabled/000-default.conf

# enabled b_rst security encryption key 
SetEnv B_RST_SEC_KEY BRST123456 
SetEnv B_RST_DB b_rst 
SetEnv B_RST_DB_USER_NAME root 
SetEnv B_RST_DB_PASS root 

<Directory /var/www/html> 
Options Indexes FollowSymLinks 
AllowOverride All 
require env B_RST_SEC_KEY 
require env B_RST_DB 
require env B_RST_DB_USER_NAME 
require env B_RST_DB_PASS 
Require all granted 
</Directory>

No comments:

Post a Comment