i want place static assets (js, css, etc) in separate folder "public_html". of course still want url be: http://www.domain.com instead of http://domain.com/public_html
this can done .htaccess suppose haven't had luck it.
also configure base_url in codeigniter http://www.domain.com or http://www.domain.com/public_html
thanks!
public_html folder on server put codeigniter files into. in config file set base_url http://www.domain.com.
you can put assets folder in public_html folder , url still http://www.domain.com.
example file structure.
server - www - etc - public_html - application - config - config.php - system - assets - css - images - js
Comments
Post a Comment