Wordpress has a nice feature of moving Wp-Content folder to a different place. This can be helpful for Content Delivery Network management. Wp-Content directory include all theme files, plugins and any uploads you have.
We can use Content Delivery Network to parallelize the connection in Browser and distribute the loads on server.
Head to wp-config.php file in [...]
Solution for Fatal error: Maximum Execution Time of xx Second Exceeded
“Essential PHP Security” is an essential book for experienced PHP programmer. It discusses essential security measures you can take for making your PHP applications secure. Even if there are another team for your high profile web site’s security then also it is very useful. You will learn about many php.ini configurations and good programming practices [...]
You need to configure apache a little for telling how to execute php files.For making php work with apache you first dump php suppose c:\php501\. Then add these lines to your apache httpd.conf file. ScriptAlias /php/ “c:/php501/”AddType application/x-httpd-php .phpAction application/x-httpd-php “/php/php-cgi.exe”
First check your apache server is running correctly. If it is serving your html pages [...]
Want to start learning Apache configuration settings. Start with these settings:
Server root. All files conf, htdocs, etc under it.ServerRoot “C:/Program Files/Apache Group/Apache2″
Script timeout:Timeout 300
Keep connection alive time:KeepAlive On
Max. request accepted keep alive request:MaxKeepAliveRequests 100
Keep Alive timeout:KeepAliveTimeout 15
Registered DNS name, or IP address hereServerName localhost:80
DocumentRoot: The directory out of which you will serve your documents.DocumentRoot “C:/Program [...]
The file php.ini is used for setting php directive value. It changes the php’s behaviors.
What is php.ini file?PHP will dump php.ini file as php.ini.dist and php.ini.recommended. In the absence of php.ini file php can use the default built-in configuration value. Rename php.ini.recommended file to php.ini and place it on the right place.
On window php.ini can [...]
You can customize the message shown to user when they access Forbidden web page. This is 403 status code header sent by server to browser.
Forbidden
You don’t have permission to access … on this server.Apache …. Server ……..
Just add this line to your Apache Config file (httpd):ErrorDocument 403 /forbidden.html
Create file forbidden.html page into your doc_root [...]
What to do for files which are not login protected but not for public viewing? Visiting there directly can be a security risk also.