I have my site in /certilogo/ folder

Following is my .htaccess file

==================================
   Options +FollowSymLinks
    RewriteEngine on
    
    RewriteBase /certilogo/

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    
    RewriteRule .* index.php [L]
================================

Following is the problem I am getting.

1. When I run my site using url http://10.103.99.2/certilogo/. It opens site
homepage perfectly.

2. When I run my site using url http://10.103.99.2/certilogo/index. It
should again open site home page but instead it gives me following error.

Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with
message 'Invalid controller specified (certilogo)' in
/u/certilogo/certilogo/library/Zend/Controller/Dispatcher/Standard.php:241
Stack trace: #0
/u/certilogo/certilogo/library/Zend/Controller/Front.php(934):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http)) #1
/u/certilogo/certilogo/index.php(175): Zend_Controller_Front->dispatch() #2
{main} thrown in
/u/certilogo/certilogo/library/Zend/Controller/Dispatcher/Standard.php on
line 241

3. If I run my site using url http://10.103.99.2/certilogo/page/index/cid/2.
It works perfectly fine.

So it is only second option that is giving error.

Following is my mod_rewrite log. If it can help you.
10.103.240.117 - - [27/Nov/2008:06:54:21 +0100]
[test.ctltest.com/sid#877b624][rid#888af5c/initial] (3) [per-dir
/u/certilogo/certilogo/] strip per-dir prefix:
/u/certilogo/certilogo/index.php -> index.php
10.103.240.117 - - [27/Nov/2008:06:54:21 +0100]
[test.ctltest.com/sid#877b624][rid#888af5c/initial] (3) [per-dir
/u/certilogo/certilogo/] applying pattern '.*' to uri 'index.php'
10.103.240.117 - - [27/Nov/2008:06:54:21 +0100]
[test.ctltest.com/sid#877b624][rid#888af5c/initial] (4) RewriteCond:
input='/u/certilogo/certilogo/index.php' pattern='!-f' => not-matched
10.103.240.117 - - [27/Nov/2008:06:54:21 +0100]
[test.ctltest.com/sid#877b624][rid#888af5c/initial] (1) [per-dir
/u/certilogo/certilogo/] pass through /u/certilogo/certilogo/index.php

Please help me if you can

Thanks
-- 
View this message in context: 
http://www.nabble.com/Url-rewrite-problem-for-index-controller-tp20713702p20713702.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to