cannot access css files |
[eluser]dsi[/eluser]
i have created a css files but cannot link to the view file. I tried with direct url link too("http://localhost/site/css/login.css") but doesnot take that css. I have used htaccess for url rewriting, is it affecting the situation. My css folder is inside the root folder. What should i do to resolve that problem?
[eluser]eoinmcg[/eluser]
Try pasting your .htaccess or even better try out the one in the wiki - it works fine: http://codeigniter.com/wiki/mod_rewrite/
[eluser]Clifford James[/eluser]
Try putting this in your .htaccess file. Code: RewriteCond %{REQUEST_FILENAME} !-f
[eluser]Zack Kitzmiller[/eluser]
Yeah, paste in your Directory Structure and .htaccess file.
[eluser]dsi[/eluser]
yeah the css file has loaded but it does not hide index.php anymore. When i type "http://localhost/site/" it loads the index page but if i type "http://localhost/site/login" it redirects to wamp home page. How do i load the login controller without typing the index.php ? |
Welcome Guest, Not a member yet? Register Sign In |