Simply edit the files index.php and any other *.php to include

it will look somthing like this
====================================
<?php

define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..'));
define('SF_APP',         'admin');
define('SF_ENVIRONMENT', 'prod');
define('SF_DEBUG',       false);

require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');

sfContext::getInstance()->getController()->dispatch();
=======================================

you have to change the line
define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..'));

to look somthing like

define('SF_ROOT_DIR',    realpath(dirname(__FILE__)));

this will make the line require..... to look in other path, but this
solution requires a minimun of php, i don't understand why the
redirect you did (which looks like a simpler solution) ¿maybe you
forgot to freeze your project?

On 5/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> W odpowiedzi na e-mail od: Luciano A. Andrade otrzymany dnia 2007-05-03
> 16:11 :
> > Yes, just change the path in the files *.php in your web directory to
> > point to your symfony instalation, actualy to your proyect
> > configuration file.
> >
> what do u mean? i dont get it :(
>
> i explain more
>
> i got ftp account root and apache DocumentRoot to:
>
> /var/www/domain.com/
>
> and i cannot set document root to
> /var/www/domain.com/web
>
> i was trying to redirect from
> /var/www/domain.com/index.html -> /var/www/domain.com/web/index.php
> but it works badly
>
> is there any simple option to deploy symfony project in environment like
> this?
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to