Looking for a quick way to use a "text" object to store a log – do it in one query using the following … 

UPDATE [TABLE] SET [TXT_COL] = CONCAT(IF([TXT_COL] IS NULL, "", [TXT_COL]), "[DATA]") WHERE ....

If you get something along the lines of -

fatal: unable to rename temporary pack file: Permission denied
Auto packing the repository for optimum performance.
error: failed to run repack
Pushing to ….

When making a push you may have a courrupt pack file within your git repo…

Using the shell you can rebuild the "pack" files by running -

git repack -a -f

Ok – so this didnt fix the problem….

Running git push from the command line gives much more detail than "Git Gui"…

will update this post when we get to the bottom of it…

Ok – problem is with 64bit version of Msysgit – the current beta is broken (1.7.0.2),  We have reverted to Git-1.6.5.1 which doesn't exhibit the problem!

This was copied from – here, I’ve posted this here for referance…

Question: My dedicated server is running ModSecurity, but one of the websites needs it turned off in order to operate correctly. How do I turn it off for just one site?

Answer: Before you proceed, keep in mind the reason you have ModSecurity installed in the first place. It is there to prevent security problems. Turning it off opens up that site and possibly even your server to attacks. The more practical approach would be to turn off certain features of ModSecurity to accommodate that site. By default, the restrictions are pretty stringent. You can ease some of them and still provide blanket security.

Nevertheless, if you insist on turning it off completely on a site, simply enter the following into an .htaccess file for ModSecurity 1:

<ifmodule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

For ModSecurity 2, enter the following in the site’s virtual host section of the Apache configuration file:

<ifmodule mod_security2.c>
SecRuleEngine Off
</ifmodule>


September 2010
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  
August 2010
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031  
July 2010
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
June 2010
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
27282930  
powered by
wordpress
theme and icons by
web-engineer

©2008 web-engineer™
all rights reserved