[newbie] location of scripts & images |
[eluser]phusiondesign[/eluser]
This is probably rudimentary but I am new to the VMC setup and am having problems accessing my files. I got CodeIgniter up and working on my server and then I put an .htaccess file into place in order to remove 'index.php'. Code: <IfModule mod_rewrite.c> Thanks in advance.
[eluser]Pascal Kriete[/eluser]
You can keep them where they are, but you have to add the folders to your htaccess file. Code: RewriteCond $1 !^(index\.php|_images|_scripts|robots\.txt)
[eluser]mdavis1982[/eluser]
Either do as inparo says, or, what I do, is create a public folder and have sub-folders in there for images, css, scripts, etc. Then, in your .htaccess, you only have to let the public folder through and if you need to add anything (like another scripts, directory, different image directory etc) then it will automatically be available. Hope that helps? Cheers... Matt |
Welcome Guest, Not a member yet? Register Sign In |