Welcome Guest, Not a member yet? Register   Sign In
Access third_party folder
#1

(This post was last modified: 05-22-2018, 11:53 AM by majortom84.)

Hello,

I am trying to add foundation css folder to my project under "third_party" folder but, I get an error depending on the path.

Permissions are normal : rwxrwxr-x for folder and sub folders in third _party

Server: ApacheĀ 

Path: "//mysite.com/application/third_party/foundation-6.4.2/css/app.css" gives a 404

Path: "href="<?php echo base_url(); ?>third_party/foundation-6.4.2/css/app.css" givesĀ "Refused to apply style from 'https://mysite.com/third_party/foundation-6.4.2/css/app.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."

if moved to www/CI/assets/foundation I can access it just fine, but why can't I access anything in third_party ?


********** Edit add 12:53PM MT **************
.htaccess file
RewriteCond $1 !^(index\.php|assets|images|js|css|uploads|favicon.png)
RewriteCond %(REQUEST_FILENAME) !-f
RewriteCond %(REQUEST_FILENAME) !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
Reply


Messages In This Thread
Access third_party folder - by majortom84 - 05-22-2018, 11:26 AM
RE: Access third_party folder - by ciadmin - 05-22-2018, 12:30 PM
RE: Access third_party folder - by majortom84 - 05-22-2018, 01:03 PM
RE: Access third_party folder - by InsiteFX - 05-23-2018, 03:13 AM
RE: Access third_party folder - by majortom84 - 05-26-2018, 01:37 AM
RE: Access third_party folder - by InsiteFX - 05-26-2018, 06:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB