Archive for the ‘Tips and Tricks’ Category
Configuring the Kernel for multicast
To use multicast, the kernel configuration requires the CONFIG_IP_MULTICAST option to be set.
Use ifconfig to enable and disable all-multicast mode. Disable promisc by running:
Simple code on perl for tracking of list of IP of DNS name:
ErrorDocument 403 http://servername.com/403.php
> apachectl -M | grep uniq
– So Allow does not work in Google? Only Disallow?
– There is no such thing as Allow in the robots.txt standard. You can only Disallow things… BUT:
Google accepts some syntax which is not included in The standard and they spell out how to use it. Allow is an acceptable way to have google crawl a few specific files when all of them are disallowed as a default such as Disallow: /*.php. If it didn't work like that they would not be able to retrieve my php sitemaps which they are doing regularly. This is how you can disallow "all" and allow "some" for Google, it needs to be in this order: Disallow: /directory/*.asp Allow: /directory/filename.asp Allow: /directory/filename-2.php
I looked it up so you can go and read more about it if you like:
Permalink version (Custom – /%category%/%postname%.php):
You can turn off canonical redirection by putting this into your plugins directory:
Read the rest of this entry »
File of configuration:
/dev/sg2 -a -d megaraid,N -T permissive -o on -S on -W 5,30,35 -s (S/../.././11|L/../../7/03) -m email@example.com, firstname.lastname@example.org -M test -M diminishing -M exec /etc/smartd_mail.sh /dev/sda -a -d sat -T permissive -o on -S on -W 5,30,35 -s (S/../.././11|L/../../7/03) -m email@example.com,firstname.lastname@example.org -M test -M diminishing -M exec /etc/smartd_mail.sh
If mod_proxy is commented out but you are using php5. Tried putting this statement http.allowed_methods = GET & POST into /*/php.ini But it had no effect? The best solution was to add an location declarative with a LimitExcept. The location in the httpd-conf where to place this is very important.