这是我在linode实例上的.htaccess(wordpress网站)。即使我试图打破它也不起作用。
# BEGIN WordPress
<IfModule rewrite_module>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##
答案 0 :(得分:0)
确保您的htaccess文件所在的目录(或文档根目录)具有/var/www/htdocs/
指令设置。
例如,如果您的htaccess文件位于<Directory "/var/www/htdocs">
AllowOverride All
</Directory>
,那么请确保您的vhost配置具有以下内容:
FileInfo
或者至少是父目录的指令。我认为如果你不想打开所有覆盖选项,至少你需要<Directory "/var/www/htdocs">
AllowOverride FileInfo
</Directory>
:
> d<-read.csv("gene_data.txt", header=TRUE, stringsAsFactors = FALSE)
> d
gene_id day_1 day_2 day_3 day_4
1 Gene_1 -3.836501 -4.643856 -5.058894 -5.058894
2 Gene_2 13.161867 6.740118 13.507918 13.349972
3 Gene_3 -6.643856 5.766860 -6.127014 -6.726967
4 Gene_4 -2.736966 -3.058894 -2.643856 -2.943416
5 Gene_5 -2.836501 -3.473931 3.643856 -4.321928
6 Gene_6 2.836501 -3.058894 3.836501 -5.643856
7 Gene_7 11.000232 11.353974 10.792245 10.309476