Custom Protein Expression
Functional Protein, 95% Purity
Fast turnaround (2-3 weeks)
1-10 mg from E. Coli expression
for only $1790
No outsourcing to China or India


in vitro Protein Synthesis
Full-length protein in 1 week
95% Purity, From any gene
(toxic or membrane proteins)
Isotopic Labelling for NMR

50 µg~3 mg, $390 to $2500
Excellgen

Archive for March, 2008

How to redirect http to https (SSL) using .htaccess and mod_rewrite with Apache web server

If you want to use https (SSL) for the entire web site, edit .htaccess and add the following lines:


RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.my-site.com/$1 [R,L]

if you want to enforece https (SSL) for a paticular directory (and sub-directories), create an .htaccess file with the following lines:



RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} my_directory
RewriteRule ^(.*)$ https://www.my-site.com/my_directory/$1 [R,L]

Make sure you turn on RewriteEngine in your httpd.conf file:

RewriteEngine on

Then restart apache

apachectl restart

Comments

Easy way to upgrade PHP 5.1 to 5.2 and install XCache on CentOS 5

Comments

Protect Your Web Server from Security Attacks using ModSecurity

1, install httpd-devel, and subversion-devel

yum install httpd-devel

yum install subversion-devel

2, Downlaod and install ModSecurity

wget http://www.jasonlitka.com/media/EL4/i386/mod_security-2.5.0-jason.2.i386.rpm

or wget http://www.jasonlitka.com/media/EL5/i386/mod_security-2.1.4-1.jason.2.i386.rpm

rpm -i mod_security-2.5.0-jason.2.i386.rpm

rpm -i mod_security-2.1.4-1.jason.2.i386.rpm

3, Check if the module is installed:

ls -la /usr/lib/httpd/modules/mod_security2.so

4, restart apache

apachectl restart

5, Regularly monitor log files :

/var/log/httpd/modsec_audit.log

/var/log/httpd/modsec_debug.log

6, If you installed wrong version, use the following command to remove the wrong version/module

yum remove mod_security

7, You can use yum install mod_security command to install mod_security if you create a file /etc/yum.repos.d/utterramblings.repo with the following lines

[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

but this won’t allow you to select which version to install.

mod_security-2.5.0 is not compatible with PHP 5.1, so for PHP5.1 you need to install mod_security-2.1.4-1.

Jason Litka’s PHP 5.2.5 has a bug with SSL, so if you have a shopping cart (Zen Cart) it will break your shopping cart.

Note:

Ref:

http://www.modsecurity.org/

http://www.jasonlitka.com/yum-repository/

http://www.jasonlitka.com/2007/08/24/mod-security-packages-now-available/

http://www.jasonlitka.com/2008/01/23/recent-repo-updates-modsecurity-xcache-httpd/

http://www.jasonlitka.com/media/EL5/i386/

http://www.g-loaded.eu/2006/08/24/modsecurity-overview/

http://www.eth0.us/mod_security

http://www.gotroot.com/tiki-index.php?page=Setting+up+mod_security

http://www.gotroot.com/tiki-index.php?page=mod_security+rules

Comments

Next Page » Next Page » Next »

Sponsored Links Lab Supply Mall http://www.labsupplymall.com

Protein expression & purification: E. Coli, insect and mammalian cells
Fast turn around, 3 mg of >95% purity functional protein. No outsourcing to China or India. $2500, $1800
Functional Recombinant Proteins by in vitro Protein Synthesis, 3 days, 95% Purity
Full-length, high quality protein, high yield, high throughput, any genes (toxic, low GC content), membrane proteins, isotopic labelling. $598, $398
GeneExpresso DNA Transfection Reagent
Low Cytotoxicity, Higher Transfection Efficiency than Lipofectamine 2000. $188, $138