Bonjour,
je viens de transférer mon site chez un hébergeur (siteground.com), je vois ma page d'accueil, mais toutes URL internes de mon site reroutent vers cette page d'accueil !
Voici mon htaccess :
et dans mon bootstrap :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php Options -Indexes
puis :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 // Include directories and autoload set_include_path ( '.' . PATH_SEPARATOR . '../library/' . PATH_SEPARATOR . '../library/Zend/' . PATH_SEPARATOR . 'FRAMEWORK_1.7.1_HOME' . PATH_SEPARATOR . '../application/btmodels' . PATH_SEPARATOR . get_include_path () );
Merci d'avance de votre aide !!!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 $controller = Zend_Controller_Front::getInstance (); $controller->setControllerDirectory ( '../application/default/controllers' ); $controller->throwExceptions ( true ); // should be turned on in development time $controller->registerPlugin ( new Bt_Plugin_Auth ( $auth, $acl ) ); //$controller->registerPlugin(new Bt_Plugin_Agreement($auth)); $controller->setParam ( 'auth', $auth ); $controller->setBaseUrl ( 'http://www.bounty-tours.com' ); // bootstrap layouts Zend_Layout::startMvc ( array ('layoutPath' => '../application/default/layouts', 'layout' => 'main' ) ); // run! //$controller->dispatch (); Zend_Controller_Front::run('../application/controllers');
Partager