我想添加allow_url_fopen到我的服務器使用.htaccess因爲我沒有訪問它直接添加它。所以我想添加它使用.htaccess 我搜索谷歌,發現一些解決方案,通過加入這行來.htaccss
它會工作,所以我添加這種php_value allow_url_fopen On
到我現有的.htaccess現在完整的代碼是這個allow_url_fopen allow_url_fopen將它添加到.htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|system|css|functions)
RewriteRule ^(.*)$ index.php?/$1 [L]
php_value allow_url_fopen On
,但現在我跑我的網站,它給了我Internal Server Error
任何人可以告訴我做錯了什麼。
嘗試以.htaccess中的'php_value allow_url_fopen On'開頭,現在可以測試它 – 2013-07-29 09:04:50
不,它給了我同樣的錯誤。我在.htaccess –
代碼的頂部添加了這一行,這意味着你的服務器可能不支持這種類型的配置,如果你刪除了所有的規則並且只是'php_value allow_url_fopen On'會怎麼樣?反之亦然? – 2013-07-29 09:07:59