Welcome Guest, Not a member yet? Register   Sign In
[Solved] deploying codeigniter application
#3

There are a few potential reasons for this to occur:
1) Does it work if you specify index.php in your URL?
If it does, then .htaccess is probably the right place to start trying to fix the problem, but first you should make sure the server is configured to allow you to use an .htaccess file in the first place. This is usually controlled by the AllowOverride directive in an Apache .conf file. You may need to ensure that mod_rewrite is enabled on the server as well.

The requirements to configure mod_rewrite can vary drastically based on the version and configuration of the server, where you are configuring it (for example, .htaccess vs. a .conf file), and a handful of other things. In some cases, you need a question mark after index.php in your RewriteRule. Sometimes you need a RewriteBase statement before your RewriteCond/RewriteRule statements (but after "RewriteEngine on").

2) If it does not work with index.php specified in the URL, did you place the index.php file in the directory indicated by the DocumentRoot configuration in Apache? If so...

3) Are the permissions set properly for the files and directories you uploaded to the server?
There's a lot of good information on setting permissions here:
http://serverfault.com/questions/357108/...-webserver
Reply


Messages In This Thread
RE: deploying codeigniter application - by mwhitney - 09-23-2015, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB