Archive

Posts Tagged ‘.htaccess’

.htaccess Allow IP-range

September 12th, 2009 No comments
.htaccess Allow IP-range .htaccess example,if you want to allow access from the ip-range: Order Deny,Allow Deny from all Allow from 123. Allow from 234.123. Allow from 127.0.0.1 this .htaccess will Allow acces from IP-range: 123.xxx.xxx.xxx, 234.123.xxx.xxx and 127.0.0.1.
Categories: Hosting, Networking Tags: , , , ,

Increase PHP’s memory limit

August 16th, 2009 No comments
Increase PHP’s memory limit Three methods for increasing PHP memory limit on your server: in php.ini file memory_limit = 32M to your --------- in your default settings file ini_set('memory_limit', '32M'); --------- in your .htaccess file php_value memory_limit 32M
Categories: PhP, Tech Tags: , , , ,

Linux – Disabling PHP Safe Mode for a specific folder

May 27th, 2009 1 comment
Linux – Disabling PHP Safe Mode for a specific folder using .htaccess file: create the .htaccess file the content of the .htaccess file should be: php_value safe_mode "1" using php.ini file upload to specific folder the php.ini file in php.ini enter this command safe_mode = Off for globall efect, search php.ini in /etc/ folder and chnage safe_mode = ...

Enable or Disable directory/folder listings

January 25th, 2009 No comments
Enable or Disable directory/folder listings If when accessing any folder which does not contain an index file (ex: http://yourtestdomain.com/folder/) a directory listing will be shown displaying a list of the files in that folder. Simply adding a zero size (0 byte) text file named “index.html” ...
GoCache - ByREV-Cache v1.0 - live served in : 0.367967 sec (gzip)