• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
load image and css file

#1
[eluser]123XD[/eluser]
Hey,

I have some problem with loading images and css file using CI6.0

I have directory structure like this

www
-sytem
--application
---views <- (all my web pages)
----css <- (all my css files)
----images <- (all my images for website)


my question is where does dir 'css' and 'images' should locate so it won't affect even I change my domain name. Like for any web server i just need to directly upload files and it should just work.

- How to config the base_url, I am lost.
- And how to get rid of the index.php, I have seen some articles about IIS url rewrite,
but I sitll can't make it work



Thanks in advanced.

#2
[eluser]Référencement Google[/eluser]
Your post inspired me a screencast:
http://ellislab.com/forums/viewthread/83285/

Hope this help you understand how you have to do.

#3
[eluser]123XD[/eluser]
Hey mate,

Thanks for the post.
One more question for you, with the url rewrite, does .htaccess also work in IIS server?? or your one is only for apache server?


Cheers,

#4
[eluser]Référencement Google[/eluser]
htaccess work on Apache only as far as I know.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.