Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts

Thursday, 4 October 2012

Apache: Deny access from certain IP

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\httpd.conf

<Directory />

   Order Allow,Deny
   Deny         from n.n.n.n
   Allow from All
   AllowOverride All 
</Directory>



Thursday, 30 August 2012

ALV

The term:
A: Application
L: List 
V: Viewer
 A term specially used for reports analyzers.


The product ;)
Apache Log Viewer
http://www.apacheviewer.com/function.php
This is a nice free log analyzer

Tuesday, 12 June 2012

Enabling PHP error logging

Within the PHP directory, open php.ini



display_errors = Off (This will redirect the errors from end users)
error_log = "php_error_log .log"


Then restart the Apache server, you should now find the log file within the PHP folder.

Monday, 11 June 2012

Difference between PHP VC6 and PHP VC9

VC6: Compiled using Microsoft ver. 6 C++ compiler
VC9: Compiled using Microsoft 2008 C++ compiler

Of course VC9 provides improvements in performance and stability.
http://php.net/manual/en/install.windows.manual.php

However, if you are using Apache 1 or 2, you have to choose VC6.