在php里面
echo file_get_contents("modules/search/view/templates/form.html");
form.html是
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Upload PDF</title>
<base href="Education" />
<link rel="stylesheet" type="text/css" href="modules/search/view/templates/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="modules/search/view/templates/css/bootstrap-theme.min.css">
<script src="js/libs/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="js/libs/bootstrap.min.js" type="text/javascript"></script>
</head>
教育文件夹(URL:http://localhost/Education/search/form
)中的.htaccess文件
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?uri=$1 [QSA,L]
不确定我们如何修复语法和mime错误,请指教。