Thanks.
I tried this configuration:

define ('BASE_URL', env('SCRIPT_NAME') . '?'); -> old: define
('BASE_URL', env('SCRIPT_NAME') );
$uri = env('PHP_SELF') . env('QUERY_STRING'); -> old: $uri = setUri();

And this is the result now: http://www.mydomain.de/index.php?/main/index

I checked the server configuration with phpinfo(): Apache/1.3.33
(Unix), Server API: CGI, PHP Version 4.4.7
I'm clueless.

Regards,
Arndtinho


On 30 Mai, 21:55, "Nicolas Rimbeau" <[EMAIL PROTECTED]> wrote:
> On 5/31/07, Arndtinho <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hello,
>
> > I have some problems with pretty url's. Following the domain name you
> > can see "index.php" e.g.
>
> >http://www.mydomain.de/index.php/main/index
>
> > On my local machine (WinXP, Apache2, mod_rewrite is enabled) works the
> > app without any problems. But on the webserver I get this problems. I
> > don't have permissons to change the httpd.conf.
>
> > What I did:
> > - uploaded the app on the server,
> > - deleted the .htaccess files in
>
> > /appdir
> > /appdir/app
> > /appdir/app/webroot
>
> > - and uncommented the BASE_URL line. The result you can see above.
>
> > If I try to start the app with all the .htaccess files I getting an
> > "500 server error".
> > To draw a comparison I installed the same app (with all the .htaccess
> > files and commented BASE_URL line) on an testing webserver at an other
> > host. On this host the app is working fine.
>
> > What do you think is the reason for the problem above and how can I
> > solve it?
>
> > Regards,
> > Arndtinho
>
> I recently had the same problem... I think this can help you :
>
> https://trac.cakephp.org/ticket/812
>
> Regards,
>
> --
> Nico
> "Sanctis recorda, sanctis deus rex"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to