[symfony-users] Re: .htaccess - redirect example.com/index.php to example.com

2010-07-04 Thread Mickael HOAREAU
Hi, Thanks for the tips about the debugging log for the htaccess. Here that I have in the logs when i access to http://www.example.com [example.com/sid#e05840][rid#5a1eb40/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ -> [example.com/sid#e05840][rid#5a1eb40/initial] (3) [per

[symfony-users] Re: .htaccess - redirect example.com/index.php to example.com

2010-06-28 Thread Mickael HOAREAU
.*)$ index.php [QSA,L] > == > >     gabriel > > On Jun 28, 12:23 pm, Mickael HOAREAU > wrote: > > > Hello, > > > In the default .htaccess of symfony we have: > > > Options +FollowSymLinks +ExecCGI > > > > >   R

[symfony-users] .htaccess - redirect example.com/index.php to example.com

2010-06-28 Thread Mickael HOAREAU
Hello, In the default .htaccess of symfony we have: Options +FollowSymLinks +ExecCGI RewriteEngine On # uncomment the following line, if you are having trouble # getting no_script_name to work #RewriteBase / # we skip all files with .something #RewriteCond %{REQUEST_URI} \..+$ #

[symfony-users] Routing: use underscore as separator in url

2010-05-24 Thread Mickael HOAREAU
Hi, In the routing.yml, I would like to use an underscore as a separator for the parameter. rule_sample: url: /article/:info-:datePublished_:id.html param:{ module: cms, action: test } options: segment_separators: ['-', '/', '.', '_'] requirements: info: ^([A-Za-z0-9\-]+)

[symfony-users] Define model inside of apps folder

2009-11-04 Thread Mickael HOAREAU
Hi! By default, all the models are defined inside of project_root/lib/ model/doctrine/. That makes the model accessible for every applications inside of apps. What about if i want to make one model accessible only for one app ? (for example a model User with some special methods which should be