Saturday, May 1, 2010

Re: Webpage not finding webroot

Thanks for the help.

IIS is the problem. I've uncommented the line
Configure::write('App.baseUrl', env('SCRIPT_NAME'));
in core.php, and with a couple of other tweaks, the site is now
showing up at last! The urls aren't pretty, but that's not a huge
issue... the only thing is that I can't figure out how to get to the
admin area now!

If anyone can advise me 1) how to get the pretty urls working, or 2)
how to get to my admin area, that'd be great!

Thanks!
Sharon

On 1 May, 20:26, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> mod rwite is not working on the server or is not set correctly
>
> http://www.softwaresolutionsni.co.uk/newSite/pages/11- error 404
>
>  I don't use IIS but as far as I understand some have found a few tweaks
> need to   be made to get IIS to work
>
> anyway as I say I don't use IIS but there are comments in those links from
> people who are using cake & IIS
>
> in the config/core.php file you can set cake internal url rewrite as an
> alternative
>
> - S
>
> On 1 May 2010 19:51, Andrei Mita <andrei.m...@gmail.com> wrote:
>
>
>
> > mod_rewrite is on?
>
> > On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock <sam.sherl...@gmail.com>wrote:
>
> >> I think this is due to serving from IIS
>
> >>http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite...
> >>http://bakery.cakephp.org/articles/view/cakephp-on-iis<http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite...>
> >>  http://book.cakephp.org/comments/37
>
> >> On 1 May 2010 19:11, WhyNotSmile <sharongilmor...@googlemail.com> wrote:
>
> >>> I have a site (in 1.2) which I have uploaded, but which seems to be
> >>> unable to find its own webroot.
>
> >>> The content from the database is fine, but I am getting the following
> >>> errors:
>
> >>> 1. Not finding images, javascript or css.  However, it finds them ok
> >>> if I put them at the same level as 'app' and 'cake'.
>
> >>> 2. Not finding any page other than the home page.  If I click on any
> >>> of the links to the rest of the site, I get 'The page cannot be
> >>> found'.
>
> >>> All of this works fine on the localhost.
>
> >>> I'd appreciate if anyone could point me in the right direction.  The
> >>> error dump and error logs aren't showing anything up.
>
> >>> The site iswww.softwaresolutionsni.co.uk/newSite
>
> >>> I did have it atwww.softwaresolutionsni.co.uk, but had exactly the
> >>> same problems, so I don't think the subfolder is the problem.
>
> >>> Can anyone help?
>
> >>> Thanks!
> >>> Sharon
>
> >>> Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> >>> others with their CakePHP related questions.
>
> >>> You received this message because you are subscribed to the Google Groups
> >>> "CakePHP" group.
> >>> To post to this group, send email to cake-php@googlegroups.com
> >>> To unsubscribe from this group, send email to
> >>> cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >>>http://groups.google.com/group/cake-php?hl=en
>
> >>  Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> >> others with their CakePHP related questions.
>
> >> You received this message because you are subscribed to the Google Groups
> >> "CakePHP" group.
> >> To post to this group, send email to cake-php@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >>http://groups.google.com/group/cake-php?hl=en
>
> >  Check out the new CakePHP Questions sitehttp://cakeqs.organd help
> > others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: