[warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer

Submitted by Anonymous (not verified) on Wed, 10/12/2011 - 13:13

As I want to add a forum entry I got Apache's 500 server internel error. i tried to change .htaccess, php-conf etec but no success.

Error was: [warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer: http://example.com/node/add/forum/1

After a research check error-logs of virtual host I found that /etc/apache2/mods-available/fcgid.conf must be changed.

I added following directive:

MaxRequestLen 157286400

300 Websites WorldWide with Google Pagerank 9

Submitted by Anonymous (not verified) on Fri, 09/23/2011 - 12:24

PageRank is a website analysis algorithm of Google with the purpose of "measuring" its relative importance to other websites on the web. After Google's new search alghoritm "Panda" it is getting less importance while sorting search results.

Nearly 300 domains -with PR9- listet alphabetically:

1malaysia.com.my
aacsb.edu
amazon.com
andreasviklund.com
apache.org
apple.com
arwu.org
auf.org
baic.gov.cn
baidu.cn
baidu.com
basbakanlik.gov.tr
bbc.co.uk
beniculturali.it
berkeley.edu
bigtennetwork.com
bireme.br
bl.uk
bloglines.com
bmbf.de
bne.es
bnet.co.uk
bnet.com

Mysql: update weight by an auto-incremented string created on the fly

Submitted by Anonymous (not verified) on Fri, 09/23/2011 - 11:52

I had a problem with Drupal6 by sorting tags. Mysql can sort or place some non-ascii letters correctly but PHP can not.

Example: I have a list of cities and I want to sort them by first letter. I want that "ívori" and "îwata" beeing listet with "Ibiza" under "i". PHP places both ívori and îwata after Z. To prevent this I update "weight" manually with mysql and sort them by weight instead of alpha.

select @my_temp_counter:=0;
update `term_data` set weight = (@my_temp_counter:=@my_temp_counter+1) order by name;

List of Domains with Google PageRank 10

Submitted by Anonymous (not verified) on Fri, 09/09/2011 - 11:04

Google updated Pagerank database in august 2011. Here is a list of top 10 Domains with Google PageRank 10.

google.com

facebook.com (social media)

cnn.com (us-american news company)

addthis.com (social bookmarking script)

miibeian.gov.cn (Chinese Goverment)

gmodules.com (a service of Google)

usa.gov (US Goverment)

hhs.gov (US-Department of Health and Human services)

unesco.org

piwik.org (PHP-Mysql based real time web analytics software, open source alternative to Google Analytics)

CSS hierarchy and inline style sheets

Submitted by Anonymous (not verified) on Thu, 07/07/2011 - 11:33

I have a problem with inline stylesheets. I like to use inline style sheets instead of using css code in head section of an html page or an external .css file.

Example:


But I have a problem when I want it to ffect just a part of subelement and not other paralell elements.

Example 2:


    • ...

I want to my third-level "ul" have border but second-level not. I can do it with css code like this:

div ul { border: none; }
div ul li ul { border: 1px solid red; }

Print Screenshot of one monitor while using dual-monitore system

Submitted by Anonymous (not verified) on Wed, 04/27/2011 - 09:55

I am using an i7 box with dual monitore: HP Compaq and Samsung. I want to get screenshot of the right monitore which is vertically placed. If I press on "print" key I get a wide screenshot of both monitors.

My first monitore is placed horizontally and has a width of: 1920x1200px

Second one: 1200x1920px

When I press on PRINT I get an image :

3120x1920px

To get active monitor: ALT + PRINT

Failed to modify server : AWstats reporting is already enabled for this domain

Submitted by Anonymous (not verified) on Wed, 04/20/2011 - 19:22

I have a problem: I have a website which is older than 10 years. I was using a cpanel-whm server till 4 years ago. Than I changed to a Debian Lamp server with webmin. And upgraded the server last month. I had migrated cpanel-backups to webmin and after upgrade migrated webmin-backups to new webmin on new server. Awstats is not checked and not to see under logs tab. But when I try to check and activate Awstats under "edit virtual server" tab, I get this error: Failed to modify server : AWstats reporting is already enabled for this domain.

How can I pass this error? Thanks