codeigniter in subdirectory |
[eluser]dexter21[/eluser]
Hi, i have ci in www.mysite.com/codeigniter in /codeigniter/public i have all css and js and in /codeigniter/public the images of the site. when i type www.mysite.com it load right the ci but all the images and css dont load. and if i type www.mysite.com/public/image.gif it also place the index.php before url and images dont load. RewriteCond dont load. i have follogin .htaccess Code: RewriteRule ^/(index.php)?$ /codeigniter/index.php [L] any help plz ? Many thanks
[eluser]flojon[/eluser]
Your message was a bit unclear but I think you meant css and js was in /codeigniter/public and images in /public/images ? In that case you have misspelled images (imagenes) in your RewriteCond.. I don't know why javascript wouldn't work in public though... Regards, Jonas
[eluser]dexter21[/eluser]
Many thanks for ur response this is folder Code: /phpMyAdmin Code: RewriteCond $1 !(rewrite\.inc|phpinfo\.php|public|imagenes|phpMyAdmin) are there something wrong in RewriteCond ? do u know how to fix it plz? Many thanks |
Welcome Guest, Not a member yet? Register Sign In |