CI cannot access my css sheet |
[eluser]Unknown[/eluser]
Hi, guys! I have a problem trying to access my css documents from codeigniter. My server is located in C:/wamp/www, and I access it from the browser typing the url http://server:8080/plantillas/prueba. server is a virtual host which points to c:/wamp/www. My CI folder is called plantillas, and inside of it, I have a controller called Prueba, with an index method. It calles the view and everything is fine, if it weren't because it doesn't load my css documents. My config[base_url] points to http://server:8080/plantillas, and when I look at the generated HEAD tag in the HTML page, it shows: Code: <head> So the path is correct, but it says me 404 error if I try to access it. Is there any config variable apart from base_url I should set up with a different value? Thank you! |
Welcome Guest, Not a member yet? Register Sign In |