Welcome Guest, Not a member yet? Register   Sign In
index.php will not go away
#1

[eluser]cjobes[/eluser]
No matter what, I can't seem to get my pages to display unless I have index.php in the URI.

Every time I change
$config['index_page'] = 'index.php';
to
$config['index_page'] = '';
the page will not display, and I get a 404.

Right now I can only see the page with this URL
http://rsvp_admin_ci:8080/index.php/ann_mtg_2013_rsvp/

I want it to display the page with
http://rsvp_admin_ci:8080/ann_mtg_2013_rsvp/

Here is my .htaccess file
Code:
# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /

# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>

# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]

Any help would be appreciated.

I am using Vagrant, if that is of any concern.

C


Messages In This Thread
index.php will not go away - by El Forum - 03-24-2013, 01:30 PM
index.php will not go away - by El Forum - 03-24-2013, 02:15 PM
index.php will not go away - by El Forum - 03-24-2013, 04:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB