I'm trying to run a symfony project in a shared host that has php4 and
php5 support (php5 as cgi). It runs perfectly in my house using apache
php5-module.

The symfony aplication is this local directory:

/users/pangea/marc/alt-ong

and the web 

/users/pangea/marc/alt-ong/web

And URL's are like this:

http://www.pangea.org/alt-ong/

The default module/action load correctly but all others pages are crappy
because symfony generates the base paths (for link_to, css, images,...)
in "crazy" way.

Example:
--------

Goog page:
http://www.pangea.org/alt-ong/

Bad path page:
http://www.pangea.org/alt-ong/index.php/page/index/alias/qui_som (path
like alt-ong/web/css/alt-ong/web/css/main.css -> repeating paths !!)

The apache configuration for the web is this:

/*** Start apache config ***/
<Location /alt-ong>
       AddHandler php-script .php
       Action php-script /cgi-bin-sym/php-cgi
       AllowOverride All
</Location>
/*** End apache config ***/

I've tried sf_relative_config/path_info_array/... in settings.yml and
nothing, some apache rewrite config, read all doc and i can't determine
what is the problem.

Any idea how to resolve that ?

Thanks in advance.

-- 
"Si has construido un castillo en el aire, no has perdido el tiempo, es
allí donde debería estar. Ahora debes construir los cimientos debajo de
él." - George Bernard Shaw, escritor irlandés

   Marc Montañés   *   mail: [EMAIL PROTECTED]   *   telf: 622216489


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to