Welcome Guest, Not a member yet? Register   Sign In
installation question
#1

[eluser]ixxalnxxi[/eluser]
How would one go about installing codeigniter within several directories on a server? My codeigniter installation only seems to work on the root of the server but when I move it to a series of folders within it stops working.
#2

[eluser]bitist[/eluser]
Can you post your .htaccess file, please.
#3

[eluser]ixxalnxxi[/eluser]
$config['base_url'] = "http://mysite.com/dir1/dir2/dir3/";



and my .htaccess is

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
#4

[eluser]ixxalnxxi[/eluser]
Problem solved, this works:

$config['uri_protocol'] = "QUERY_STRING";


while this does not,

$config['uri_protocol'] = "AUTO";




Theme © iAndrew 2016 - Forum software by © MyBB