Solved

codeigniter without mod_rewrite on

Posted on 2013-01-28
1
508 Views
Last Modified: 2013-01-28
will codeigniter still allow for user friendly url without mod_rewrite enabled ?

/controller/method etc ?

only users will have to specify index.php  before the controller ?

site/index.php//controller/method
0
Comment
Question by:sniger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
kmslogic earned 500 total points
ID: 38829066
Without mod_rewrite you'll see the index.php in the urls (which is the default) but that's about it--it won't use the ? format unless you explicitly configure it to do that.

so it'll look like your example

mydomain.com/index.php/controller/method (optionally you can add something like .html to the end of the method)

and not

mydomain/index.php?c=controller&m=method

Using rewrite is nice, though, because it looks and behaves entirely like a fully formed site path without the reference to index.php in it.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question