Hey, thanks for the reaction.

I had a bit more time to play around with it today and I got it to
work on my local machine (xampp on windows) with project_files above
htdocs and the webroot files in htdocs/site/*files. I really like the
setup, and it's great that it works!

So, with a bit of extra belief I just put it on the server, but alas,
the server did the same thing it did before. Gave the rerouted first
page fine (an under construction page via a controller with a specific
layout and the right css) but as soon as /controller/action happened
it gave a 500.

Now, I'm positive it isn't the settings in index.php, as the relative
setup is exactely the same on my local machine as on the server. The
tmp directories etc. are all writable. So, the only thing I'm left
with is mod_rewrite, right? But in phpinf() it says next to loaded
modules: ...mod_rewrite ...

I just don't understand what can be wrong, still!



On 12 jul, 08:45, AD7six <[EMAIL PROTECTED]> wrote:
> Hi CakeSpork,
>
> On Jul 12, 12:58 am, CakeSpork <[EMAIL PROTECTED]> wrote:
> <snip>
>
> > Oh, I was also wondering what the 'basename' did there for webroot_dir
> > anyway, isn't it doing exactely the same as dirname at that point??
>
> basename returns the name of the folder, dirname returns the path
> (just look at the results, or look them up on php.net)
>
> A 500 error is very likely to mean that there is a problem in the
> configuration of mod_rewrite. E.g. you are rewriting the url to a file
> that doesn't exist (and possibly invoking mod_rewrite in a loop). As
> such if you find your rewrite log it will probably be full of messages
> saying that /part/correct/path/somethingWrongOrMissing/index.php
> doesn't exist. Alternatively use trial & error & google (for
> "mod_rewrite 500 cakephp" or "<exact error message> cakephp") and
> you'll probably get a step closer.
>
> I'll go polish my excelent and thorough badge :),
>
> AD


--~--~---------~--~----~------------~-------~--~----~
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