I am trying to run multiple sites off 1 cake lib so i have:
 
public_html/
                libs/
                    1.2.6/
                    1.3/
                site1/
                        app/
                site2/
                        app/
 
with if (!defined('ROOT')) {
  define('ROOT', dirname(dirname(dirname(__FILE__))));
  //define('ROOT', DS.'public_html'.DS.'site1');
 }
/**
 * The actual directory name for the "app".
 *
 */
 if (!defined('APP_DIR')) {
  //define('APP_DIR', basename(dirname(dirname(__FILE__))));
  define ('APP_DIR', 'app');
 }
/**
 * The absolute path to the "cake" directory, WITHOUT a trailing DS.
 *
 */
 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
  //define('CAKE_CORE_INCLUDE_PATH', ROOT);

  define('CAKE_CORE_INCLUDE_PATH', '/home4/public_html/libs/1.2.6');

 }

This allows me to access site1.com/

But all the links have site1.com/site1/{action}

Can someone point out where I went wrong?

Thanks
 
Dave

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to