Monday, June 25, 2007

couldn't create child process: 720003: awstats.pl

"couldn't create child process: 720003: awstats.pl"

Chances are, if you're running this in a Windows & Apache environment you've not configured your awstats.XXXX.conf file yet:

You'll need to:

1. Open the config file for your application:
C:\Program Files\AWStats\wwwroot\cgi-bin\awstats.YOURAPPHERE.conf

2. Search for the following line (or similar):
LogFile="/var/log/httpd/mylog.log"

3. Comment that line as so:
#LogFile="/var/log/httpd/mylog.log"

4. Set the LogFile to the correct location of your Apache Log. E.g.:
LogFile="C:/Program Files/Apache Software Foundation/Apache2.2/logs/access.log"

5. Make sure your LogType is set to 'W' E.g.:
LogType=W

6. For Apache. Make sure your Log Format is set to '4.' E.g.:
LogFormat=4





Wednesday, June 20, 2007

Set Email Priority cum Importance Via ASP Using CDO.Message / CDO Message Importance

Set Email Priority cum Importance Via ASP Using CDO.Message

Works for me:

Set objMessage = Server.CreateObject("CDO.Message")

'YADDA YADDA YADDA

objMessage.Fields("urn:schemas:httpmail:Importance").Value = 2
objMessage.Fields("urn:schemas:mailheader:importance").Value = "High"

objMessage.Fields("urn:schemas:httpmail:priority").Value = 1
objMessage.Fields("urn:schemas:mailheader:priority").Value = 1

objMessage.Fields("urn:schemas:mailheader:X-MSMail-Priority").Value = "High"
objMessage.Fields("urn:schemas:mailheader:X-Priority").Value = 1

objMessage.Fields("urn:schemas:httpmail:X-MSMail-Priority").Value = "High"
objMessage.Fields("urn:schemas:httpmail:X-Priority").Value = 1

'IMPORTANT!
objMessage.Fields.update