In the secondary domain in the .htaccss file try this:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /full/path/to/domain/secondarydomain/cake/
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

And also try it without the <ifModule /> tags.  YOu also might need to
put it in the other two .htaccess files as well.

Geoff
--
http://lemoncake.wordpress.com


On Aug 5, 2:46 am, Jason <[EMAIL PROTECTED]> wrote:
> I have Cake up and running just fine on my primary domain but cannot
> get it to work properly on my secondary domain (by this I mean that I
> have a second domain hosted on the same account- it is within a
> subfolder of my main HTTP folder).  I have godaddy hosting.  When I
> install cake on the secondary domain, I have no problem accessing it
> via:http://primarydomain.com/secondarydomain/cake/controller.  But,
> when I access it via:http://secondarydomain.com/cake/controllerit
> says "No input file specified".  I have modified the .htaccess files
> in order to get to this point, which I feel is a step forward because
> before I was getting 404 errors.  Even if I disable mod-rewrite
> (delete the .htaccess files and uncomment a peice of code in the
> core.php file) I still get the same error.  I have a feeling that the
> file information cake is getting from the server is incorrect.  Any
> help would be greatly appreciated.
>
> Thanks in advance,
>
> Jason


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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