Welcome Guest, Not a member yet? Register   Sign In
Asset Library
#4

[eluser]xtremer360[/eluser]
I don't have it blocking anything. This is my htaccess. When I look inside the firebug console and expand the css file it says 404 file not found.

<link href="http://dev.myurl/application/themes/supr/assets/css/bootstrap/bootstrap.css" rel="stylesheet">

However on my server I can navigate and locate the file in question.


Code:
RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond $1 !^(assets|addons)
  RewriteRule ^(.*)$ index.php/$1 [L]
  
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 seconds"
  ExpiresByType image/x-icon "access plus 2592000 seconds"
  ExpiresByType image/jpeg "access plus 2592000 seconds"
  ExpiresByType image/png "access plus 2592000 seconds"
  ExpiresByType image/gif "access plus 2592000 seconds"
  ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
  ExpiresByType text/css "access plus 604800 seconds"
  ExpiresByType text/javascript "access plus 216000 seconds"
  ExpiresByType application/x-javascript "access plus 216000 seconds"
  ExpiresByType text/html "access plus 600 seconds"
  ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\\.(ico|jpe?g|png|gif|swf)$">
    Header set Cache-Control "max-age=2692000, public"
  </FilesMatch>
  <FilesMatch "\\.(css)$">
    Header set Cache-Control "max-age=2692000, public"
  </FilesMatch>
  <FilesMatch "\\.(js)$">
    Header set Cache-Control "max-age=216000, private"
  </FilesMatch>
    Header unset ETag
    Header unset Last-Modified
</IfModule>

# BEGIN REQUIRED FOR WEBFONTS

AddType application/x-font-ttf .ttf
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-otf .otf
AddType application/x-font-woff .woff
AddType application/vnd.ms-fontobject .svg

<FilesMatch "\.(ttf|otf|eot|woff|svg)$">
    <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
    </IfModule>
</FilesMatch>

# END REQUIRED FOR WEBFONTS


Messages In This Thread
Asset Library - by El Forum - 03-06-2013, 04:57 PM
Asset Library - by El Forum - 03-14-2013, 01:29 PM
Asset Library - by El Forum - 03-14-2013, 01:36 PM
Asset Library - by El Forum - 03-19-2013, 01:41 PM
Asset Library - by El Forum - 03-19-2013, 04:00 PM
Asset Library - by El Forum - 03-19-2013, 04:00 PM
Asset Library - by El Forum - 03-19-2013, 04:10 PM
Asset Library - by El Forum - 03-19-2013, 04:15 PM
Asset Library - by El Forum - 03-19-2013, 06:35 PM
Asset Library - by El Forum - 03-20-2013, 04:24 PM
Asset Library - by El Forum - 03-20-2013, 06:14 PM
Asset Library - by El Forum - 03-20-2013, 06:45 PM
Asset Library - by El Forum - 03-20-2013, 09:49 PM
Asset Library - by El Forum - 03-20-2013, 11:51 PM
Asset Library - by El Forum - 03-21-2013, 01:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB