This information is ONLY relevant to PHP4 and Apache 1.3. (BUT possible can be work also in PHP 5.x and Apache 2.x ) We historically used PHP for all our web work. We have decided to migrate to ruby for lots of reasons for all our new web development but we still have lots of [...]
Posted on March 24th, 2009 by Denie
Filed under: PHP, SSI, Tutorials | No Comments »
Question:
I am having troubles with serverpronto bots attacking my site in droves.
How would I block this range of ip address in .htaccess using deny:
69.60.114.0 – 69.60.125.255
for example, to block one ip I would have:
Deny from 64.251.14.99
But how would I block the whole range given?
Thank you in advance
jdMorgan
Answer:
Posted on March 21st, 2009 by Denie
Filed under: Apache, Tutorials | No Comments »
How to set PHP error notice hidden in httpd.conf (vhost):
<VirtualHost *:80>
…
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
…
</VirtualHost>
How to set individual php.ini in httpd.conf (vhost):
<VirtualHost *:80>
…
PHPIniDir ‘/path/to/php/conf/php-foo.ini’
…
</VirtualHost>
How to set individual PHPError.log in httpd.conf (vhost):
<VirtualHost *:80>
…
php_flag [...]
Posted on March 13th, 2009 by Denie
Filed under: Apache, HTML, PHP, Tutorials | No Comments »