Welcome Guest, Not a member yet? Register   Sign In
How to start a project with CodeIgniter?
#12

[eluser]Unknown[/eluser]
[quote author="Mauricio de Abreu Antunes" date="1328005710"]"CI assumes you already know how to program in PHP, use webservers, css, etc."

My situtation is:

http://localhost/percutz

In percutz folder i have my .htaccess file with those configs. (not working)
I removed index.php from config.php.
I tried to access http://localhost/percutz/teste (i have a controller called teste) or http://localhost/index and the files were not found.

I know what is Apache, .htaccess, rewrite rules, but how you can see, my configs are not working for a reason what i'm not seeing...

Bye!

[/quote]

I wonder how you modify in your .htaccess file
RewriteRule ^(.*)$ index.php/$1 [L] means all the stuffs are placed in the root folder.
In your case, i think, you should change to RewriteRule ^(.*)$ /percutz/index.php/$1 [L]
Hope that will help your


Messages In This Thread
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 04:41 AM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 05:01 AM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 05:21 AM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 05:47 AM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 06:12 AM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 01:13 PM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 04:06 PM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 04:44 PM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 04:49 PM
How to start a project with CodeIgniter? - by El Forum - 01-30-2012, 04:52 PM
How to start a project with CodeIgniter? - by El Forum - 01-31-2012, 03:28 AM
How to start a project with CodeIgniter? - by El Forum - 01-31-2012, 11:11 AM
How to start a project with CodeIgniter? - by El Forum - 01-31-2012, 01:10 PM
How to start a project with CodeIgniter? - by El Forum - 01-31-2012, 03:34 PM
How to start a project with CodeIgniter? - by El Forum - 01-31-2012, 03:59 PM
How to start a project with CodeIgniter? - by El Forum - 02-01-2012, 01:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB