htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: SetEnv to Specify CGI/Apache Error Log
PostPosted: 03 Oct 2006 02:25 
Offline
User avatar

Joined: 25 Sep 2006 04:48
Posts: 242
Sometimes your web site host uses environment variables to specify the error log file. In that case, just set it where you want.

Code:
SetEnv ERRLOG /error.log


The ErrorLog feature allows you to specify the local UNIX path to store your server error logs. These logs contain errors that visitors have encountered on your website. To specify a custom error log on your account, insert the following code:

Code:
ErrorLog /logs/error_log.log


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB