Ada*_*ite 2 css php firefox codeigniter http-status-code-403
我在CSS中使用font-face将自定义字体导入我正在使用CodeIgniter构建的Web应用程序.这是CSS代码:
@font-face {
font-family: 'UniversLT-UltraCondensed';
src: url('../Fonts/LTUnivers/universlt59ultracondensed.eot');
src: url('../Fonts/LTUnivers/universlt59ultracondensed.eot?#iefix') format('embedded-opentype'),
url('../Fonts/LTUnivers/universlt59ultracondensed.woff') format('woff'),
url('../Fonts/LTUnivers/universlt59ultracondensed.ttf') format('truetype'),
url('../Fonts/LTUnivers/universlt59ultracondensed.svg#universlt59ultracondensed') format('svg');
font-weight: normal;
font-style: normal;
}
body{
font-family: UniversLT-UltraCondensed, Helvetica, Arial, serif;
}
Run Code Online (Sandbox Code Playgroud)
当我在Safari,Chrome或Opera中运行该网站时,字体已正确加载.当我在FireFox中运行它时,我得到以下内容:

一个403错误告诉我,我的服务器配置错误或.htaccess文件错误.当涉及到这些东西时,我是一个新手,但这就是我的.htaccess中的内容(假设这是问题......):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Tat
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ Tat/index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt|css|fonts|woff|ttf|svg|eot)
RewriteRule ^(.*)$ Tat/index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /Tat/index.php
</IfModule>
Run Code Online (Sandbox Code Playgroud)
还应该注意,这些文件具有777权限(我可以通过SSH访问运行Ubuntu Lucid的服务器).
有什么建议?我没有线索......
啊,发现了问题.我已经在这方面工作了几个小时,我发布后立即修复它,典型!
无论如何,对于可能有类似问题的任何其他人 - 问题是我在开发虚拟服务器上设置了Linux的权限,但在VM上安装的文件夹上没有设置Mac OSX的权限.所以我打开了终端和chmod -R 777'd字体文件夹,它似乎工作.