Welcome Guest, Not a member yet? Register   Sign In
Arrgghh! CSS not loading on IIS server. Works fine on Apache.
#1

[eluser]Sooty[/eluser]
I'm new to codeigniter, though not new to PHP. I have built my first CI site on my Windows Dev machine running Apache. It works perfectly. Uploaded it to the big wide web, onto a Windows server running IIS7, and no matter what I do I can't get the stylesheets to load.

I have added the relevent folders to .htaccess:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|css|assets)
RewriteRule ^(.*)$ ./index.php/$1 [L]

It may be relevent that I am using LESS CSS, but I have tried changing it back to a standard CSS file and still no luck. The server is configured for LESS too. There are other sites on there running LESS.

I'm completely stumped and currently going through the process of reverting back to a non-CI system, so any help would be appreciated!



Messages In This Thread
Arrgghh! CSS not loading on IIS server. Works fine on Apache. - by El Forum - 03-28-2013, 03:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB