This is the error I get int he div that is supposed to load the ajax div. I
also get a similar error message when I use a redirect to try and reload the
entire page.

Not Found

The requested URL /users/list was not found on this server.


On 2/16/09, Gareth McCumskey <gmccums...@gmail.com> wrote:
>
> I thought I would just add for this problem we are experiencing, here are
> the httpd.conf and the .htaccess entries. If someone can help out with the
> right values for these and perhaps point out where I might going wrong that
> would be a great help :)
>
> httpd.conf:
>
> <VirtualHost *:80>
>         ServerAdmin             supp...@synaq.com
>         DocumentRoot            /usr/local/projectdirectory/web
>         DirectoryIndex          index.php
>         ServerName              www.domain.co.za
>         ErrorLog                logs/domain-error_log
>         CustomLog               logs/domain-access_log common
> </VirtualHost>
>
> (Of course I have replace the actual domain values with placeholders, sorry
> corporate secrets ;) )
>
> .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
> 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>
>
>
> I have tried the .htaccess with RewriteBase uncommented but it seems to
> make no difference.
>
> Thanks again guys. All help will be appreciated. And if we get this working
> we will eventually have a demo version of this application running that I
> will happilly post onto the list for people to go view another great symfony
> app running in an enterprise environment :D
>
> Regards
>
> Gareth McCumskey
>
> On 2/14/09, Gareth McCumskey <gmccums...@gmail.com> wrote:
>>
>> It is not only the AJAX actions themselves. If an action tries to use a
>> redirect directly it also throws a 404 error. Also adding on index.php to
>> the url such as http://www.domain.com/index.php/module/action all is
>> fine, the ajax on that page does not load though because of the
>> remote_function call probably using some redirect.
>>
>> And I have called the ajax actions directly as well and they then work
>> fine.
>>
>> Gareth
>>
>> On Sat, Feb 14, 2009 at 11:36 AM, Bernhard Schussek 
>> <bschus...@gmail.com>wrote:
>>
>>>
>>> Hi Gareth,
>>>
>>> Did you try accessing the AJAX actions directly?
>>>
>>>
>>> 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@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to