On Thu, Feb 24, 2011 at 11:08 PM, Ryan Schmidt
<[email protected]> wrote:
> On Feb 24, 2011, at 11:52, mohammad Al-Ani wrote:
>
>> when I request any file or directory that settle inside webroot directory. 
>> The URL automatically show the app/wedroot slug
>>
>> ex:
>>
>> request
>>
>>     www.mydomian.com/css/main.css
>>
>> change in browser to
>>
>>     www.mydomian.com/app/webroot/css/main.css
>
> webroot is supposed to be the directory your Apache DocumentRoot directive 
> points at; you clearly haven't done this.

Not necessarily. For those who can't change DocumentRoot, there are
the various .htaccess files with rewrite rules to handle that. If
that's the case, DocumentRoot doesn't change, from Apache's
perpective.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to