I don't think you need the final slash at the end. I usually just put /
path/to/dir/* in my Apache directory directives.

On Jun 10, 9:53 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> I just had some problems getting Cake to run on a new MacBook Pro I bought 
> this week <embarrassed face>. I didn't want to install MAMP; I enabled PHP 
> and installed MySQL. I went through all the published steps to get Apache to 
> play nice, but I was not getting any CSS or images.
>
> I stumbled across this article which contained something that I hadn't 
> thought of before, and it suddenly burst into life. It *could* help you?
>
> In my httpd.conf file I had this section:
>
> <directory "/Users/jeremyburns/Sites/">
>     Options Indexes MultiViews FollowSymLinks
>     AllowOverride All
>     Order allow,deny
>     Allow from all
> </directory>
>
> ...which I thought was enough. Following advice in that article I changed the 
> first line to:
>
> <directory "/Users/jeremyburns/Sites/*/">
>
> ...and it all sprang into life (note the */ at the end).
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 11 Jun 2010, at 01:45, Davor Ilic wrote:
>
> > sry for my bad english. i hope you did understand me... also it is hard to 
> > understand you what you meen somtimes but google translate helps a little 
> > bit.
>
> > i´ve try to change now something and it didn´t work...  i realy don´t know 
> > what i have done to get this issue. but i know that i only create 
> > controllers, views and models nothing else... and also chane the route to 
> > my path i´d liketo have
>
> > 2010/6/10 Davor Ilic <webfa...@gmail.com>
> > I didn´t turn it off i´ve only changed in the core the Salt security values 
> > for sha1 and numbvalues nothing else.
>
> > I´ve tested it. if i use the url like 
> > this:http://my.site/clients/add_clientit also work. Hm the html->link is 
> > only showing like this but htaccess is working well if i try the link it 
> > can be that i´ve only have this issue.
>
> > lg,
>
> > Davor
>
> > 2010/6/9 Dr. Loboto <drlob...@gmail.com>
>
> > Did you study cakebook link? You need:
>
> > 1) mod_rewrite installed and enabled;
> > 2) AllowOverride set to All for your site dir;
> > 3) .htaccess files must exist, be valid (unchanged rewrite section
> > actually), and be accessible by webserver (on *nix wrong rights
> > prevent it).
>
> > Also there can be problem with alias if you use it. And finally you
> > can try to point DocumentRoot to app/webroot instead of root folder.
>
> > But I still think that or you have mod_rewrite not working for your
> > site OR you turned off pretty URLs in core.php
>
> > On Jun 9, 5:16 pm, Davor Ilic <webfa...@gmail.com> wrote:
> > > it is enabled i also worked with it and cake wouldn´t show me a correct 
> > > page
> > > with this
>
> > > url:http://my.site/*app/webroot/index.php/*clients/add_client
>
> > > it have to be anything else. perhaps it have something to do with the
> > > route.php or the .htaccess isn´t done well....
>
> > > 2010/6/9 Dr. Loboto <drlob...@gmail.com>
>
> > > > You need mod_rewrite enabled.
>
> > > >http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess
>
> > > > On Jun 7, 12:40 am, Davor Ilic <webfa...@gmail.com> wrote:
> > > > > Hi,
>
> > > > > my url is 
> > > > > this:http://my.site/*app/webroot/index.php/*clients/add_client
>
> > > > > why is it like this it change after time but can´t say i´ve changed
> > > > > something.
>
> > > > > i wont to show the link like this with "$html->link()" :
> > > >http://my.site/clients/add_client
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.c
> > > >  om>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+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to