【今日观点】 .htaccess 301 强制https
RewriteEngine onRewriteBase /RewriteCond %{SERVER_PORT} !^443$RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R...
RewriteEngine onRewriteBase /RewriteCond %{SERVER_PORT} !^443$RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R...
1.yum -y install gcc gcc-c++ flex make perl unzip bzip2 wget automake autoconf quota libgd.so.2 libdbus-1.so.3 2.wget ht...
.htaccess文件里面写入 <IfModule mod_rewrite.c> RewriteEngine on RewriteRule (plus|member|special|include|data|a|images|t...
UPDATE wp_posts SET post_content = REPLACE(post_content, ‘http://old.com’,’http://new.com’)
/usr/local/bin/php -q /home/user/domains/domain.com/public_html/script.php
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule (plus|member|special|include|data|a|images|templets|uploads|...
cat /proc/interrupts 查看IRQ
cd /etc/init.d mv named named.backup wget http://www.directadmin.com/named chmod 755 named /sbin/chkconfig named reset 最...
echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
首先停止mysql 执行service mysqld stop 进入mysql安全模式 mysqld_safe –skip-grant-tables & use mysql ...
yum install pcre-devel wget http://pecl.php.net/get/APC-3.1.9.tgz tar zxvf APC-3.1.9.tgz cd APC-3.1.9/ /usr/bin/phpize ....