Hi David,

thanks for your response.

Well, I thought I just need the mod_rewrite support if I want to use  
URLs without the index.php ( e.g. mydomain.com/action instead of  
mydomain.com/index.php/action).

I want to call an URL like http://www.domain.com/test/pub/json.php5/contact 
  with an Ajax request but this doesn't work even when I call the URL  
directly in the browser. The default action is called all the time.

My routing.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<configurations xmlns="http://agavi.org/agavi/1.0/config";>
        <configuration>
                <routes>
                        <route pattern="^/contact" 
module="%actions.default_module%"  
action="Contact"/>
                        <route pattern="^/$" module="%actions.default_module%"  
action="%actions.default_action%"/>
                </routes>
        </configuration>
</configurations>

I don't get what I'm doing wrong because (as I said) it work's in my  
local server.

I already tried to activate mod_rewrite with the htaccess but this was  
unsuccessful, too.

If you do say the problem concerns mod_rewrite then I have to do some  
research. :)

Thanks and greets
Marcel

Am 25.06.2008 um 22:54 schrieb David Zülke:

> Marcel,
>
> we have customer applications running on 1und1 managed servers (used
> to be Schlund).
>
> Do you have more details regarding what the actual problem is? Are you
> sure that mod_rewrite is enabled correctly?
>
> What the rewrite for the routing does is remove the "index.php"
> portion from the URL. This is achieved by appending the requested
> resource as a query string portion, not as path info (since that
> doesn't work in all environments and SAPIs).
>
> I have run into situations where rewrites on an Apache 2.2
> installation on Windows did not work properly in .htaccess; moving the
> instructions to the virtual host configuration worked fine. Didn't
> have enough time to look into the issue back then. Maybe this is
> related.
>
> So... any further info would be much appreciated so we can hunt this
> one down.
>
> Greetings and thanks,
>
> David
>
>
>
> Am 25.06.2008 um 14:30 schrieb Marcel Koch:
>
>> Hi everbody,
>>
>> has someone ever got problems deploying agavi on an 1und1 webspace?
>> I got the issue that the routing feature is not working. On my
>> computer I use a xampp installation and the routing works fine.
>>
>> I guess the problem is caused by missing env vars. Is there a way
>> to  call actions with a paramater in the query string?
>>
>> Thanks and greets
>> Marcel
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.agavi.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to