WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Mod Rewrite Simulator - PHP mod_rewrite

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


Mod Rewrite Simulator - PHP mod_rewrite - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

The PHP alternative to apache’s mod_rewrite

PHP mod_rewrite 1.0

Mod Rewrite Simulator PHP mo. Download Regular Licence Licence Certificate PHP Get notified email this item updated ra.f Ac,va.1e Ais your nofified

If you have a mod_rewrite using web-project and your server doesn’t support mod_rewrite you should usually turn the friendly urls in your documents into “ugly ones”, and this could take time :/

with the php mod_rewrite you could skim over this workings

just set your ErrorDocument 404 in the.htaccess to the PHP file which is using modrewrite.class.php and this should do the work :)

A list of things you could do with this class can be found under http://mrws.envato.homac.at/, there’s also a link to a version of SGM 3.1 which is running with php mod_rewrite instead of using apache’s mod_rewrite
php mod_rewrite doesn’t support all features of apache’s mod_rewrite but you really can use a lot of known rules

I’m thankful for your inputs

> This class simulates the work of apache’s mod_rewrite function >It could be used for servers where the mod_rewrite function isn’t enabled >The.htaccess or another mod_rewrite rules containing file will be parsed by this class usuallly SEO-friendly URLs will return a 404 when mod_rewrite isn’t work – but this class works >within the 404 target and simulates the friendly urls, so you don’t have to correct your paths

Requirements

possibilty to set ErrorDocument 404 for your webserver

Future plans

Adding possibility to define rules and rewritebase within the class/error doument. So you don’t have to use an external file, if you don’t want to

I hope you like it
mac

Visitors since March 21st 2010 1,743 I488 314 L1291 219 l674 319 I3OO I29O 222 187 10,100 FLAG


Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
20 February 10

Last Update:
N/A

High Resolution:
No

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
PHP

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3

Keywords

eCommerce, eCommerce, All Items, apache, error 404, mod, modrewrite, mod_rewrite, rewrite, simulate