++++++++++++++++++++++++++++++++++++++++++++++++
routing.yml:
++++++++++++++++++++++++++++++++++++++++++++++++
homepage:
  url:   /
  param: { module: indexsplash, action: index }

default_symfony:
  url:   /symfony/:action/*
  param: { module: default }

default_index:
  url:   /:module
  param: { action: index }

default:
  url:   /:module/:action/*
++++++++++++++++++++++++++++++++++++++++++++++++
.htaccess
++++++++++++++++++++++++++++++++++++++++++++++++
Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
   RewriteBase /

  # we skip all files with .something
  # comment the following 3 lines to allow periods in routes
  RewriteCond %{REQUEST_URI} \..+$
  RewriteCond %{REQUEST_URI} !\.html$
  RewriteRule .* - [L]

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

# big crash from our front web controller
ErrorDocument 500 "<h2>Application error</h2>symfony application
failed to start properly"
++++++++++++++++++++++++++++++++++++++++++++++++
settings.yml:
++++++++++++++++++++++++++++++++++++++++++++++++
all:
  .settings:
    enabled_modules:        [default, sfGuardAuth, sfEasyGMapPlugin]
    i18n:                   on
    charset:                utf-8
    available:              on        # Enable the whole application.
Switch to off to redirect all requests to the unavailable module and
action.
    standard_helpers:       [Partial, Cache, Form, I18N]
    error_reporting:        <?php echo (E_ALL | E_STRICT)."\n" ?>
  .actions:
    login_module:           sfGuardAuth
    login_action:           signin
    default_module:         index   # Default module and action to be
called when
    default_action:         index   # A routing rule doesn't set it
    secure_module:          sfGuardAuth
    secure_action:          secure

prod:
  .settings:
    no_script_name:         on

dev:
  .settings:
    error_reporting:        <?php echo (E_ALL | E_STRICT)."\n" ?>
    web_debug:              on
    cache:                  off
    no_script_name:         on
    etag:                   off
    i18n:                   on
test:
  .settings:
    error_reporting:        <?php echo (E_ALL | E_STRICT &
~E_NOTICE)."\n" ?>
    cache:                  off
    web_debug:              off
    no_script_name:         on
    etag:                   off
++++++++++++++++++++++++++++++++++++++++++++++++

I'm considering re-initiating the entire project.  Lots of work, but
my frontend app is basically broken.

Thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
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