Hi,

I am using a server that has window package for php. I created my
whole directory structure by Baking script and it made the structure
like

D:\home\username\mydomain.com\
      /cake   <-cake directory
      /config
      /controllers
      /libs
      /locale
      /models
      /plugins
      /tests
      /tmp
      /vendors
      /views
      /webroot  <-webroot
      .htaccess
      index.php
      app_controller.php
      app_helper.php
      app_model.php
      code-completion-in-views.php

after installed it shows the first default view but it doesnt load up
images , css and even doesnt route any static or non static link.

For static links i made routes like

        Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));

        Router::connect('/pages/*', array('controller' => 'pages', 'action'
=> 'display'));

        Router::connect('/aboutus', array('controller' => 'pages', 'action'
=> 'display', 'aboutus'));

        Router::connect('/features', array('controller' => 'pages', 'action'
=> 'display', 'features'));

the changes i made inside webroot\index file is

if (!defined('ROOT')) {
                define('ROOT','D:'. DS.'home'.DS.'username');
        }

if (!defined('APP_DIR')) {
                define('APP_DIR','mydomain.com');
        }

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
        
define('CAKE_CORE_INCLUDE_PATH','D:'.DS.'home'.DS.'username'.DS.'mydomain.com'.DS.'cake');
        }



I tried alot but links , images and css are not working at all, also
on my server they says mode rewrite isnt allowed. Is that is the
problem ??? Do i need to switch on the linux just for this error???


Please help me guys...
Regards

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to