Welcome Guest, Not a member yet? Register   Sign In
Problem with URI
#4

[eluser]Nevio[/eluser]
Few things....

1.)

Code:
$config['base_url']    = "http://localhost/ele";

2.)

Code:
$config['index_page'] = "";


3.)
Code:
$config['uri_protocol']    = "REQUEST_URI";


4.)

.htaccess file

Code:
# Set directory index to index.php
DirectoryIndex index.php

# Rewrite base to work on all mayor operating systems
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

# Block directory listings
Options -Indexes


5.) Go load http://localhost/ele/home . Btw home controller must exists as index method. You must have mod rewrite ( Apache ) enabled.

6.) If this don't help well.. Than I dun know what's your problem about.


Messages In This Thread
Problem with URI - by El Forum - 03-21-2009, 08:13 PM
Problem with URI - by El Forum - 03-21-2009, 11:49 PM
Problem with URI - by El Forum - 03-22-2009, 09:16 AM
Problem with URI - by El Forum - 03-22-2009, 10:19 AM
Problem with URI - by El Forum - 03-22-2009, 10:51 AM
Problem with URI - by El Forum - 03-22-2009, 12:00 PM
Problem with URI - by El Forum - 03-22-2009, 02:03 PM
Problem with URI - by El Forum - 03-23-2009, 01:38 PM
Problem with URI - by El Forum - 03-23-2009, 01:45 PM
Problem with URI - by El Forum - 03-23-2009, 01:55 PM
Problem with URI - by El Forum - 03-23-2009, 02:25 PM
Problem with URI - by El Forum - 03-23-2009, 02:43 PM
Problem with URI - by El Forum - 03-23-2009, 02:44 PM
Problem with URI - by El Forum - 03-23-2009, 02:56 PM
Problem with URI - by El Forum - 03-23-2009, 03:17 PM
Problem with URI - by El Forum - 03-23-2009, 05:49 PM
Problem with URI - by El Forum - 03-23-2009, 06:41 PM
Problem with URI - by El Forum - 03-23-2009, 07:20 PM
Problem with URI - by El Forum - 03-23-2009, 11:30 PM
Problem with URI - by El Forum - 03-24-2009, 10:23 AM
Problem with URI - by El Forum - 05-30-2009, 10:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB