.htaccess with godaddy not working in subdomain

Posted by explorex on Server Fault See other posts from Server Fault or by explorex
Published on 2011-02-02T07:00:00Z Indexed on 2011/02/02 7:27 UTC
Read the original article Hit count: 214

Filed under:

Hi, i have a site uploaded to shared subdomain (which is inside a folder). and htaccess is not working. please get details from here.

EDIT::copied from stack overflow

Hi, i uploaded as website to a subdomain, and every page is not working except the front page please check it here. what could be the possible reason?

i shoud have 8 pages in front level and many more on admin level but i am getting 404 error as you can see, does anyone has idea or suggestion?

UPDATE:: .htaccess file

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

UPDATE to url rounting

i do have few url router like below BUT i dont have any default router

    $router->addRoute(
        'get-destination',
        new Zend_Controller_Router_Route('destination/get/:id/:dest-name', array(               
            'controller'    => 'destination',
            'action'        => 'get',
            'id'            => 'id',
            'dest-name'         => 'dest-name'
        ))
    );

just to make look cooler and on my navigation (which is loaded from xml i have) something like

 <nav>
    <home>
        <label>HOME</label>
        <controller>index</controller>
        <action>index</action>
        <route>default</route>
    </home>

since i was getting url problem from where url was routed

and please check phpinfo at http://websmartus.com/demo/globaltours/public_html/phpinfo.php

© Server Fault or respective owner

Related posts about .htaccess