Jump to content

quickie... first time using mod rewrite


Lodius2000

Recommended Posts

Im doing the zend tutorial, it tells you what rewrite code to use, but I dunno if the [OR] in the code means "user should use one of the 3", or if it is an actual instruction to apache

 

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]

ZF tutorial in question: http://framework.zend.com/docs/quickstart/create-a-rewrite-rule

Link to comment
https://forums.phpfreaks.com/topic/146186-quickie-first-time-using-mod-rewrite/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.