【发布时间】:2013-05-14 15:07:32
【问题描述】:
我看到了许多与我遇到的问题类似的问题,但我已经遵循了我从中获得的所有解决方案,而且似乎我无法让它在没有冲突的情况下运行。
HTML CSS 调用:
<head>
<base href="http://localhost/smartwavedev.sw_apiwebtool/" />
<link rel="stylesheet" href="assets/css/main.css" type="text/css">
<link rel="stylesheet" href="assets/css/login.css" type="text/css">
<link rel="stylesheet" href="assets/css/dashboard.css" type="text/css">
<link rel="stylesheet" href="assets/css/bootstrap/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="assets/css/docs.css" type="text/css">
</head>
.htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^/]+)$ $1.php
RewriteRule ^([^/]+)/([^/]+)$ $1.php?page=$2
RewriteRule ^([^/]+)/([^/]+)/([^/]+)$ $1.php?page=$2&nav=$3
感谢您的帮助!
【问题讨论】:
-
你忘了问问题。 “没有冲突就无法运行”不是一个问题 - 什么冲突,出了什么问题,你怀疑问题是什么?
-
无法访问css和图片文件。