Yeah that was correct, seems that this isn't the issue after all as I
still get a route error.
No route found for "GET /network/graph/SPAR22/xe-0_1_0.0"
@extra:Route("/network/graph/{node}/{interface}",
options={"segment_separator"="/"},
name="network_graph_node_interface")
It seems the issue is
I'm interested as well in this issue. Is it / Will it be possible to add
core parameters in the prefix when importing bundle's routing file?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are su
Le 09/05/2011 21:21, Womble a écrit :
Thanks, any chance of doing it via the annotations?
From my reading of the code, I think it is
@extra:Route("/hello", options={"segment_separator"="/")
but I may be wrong about the way to define an associative array for the
options.
--
Christophe | Stof
Thanks, any chance of doing it via the annotations?
On May 9, 7:30 pm, Chris Sedlmayr wrote:
> You can set the segment separators per route using the options declaration.
>
> routeName:
> options: { segment_separators: [/, ., -] }
--
If you want to report a vulnerability issue on symfony, ple
Forgot to specify : it is on Symfony2
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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@
You can set the segment separators per route using the options declaration.
routeName:
options: { segment_separators: [/, ., -] }
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed
Read this topic, can be useful:
http://groups.google.com/group/symfony-devs/browse_thread/thread/5159277234e724a4#
In last reply you can find modified RouteCompiler class supporting
optional parameters:
https://github.com/aurelijus/symfony/commit/f550ad89daed6f5e6f82dc81d2c6cca1ce5f1838
--
If
Look into segment separators options for sfRouting:
http://www.symfony-project.org/reference/1_4/en/05-Factories#chapter_05_sub_segment_separators
This can be enabled for all routes or for specific ones.
However I'm not sure this will work for you:
/myroute/my-item-56
maybe with
/myroute/my_item-5
Not really. I am using sf1.4. I have it basically like that post and
similar to the job_create: section in the jobeet tutorial
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05#chapter_05_collection_route_class
but without using an object route. The lead_import_upload route is
always called
egroups.com [mailto:symfony-us...@googlegroups.com]
Im Auftrag von Tobias Sjösten
Gesendet: Montag, 11. Oktober 2010 21:06
An: symfony users
Betreff: [symfony-users] Re: Routing with fallthrough
Thanks for your answer!
But I'm afraid I might have been unclear. For categories I have for
example '
Thanks for your answer!
But I'm afraid I might have been unclear. For categories I have for
example 'symfony', 'php, 'internet', etc. And for these I'd want to
offer URLs like /symfony, /php, /internet, etc. Then I also have
projects like 'sfSomethingPlugin' and 'sfSomeOtherThingPlugin', which
I w
Take a look here:
http://www.codemassacre.com/2009/04/27/symfony-12-admin-with-custom-primary-key/
Daniel
On Jul 12, 9:06 am, PePe_el_Romano wrote:
> Good dear group:
> I am writing to see if someone has this same error occurred and has
> solved, or if they are aware of it.
>
> Problem descrip
Hi,
What is :calendar meant to be?
Could you possible pass the :calendar, :month and :year variables as a
single formatted token?
Or better yet, if you keep the variables in a consistent order, you
could define the one rule.
ie.
events_month_filtered:
url: /events/:calendar/:month/:year
par
I would not put this on the routing system.
It sounds like all you need is one route that maps your urls to your
product catalog action, and figure out which product to show from
there.
For example, the route could be:
product:
url: /:manufacturer-:type
param: { module: catalog, action: sh
As far as i know there is no support out of the box for this.
I think that in this case the flexibility does not make too much sense
because
you want each your environments dev, staging, prod to be configured
exactly the same so you can replicate bugs consistently across
environments.
gabriel
On Wed, 19 May 2010, Zackary wrote:
> Thanks! That's exactly the problem. I'm new to all this, so is this
> something that I should have read in the manual, or something I pick
> up along the way (e.g. through bulletin boards), or is there some
> other way?
Its no 'secret', its documented in the
> Also, does your web server have mod_rewrite available and switched on for
> your web folder?
Thanks! That's exactly the problem. I'm new to all this, so is this
something that I should have read in the manual, or something I pick
up along the way (e.g. through bulletin boards), or is there some
On Wed, 19 May 2010, Zackary wrote:
> I have .htaccess in my web/ directory (which is on my "prod
> server"=localhost), I have not changed it. I don't know what format it
> is, but its contents are given below. Are they correct?
Also, does your web server have mod_rewrite available and switched o
Thanks for the response.
I have .htaccess in my web/ directory (which is on my "prod
server"=localhost), I have not changed it. I don't know what format it
is, but its contents are given below. Are they correct?
Options +FollowSymLinks +ExecCGI
RewriteEngine On
# uncomment the following li
Hi Gareth,
All makes sense - bit surprised retrieveByPk doesn't do this which is
I guess where my question came from.
Appreciate you taking the time to share your experience and approach.
Thanks,
Paul
On Apr 23, 7:10 pm, Gareth McCumskey wrote:
> My simple guess is that module/action/id tel
My simple guess is that module/action/id tells symfony that id is a
parameter with its own value defaulted to false (kinda just to show it
exists) whereas module/action/id/ tell symfony that id is a parameter
and there is a value of "" for it (because nothing follows the
trailing slash.
In short,
Hi gareth,
Thanks for replying (again!)
I understand about the difference between == and === and that that
must be what is causing retrieveByPK to return this but what I don't
get is why id is being set to true when there is no value being passed
in the url so I guess my question is about routin
Do you use APC opcode caching?
If no enable it and also make sure you configure it properly (increase
the max php file size limit that is being cached
http://www.php.net/manual/en/apc.configuration.php#ini.apc.max-file-size).
There is also an interesting article on optimizing PHP code (moving
from
How is possible that if you list a utilisateus the url is "/
utilisateurs/:id" . It should be only /utilisateurs , right?
On 10 bře, 09:33, "NOOVEO - Christophe Brun" wrote:
> I'm trying to use sfDoctrineApplyPlugin, I have been asked to display 2
> backend pages : one to handle administrators,
Edit your index.php file and modify the "false", attribute, set to true. It
will display errors.
2009/12/9 Pancho
> any solution ?
>
> On 29 nov, 23:08, ashton wrote:
> > I'm struggling with aroutingissue. New project, and I have an index
> > module, and a 'list' action and 'index' action.
> >
any solution ?
On 29 nov, 23:08, ashton wrote:
> I'm struggling with aroutingissue. New project, and I have an index
> module, and a 'list' action and 'index' action.
>
> These urls work:
> /frontend_dev.php/index/index (in dev)
> /index/index
> /frontend_dev.php/index/list
>
> this does not:
>
Care to share why you're doing this? I'd like to know.
Thanks!
On 2009-12-07, at 7/December, 3:14 PM, Andreas Stephan wrote:
> Ok, my mistake
>
> there was another routing.yml in the application (the default one
> resides inside a plugin) with an incorrect default url (missing the
> slash a
Ok, my mistake
there was another routing.yml in the application (the default one
resides inside a plugin) with an incorrect default url (missing the
slash at the end).
So just in case anyone's interested, here is how to add a trailing
slash in Symfony >= 1.2 to all your URLs:
routing.yml
de
I've been having the same issues at my site. Users have used names
like john.doe or j...@live.ca and this does not work. I followed the
instructions in this link:
http://bluehorn.co.nz/2008/12/04/how-to-handle-dot-in-symfony-url/
But I still encounter the 404 error. I've been having to go bac
And what about logs ?
Do they talk of your route ?
Does it works with an URL with some text instead of mail ?
/unsubscribe/email/test for example.
Alexandre
2009/10/19 Eno
>
> On Mon, 19 Oct 2009, Alexandre SALOME wrote:
>
> > Does it enter the action ?
>
> Doesn't get that far, because the
On Mon, 19 Oct 2009, Alexandre SALOME wrote:
> Does it enter the action ?
Doesn't get that far, because the module and action name don't appear to
get matched at all.
> What does log files tell ? Which route did it matches ?
>
>
> What kind of error do you have in development environment ? St
Does it enter the action ?
try adding some debug code (echo "ok";exit;) at the beginning of
executeIndex method. Does it works ?
What does log files tell ? Which route did it matches ?
What kind of error do you have in development environment ? Stack trace ?
Good luck,
Alexandre
2009/10/19 Al
try to md5 the email address. i guess it would be better .. and also would
fix your problem ...
i do not know why would you met that problem ..
On Mon, Oct 19, 2009 at 8:50 PM, Eno wrote:
>
>
> In one of our apps, we have a routing rule with an email address in it:
>
> unsubscribeform:
> url:
On Fri, 18 Sep 2009, HAUSa wrote:
> I have a problem with my routing.yml. My URL is still /vastgoed?
> page=3, despite my routing configuration:
>
> estate_page:
> url: /vastgoed/:page
> param: { module: page, action: estate }
>
> This is how I build the URL:
>
>
http://www.symfony-pro
Thx!
On 18 sep, 14:27, Sid Bachtiar wrote:
> First of all, don't forget to run "symfony cc"
>
> Secondly, try:
>
>
>
> On Sat, Sep 19, 2009 at 12:24 AM, HAUSa
>
>
>
> wrote:
>
> > Hi everyone!
>
> > I have a problem with my routing.yml. My URL is still /vastgoed?
> > page=3, despite my routing
First of all, don't forget to run "symfony cc"
Secondly, try:
On Sat, Sep 19, 2009 at 12:24 AM, HAUSa
wrote:
>
> Hi everyone!
>
> I have a problem with my routing.yml. My URL is still /vastgoed?
> page=3, despite my routing configuration:
>
> estate_page:
> url: /vastgoed/:page
> param: {
Hey Dennis,
thanks for confirming. I thought about "uncategorized" as well, but I
don't know what the ratio of categorized vs. categorized items will be
(system is for a client), so I don't want users to have to type
uncategorized into every url...
I ended up using 2 routes for now.
Thanks again
Hi Daniel,
afaik you can't do this using one route. But without knowing more about
your project, how about using a category called 'uncategorized' which
will be the default one if non is chosen? This way you can use one route
and urls would be like
/library/legal/document2.pdf
and if no ca
OK thanks, I get it now.
On Jul 22, 5:37 pm, Gábor Fási wrote:
> the getCompanySlug is called camelCase, when the first letter is
> lowercase, every other first letter of a word is capital. Another was
> is to separate the words with an underscore, so companySlug is the
> same as company_slug,
Ok, no_script_name was the answer to my problem :)
So it's working now, thanks for the help !
On 22 juil, 18:42, Gábor Fási wrote:
> Which was the first project you made, frontend or backend? The first
> one gets to use index.php, the second one uses projectname.php, and
> has no_script_name di
Which was the first project you made, frontend or backend? The first
one gets to use index.php, the second one uses projectname.php, and
has no_script_name disabled by default.
On Wed, Jul 22, 2009 at 16:20, Aurélien Lansmanne wrote:
>
> Hi,
>
> I've recently tried my first application developped
the getCompanySlug is called camelCase, when the first letter is
lowercase, every other first letter of a word is capital. Another was
is to separate the words with an underscore, so companySlug is the
same as company_slug, just with a different writing mode.
As the route you mentioned has the cla
The .htaccess was set to
RewriteRule ^(.*)$ index.php [QSA,L]
If I choose backend.php instead it will work, but I don't know why
the /backend.php/ doesn't appear in the URL, while the backend_dev.php
does...
Is it possible to change the RewriteRule depending on the controler
used?
On 22 juil,
is the rewrite_module active?
2009/7/22 Aurélien Lansmanne
>
> Hi,
>
> I've recently tried my first application developped with Symfony, but
> I've run intro some trouble with the routing, as it doesn't work at
> all :/
>
> I've got two applications in my project : The backend that has been
> ma
THANK YOU!
I had to remove the "/*" from the url. The routing looks now like
this:
...
search:
url: /search
options: { extra_parameters_as_query_string: true }
param: { module: search, action: result }
...
regards,
Michael
On 21 Jul., 11:27, Tonio wrote:
> Oups,
>
> too quick: optio
Oups,
too quick: options: { extra_parameters_as_query_string: true }
On Jul 21, 11:24 am, Tonio wrote:
> Hello,
>
> Try
> options: { generate_shortest_url: false }
>
> from:http://www.symfony-project.org/tutorial/1_2/whats-new#chapter_3fb3b0c...
>
> Tonio
>
> On Jul 21, 10:52 am, "mlu...@gmail.
Hello,
Try
options: { generate_shortest_url: false }
from:
http://www.symfony-project.org/tutorial/1_2/whats-new#chapter_3fb3b0c857177a2b6740a5dcbc0fb8c7_routing
Tonio
On Jul 21, 10:52 am, "mlu...@gmail.com" wrote:
> Hi!
>
> has anybody an idea about this? it's really urgent. thank you.
>
>
Hi!
has anybody an idea about this? it's really urgent. thank you.
michael
On 20 Jul., 19:09, "mlu...@gmail.com" wrote:
> Thank you for the feedback.
>
> Now it's working, but the url looks like this:
>
> /search/q/funny/page/2
>
> Can I change this?
>
> Michael
>
> On 20 Jul., 18:14, Eno wro
Thank you for the feedback.
Now it's working, but the url looks like this:
/search/q/funny/page/2
Can I change this?
Michael
On 20 Jul., 18:14, Eno wrote:
> On Mon, 20 Jul 2009, mlu...@gmail.com wrote:
> > I think I have to define something in the routing.yml, but I have no
> > idea what.
>
On Mon, 20 Jul 2009, mlu...@gmail.com wrote:
> I think I have to define something in the routing.yml, but I have no
> idea what.
>
> I want the url to look like this
>
> www.example.com/search?q=word1+word2&p=1
You could try:
url: /search/*
--
--~--~-~--~~~-
I usually use my own route classes for that purpose.
You can even go as far as to prepend /:sf_culture to every route, if
that helps you.
class ProjectRoute
{
public function __construct($pattern, array $defaults = array(),
array $requirements = array(), array $options = array())
{
$patt
> No you don't, here's the difference :)
>
> Yours: params: { module: user, action: getUserMe }
> Jobeet: param: { module: category, action: show, sf_format: html }
Sometimes small things can make a big difference :-)
You're right - now it works great...!!
Thank you very much, Gá
No you don't, here's the difference :)
Yours: params: { module: user, action: getUserMe }
Jobeet: param: { module: category, action: show, sf_format: html }
On Tue, May 26, 2009 at 12:32, halla wrote:
>
> Yes, thats exactly the same way like I do it also :-) Except the
> sfPrope
Yes, thats exactly the same way like I do it also :-) Except the
sfPropelRoute.
But, like I wrote: This raises a 404 if the URL is called without
suffix :-((
On 26 Mai, 12:19, Gábor Fási wrote:
> This is how it's done in jobeet, day 15:
>
> // apps/frontend/config/routing.yml
> category:
>
This is how it's done in jobeet, day 15:
// apps/frontend/config/routing.yml
category:
url: /category/:slug.:sf_format
class: sfPropelRoute
param: { module: category, action: show, sf_format: html }
options: { model: JobeetCategory, type: object }
requirements:
sf_format: (?
The last answer by Franck again:
>In this case you can create an additional "fallback" route, besides
> the route with the category slug, which points to the same action.
> This will work in any case, without spending too much time in the
> routing stuff.
>
>
> something_without_slug:
> url: /:
thanks, michael,
that did it!
-- lowshoe
--~--~-~--~~~---~--~~
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, sen
Well, I recently found the following in the Jobeet Tutorial which
tells the same:
"To avoid module name collisions, it is always a good habit to prefix
plugin module names with the plugin name"
So, i thinkg this is probably the only and the best way to handle it.
Thanks,
Christian
On Mar 2
But how you going to enable these modules? I mean with same name...
I think it's pretty common practice to prefix module names with it's
plugin name to omit such collisions.
Thanks.
Christian Haintz wrote:
> Hi,
>
> I am trying to figure out how i can make a routing decision. E.g. I
> have mu
I think this should be:
Michael
On 25 Mrz., 22:20, lowshoe wrote:
> hi all,
>
> i have problems in using link_to in conjunction with sf_culture.
>
> suppose i have the following routing.yml:
>
> # route for articles
> article:
> url: /:sf_culture/article/details/:article_id
> param:
i get this idea from sfW3studioCmsPlugin (solutuion E) :
listen to the event 'routing.load_configuration'
$this->dispatcher->connect('routing.load_configuration',
array('w3sRouting', 'listenToRoutingLoadConfigurationEvent'));
and on w3sRouting::listenToRoutingLoadConfigurationEvent
you could pre
I'm still stuck on this one... Any idea's yet?
On 22 jan, 13:32, joostdj wrote:
> I have a third-party web application (phpBB) in which I want to
> include some symfony components (to simulate the sf layout). The phpBB
> app is stored in the dir 'web/forum'. I've got a working solution, but
> al
Hi Bernhard,
Thanks for responding. You suggested:
test_index:
url: /test
param: { module: test, action: index }
test_images:
url: /test/images
param: { module: test, action: index, type: image }
With that first rule in place, I would get the following results:
test/index?type=image
Hi Tom,
It may be a silly suggestion, but why don't you just add the /test rule?
test_index:
url: /test
param: { module: test, action: index }
test_images:
url: /test/images
param: { module: test, action: index, type: image }
On Fri, Feb 13, 2009 at 7:47 PM, Tom Haskins-Vaughan
wrote:
I may be completely off track here, but does the requirements field not
use regular expressions? If it does, is there not something you can do
like this:
requirements: { type: (image|video)s }
Tom Boutell wrote:
> I spent some time puzzling over these two routing rules today:
>
>
> image
hi!
put
network_custom:
url: /:custom_url
class: sfPropelRoute
options: { model: Network, type: object }
param: { module: network, action: view }
to be either the first or last route in your routing yml file.
not wery sure right now.
i think is better to be the last. This way, wil
Also, if it helps, it works perfectly in my dev environment but not in
prod.
On Jan 28, 9:49 am, "bpfar...@gmail.com" wrote:
> I'm trying to use a custom routing rule so that users can have a
> dedicated URL that goes to a specific dynamic page. The routing rule
> is this:
>
> network_custom:
>
I'm trying to use a custom routing rule so that users can have a
dedicated URL that goes to a specific dynamic page. The routing rule
is this:
network_custom:
url: /:custom_url
class: sfPropelRoute
options: { model: Network, type: object }
param: { module: network, action: view }
Fabien,
Yes, and it's fixed, thank you. I am running into another problem, is
it possible to have a routing rule like this:
network_custom:
url: /:custom_url
class: sfPropelRoute
options: { model: Network, type: object }
param: { module: network, action: index }
So that the URL
Is your network_show_user rule before the symfony default rules?
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
bpfar...@gmail.com wrote:
> I followed the Jobeet tutorial for specifying a custom routing rule
For all people interested in this issue:
The darn virtual host directive contained a «Multiviews» option in its
directory subdirective. Got rid of it: bingo! 3 days of idleness
NameVirtualHost 127.0.0.1
ServerName localhost
DocumentRoot C:\yadiyada
Op
routing.yml:
homepage:
url: /
param: { module: indexsplash, action: index }
default_symfony:
url: /symfony/:action/*
param: { module: default }
default_index:
url: /:module
param:
Could it be that your .htaccess file is messed up? Could you maybe
post that file, the contents of your routing.yml and that of
settings.yml here? Otherwise it's quite hard to help you.
Bernhard
--~--~-~--~~~---~--~~
You received this message because you are subs
On 18 déc, 01:18, "Bernhard Schussek" wrote:
> Hi,
>
> Is no_script_name turned on for the given environment in settings.yml?
>
> Bernhard
Hi,
Yes, it's turned on in all envs.
My difficulties are getting worst: even though I commented out the
language action of the index module, and got rid
Hi,
Is no_script_name turned on for the given environment in settings.yml?
Bernhard
--~--~-~--~~~---~--~~
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@googleg
thank you ant,
you led me the right direction. in my code i still had named :action
as :test
so the following works:
content:
url:/:action
param: { module: content }
requirements:
action: "company|products|contact"
regards, lowshoe
--~--~-~--~~~-
You dont need to define action if that symbol will always be there.
/:action means thats the action name since you defined the module i
think it should work.
did you try leaving out the action in the param entry?
lowshoe wrote:
> hi all,
>
> i'm quiet new to symfony. currently i'm fiddling ar
If I would have to guess, I would say "no" :)
This is what I did:
$symfony doctrine:generate-module frontend access Access
then I renamed the module access to caccess
$symfony generate:module frontend access
So, I would assume that I don't have to create one
Also, the routing.yml looks like
I've noticed some of my backend module/action URLs also now end with a .html
in sf 1.2, I'd be interested to know why this is the case.
2008/12/10 noel guilbert <[EMAIL PROTECTED]>
>
> Hello,
>
> Did you add a routing rule for your new module ?
>
> On Tue, Dec 9, 2008 at 12:29 AM, juro <[EMAIL
Hello,
Did you add a routing rule for your new module ?
On Tue, Dec 9, 2008 at 12:29 AM, juro <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Symfony 1.2.
>
> After generating a crud module ('caccess' based on the 'Access'
> model), everything works fine. After copy pasting the necessary fields
> to anothe
Can you place the culture routing that early on?
On 10/1/08, James <[EMAIL PROTECTED]> wrote:
> They talk about it at the top of the book dealing with mutliple
> cultures.
>
> http://www.symfony-project.org/book/1_1/13-I18n-and-L10n#Text%20Information%20in%20the%20Database
>
> james
>
>
>
> On
They talk about it at the top of the book dealing with mutliple
cultures.
http://www.symfony-project.org/book/1_1/13-I18n-and-L10n#Text%20Information%20in%20the%20Database
james
On Oct 1, 2008, at 3:22 PM, javo wrote:
>
> Hi all,
>
> I have one project already online and I'm trying to rewri
Thanks a lot Lee!
That worked great.
See ya
On Jun 17, 4:44 pm, Lee Bolding <[EMAIL PROTECTED]> wrote:
> You need to modify your .htaccess to skip routing rules for files
> ending .rss
>
> Add : RewriteCond %{REQUEST_URI} !\.rss$
>
> after the line with !\.html$ in it.
>
> On 17 Jun 2008, at
You need to modify your .htaccess to skip routing rules for files
ending .rss
Add : RewriteCond %{REQUEST_URI} !\.rss$
after the line with !\.html$ in it.
On 17 Jun 2008, at 20:28, Centerax wrote:
>
> Hello guys.
>
> I've this problem:
> in my dev environment I can access this url
> www.d
@cedric > Yes, I had a look on the plugin page and although it appears
little bit abstract to me, it should do the trick! thanks
@xanders > An other way to explore, I bookmark it. Thank you.
On Jun 5, 3:28 am, xanders <[EMAIL PROTECTED]> wrote:
> this may be what you are looking for
>
> http:/
this may be what you are looking for
http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/
have to use the included helper though. not all link_to()'s will do it
automatically i dont think.
in symfony 1.1 the routing factory is configurable so you will be able
to j
Well, this is only a guess and I might be wrong, but a brand new
plugin seems to allow to do that:
http://trac.symfony-project.com/wiki/ysfR3Plugin
With it you can insert internationalizable words in any yml config
file, so maybe you can have rules like that:
@rule:
/user/:username
{module: user
Thanks to all
@nicolas > well, good to know. Actually, I'm starting a new project
and i have some doubt on which version of symfony to use (i'm sf
beginner). I've read it is better to do it using v1.1 but since there
is not much documentation and most of SF plugins are not compatible
yet, it's qu
Hi,
On 4 juin, 07:57, simo <[EMAIL PROTECTED]> wrote:
> depending on the sf_culture, I'd like to have
>
> myapp.com/user/myname
> myapp.com/utilisateur/myname
>
> I haven't seen this on the doc, or maybe I 've just missed it. Many
> thanks.
>
> simo
In 1.0 you can try this tricky routing rules:
2008/6/4 simo <[EMAIL PROTECTED]>:
> depending on the sf_culture, I'd like to have
>
> myapp.com/user/myname
> myapp.com/utilisateur/myname
With symfony 1.0 it will be very very hard (if not impossible), but
with 1.1 you can create your own routing class and include i18n
mapping within in.
++
I don't know if exist something like that..
I think you may use a sfFilter class and change routing depending on
sf_culture.
Mauro Casula
Symfony-Framework.com
On Wed, Jun 4, 2008 at 7:57 AM, simo <[EMAIL PROTECTED]> wrote:
>
> Hi list,
>
> I'd like to know if an advanced rule of routing allow
thanks for your reply...
I didn't set /web to be the root of my website because I do not have
access to the httpd.conf file but I figured it out at the control
panel.
so, it was really simple, set the root path of my website to /web and
that's it.
thank you!
On May 11, 6:10 am, markchicobaby <[
There should be no need to play with .htaccess. Are you sure you
configured /web to be the root correctly?
Check this article: (is relevant even if you don't use suexec. Also
see the book chapter 19.)
http://trac.symfony-project.com/wiki/SymfonyPHPsuexec
If you're still having trouble post you
An other possible solution seems to be indicated on
http://www.symfony-project.org/forum/index.php/m/42787/
changing the SCRIPT_NAME into ORIG_SCRIPT_NAME.
Cheers,
Hervé
On 11 avr, 20:21, hervé <[EMAIL PROTECTED]> wrote:
> Alright Jerry, just ran into the solution:
>
> add the line
> cgi.fix_p
Alright Jerry, just ran into the solution:
add the line
cgi.fix_pathinfo = 1
in your php5.ini
Hope it helps ,
Hervé
On 16 mar, 17:27, me_unicorn <[EMAIL PROTECTED]> wrote:
> I experienced similar problems as you described above and have had 3
> sleepless nights and days since this problem occu
On 5. Mar., 16:52 h., Marek <[EMAIL PROTECTED]> wrote:
> given this routing rule:
>
> sf_cms_show:
> url: /:sf_culture/:slug
> param: { module: sfSimpleCMS, action: show }
> requirements: { slug: '.*', sf_culture: "(en)" }
>
> and this URL: /fe_dev.php/en/test
>
> I get this in the log:
>
>
> The problem now is that matching is done before connecting
> all the prepended routes (seems so) which ends in matching one of
> the default routes from routing.yml - only these are available
> for the parser in sfRouting at this point.
Are you using sf1.1? If so, this is a known problem curre
James,
phpleo a friend of mine blog about this topic with 2 code examples, a filter
made by him and a modified htaccess for symfony. They both will make this
work as expected.
Take a look at the code and download link. The blog is in spanish tho.
http://blog.phpleo.com/2008/01/27/redireccion-301-e
can you send what you used? I'd like to do the same.
thanks,
James
On Jan 27, 2008, at 1:15 AM, Joan Piedra wrote:
> Jonathan you were completly right.
> I just added an htacces condition and rule to make this 301 redirect
> work.
>
> I will send a blog post about this soon.
> Thanks for poi
Jonathan you were completly right.I just added an htacces condition and rule
to make this 301 redirect work.
I will send a blog post about this soon.
Thanks for pointing it out.
On Jan 26, 2008 2:58 PM, Jonathan Franks <[EMAIL PROTECTED]> wrote:
>
> you can use .htaccess to remove trailing slash
1 - 100 of 150 matches
Mail list logo