|
|||
|
I've inherited a site that is using the Zend framework and everything works just fine, but it's the first time I've worked with Zend (I've worked with CodeIgniter a lot, though). I need to access a PHP page in a directory that doesn't need the framework. The file is in a place like this:
MyDomain.com – Buy Domains for $8.95 – Free Domain Name Management tools The page is there, but of course when I try to access it I get the Zend error 'Invalid controller specified'. I've been messing around with the .htaccess file trying to get Zend to ignore this entire directory, but I'm not having any luck. Does anyone have a suggestion to get Zend to ignore this directory? Thanks! |
|
|||
|
If you use the following .htaccess file, it will only rewrite the url if the file you browse to doesn't exist
RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|