If the framework is well designed it should work whether URL rewriting is available or not.
the rewriterule should be set up like this:
RewriteRule ^(.*)$ index.php?route=$1
The full route is then passed to the router. Most frameworks provide an inbuilt URL generating function which will create a URL based on whether rewrite rules are enabled or not.
For example, if they're not, links will be generated to "index.php?route=/blog/123" whereas with a config option telling them URL rewriting is enabled, they'd generate "/blog/123".