Menu Close

How to Modify Environment Variable by htaccess file

Environment variables contain information used by server-side includes (SSI) and CGI. Set / Unset environment variables using SetEnv and UnSetEnv.

SetEnv SITE_WEBMASTER "Jack Sprat"
SetEnv SITE_WEBMASTER_URI mailto:Jack.Sprat@characterology.com

UnSetEnv REMOTE_ADDR

 

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

See also  How to Prevent Access to Your php.ini file or any other risky files by htaccess file