Solved

codeigniter without mod_rewrite on

Posted on 2013-01-28
1
459 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now