[symfony-users] Re: publication project on the server - where place files ?

2009-09-18 Thread mini_alexander

ooops - again sry - I again published website and I again forgot about
clear cache. xD Now is ok.

As I understand in backend files I must everywhere in each link
write: /BACKEND.php/controller/action yes ?
For example
home
or


???
Because generated links by symfony look for example:
url_for('/users/index')

so I must everything change by myself ??



On 18 Wrz, 12:43, mini_alexander  wrote:
> clear cache worked ;)
>
> But now my backend application doesn't work (frontend works). For
> example:http://.pl/backend.php/start/index
> I have an error that this site doesn't exist - but I have this site !!
>
> On 18 Wrz, 12:30, Alexandru-Emil Lupu  wrote:
>
> > switch to the dev mode, and make sure that you have in your
> > (config/ProjectConfiguration.php ) the rights paths to symfony.
> > Also, if you are uploading the project on a shared server that have a
> > cpanel, then you'll already have a /web symlink somewhere. make sure that
> > your symfony web dir is the same with account's web dir
>
> > On Fri, Sep 18, 2009 at 12:14 PM, mini_alexander wrote:
>
> > > ok I have done what you said but now I see blank page.
>
> > > On 17 Wrz, 23:37, Stefan Koopmanschap  > > project.com> wrote:
> > > > Hi,
>
> > > > No, the document root of your webserver should point to symfony's
> > > > "web" directory. Everything outside of that should not be included in
> > > > your document root (otherwise people could for instance access config/
> > > > databases.yml file and see your database credentials).
>
> > > > Stefan
>
> > > > On Sep 17, 7:38 pm, mini_alexander  wrote:
>
> > > > > As I understand I must place all Symfony files and folders in folder
> > > > > 'public_html' ? Because in Zend Framework in folder 'public_html' on
> > > > > the server I must place only content of Zend Framework folder
> > > > > 'public' .
>
> > --
> > As programmers create bigger & better idiot proof programs, so the universe
> > creates bigger & better idiots!
> > I am on web:  http://www.alecslupu.ro/
> > I am on twitter:http://twitter.com/alecslupu
> > I am on linkedIn:http://www.linkedin.com/in/alecslupu
> > Tel: (+4)0748.543.798
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: publication project on the server - where place files ?

2009-09-18 Thread mini_alexander

clear cache worked ;)

But now my backend application doesn't work (frontend works). For
example:
http://.pl/backend.php/start/index
I have an error that this site doesn't exist - but I have this site !!


On 18 Wrz, 12:30, Alexandru-Emil Lupu  wrote:
> switch to the dev mode, and make sure that you have in your
> (config/ProjectConfiguration.php ) the rights paths to symfony.
> Also, if you are uploading the project on a shared server that have a
> cpanel, then you'll already have a /web symlink somewhere. make sure that
> your symfony web dir is the same with account's web dir
>
> On Fri, Sep 18, 2009 at 12:14 PM, mini_alexander wrote:
>
>
>
>
>
> > ok I have done what you said but now I see blank page.
>
> > On 17 Wrz, 23:37, Stefan Koopmanschap  > project.com> wrote:
> > > Hi,
>
> > > No, the document root of your webserver should point to symfony's
> > > "web" directory. Everything outside of that should not be included in
> > > your document root (otherwise people could for instance access config/
> > > databases.yml file and see your database credentials).
>
> > > Stefan
>
> > > On Sep 17, 7:38 pm, mini_alexander  wrote:
>
> > > > As I understand I must place all Symfony files and folders in folder
> > > > 'public_html' ? Because in Zend Framework in folder 'public_html' on
> > > > the server I must place only content of Zend Framework folder
> > > > 'public' .
>
> --
> As programmers create bigger & better idiot proof programs, so the universe
> creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter:http://twitter.com/alecslupu
> I am on linkedIn:http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: publication project on the server - where place files ?

2009-09-18 Thread Alexandru-Emil Lupu
switch to the dev mode, and make sure that you have in your
(config/ProjectConfiguration.php ) the rights paths to symfony.
Also, if you are uploading the project on a shared server that have a
cpanel, then you'll already have a /web symlink somewhere. make sure that
your symfony web dir is the same with account's web dir


On Fri, Sep 18, 2009 at 12:14 PM, mini_alexander wrote:

>
> ok I have done what you said but now I see blank page.
>
> On 17 Wrz, 23:37, Stefan Koopmanschap  project.com> wrote:
> > Hi,
> >
> > No, the document root of your webserver should point to symfony's
> > "web" directory. Everything outside of that should not be included in
> > your document root (otherwise people could for instance access config/
> > databases.yml file and see your database credentials).
> >
> > Stefan
> >
> > On Sep 17, 7:38 pm, mini_alexander  wrote:
> >
> > > As I understand I must place all Symfony files and folders in folder
> > > 'public_html' ? Because in Zend Framework in folder 'public_html' on
> > > the server I must place only content of Zend Framework folder
> > > 'public' .
> >
>


-- 
As programmers create bigger & better idiot proof programs, so the universe
creates bigger & better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0748.543.798

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: publication project on the server - where place files ?

2009-09-18 Thread mini_alexander

ok I have done what you said but now I see blank page.

On 17 Wrz, 23:37, Stefan Koopmanschap  wrote:
> Hi,
>
> No, the document root of your webserver should point to symfony's
> "web" directory. Everything outside of that should not be included in
> your document root (otherwise people could for instance access config/
> databases.yml file and see your database credentials).
>
> Stefan
>
> On Sep 17, 7:38 pm, mini_alexander  wrote:
>
> > As I understand I must place all Symfony files and folders in folder
> > 'public_html' ? Because in Zend Framework in folder 'public_html' on
> > the server I must place only content of Zend Framework folder
> > 'public' .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: publication project on the server - where place files ?

2009-09-17 Thread Stefan Koopmanschap

Hi,

No, the document root of your webserver should point to symfony's
"web" directory. Everything outside of that should not be included in
your document root (otherwise people could for instance access config/
databases.yml file and see your database credentials).

Stefan

On Sep 17, 7:38 pm, mini_alexander  wrote:
> As I understand I must place all Symfony files and folders in folder
> 'public_html' ? Because in Zend Framework in folder 'public_html' on
> the server I must place only content of Zend Framework folder
> 'public' .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---