Bootstrap 3.0不能与Apache 2.4一起使用吗?

Dou*_*ram 8 apache twitter-bootstrap-3

我刚刚安装了Apache 2.4附带的Centos 7.0.我的引导程序应用程序无法正确呈现.具体而言,引导程序组件无法正确呈现.例如,在class = btn-primary的按钮上,颜色为蓝色,文本为白色,使用Apache 2.4将文本渲染为黑色.还有很多其他问题.

我的问题是有其他人有这个问题吗?是否存在诸如html标签的向后兼容性标志之类的解决方法?我用谷歌搜索,找不到任何其他参考.

感谢您分享您可能拥有的任何调查结果.

小智 11

我们遇到了同样的问题.我们花了5-6小时来调试.它是/etc/httpd/conf.d/目录中的welcome.conf中的别名映射bootstrap.css

Alias /.noindex.html /usr/share/httpd/noindex/index.html
Alias /css/bootstrap.min.css /usr/share/httpd/noindex/css/bootstrap.min.css
Alias /css/open-sans.css /usr/share/httpd/noindex/css/open-sans.css
Alias /images/apache_pb.gif /usr/share/httpd/noindex/images/apache_pb.gif
Alias /images/poweredby.png /usr/share/httpd/noindex/images/poweredby.png
Run Code Online (Sandbox Code Playgroud)

只需删除/注释掉所有/ css /行或禁用welcome.conf.我不知道这是否只附带CentOS或httpd包.这是一个愚蠢的事情.

同样的事情也发生在/ error/alias上.