Check your Apache conf. I'll bet the problem is this line: Alias /icons/ "/var/www/icons/"
This is from my desktop box: $ grep icon /etc/httpd/conf/httpd.conf # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # We include the /icons/ alias for FancyIndexed directory listings. If you Alias /icons/ "/var/www/icons/" <Directory "/var/www/icons"> # AddIcon* directives tell the server which icon to show for different AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # DefaultIcon is which icon to show for files which do not have an icon DefaultIcon /icons/unknown.gif On Wed, May 6, 2009 at 4:50 AM, Anna P <apad...@o2.pl> wrote: > > Hello. > I have searched all over the web about the "The requested URL was not > found on this server" and still can't solve the problem. It's rather > strange, because with one parameter it works (page is displayed) and > with other - it doesn't. > > You can see it here: > http://www.gurufreebies.com/icons > > When I try to choose a subcategory from the left menu (for example > "nature") cake display's 404 Not Found. > But when I try to select subcategory for graphics or photos: > http://www.gurufreebies.com/photos > it shows everything fine. > > Displaying list of images (no matter if they are icons, photos or > graphics) is set on a one function in the same controller. Function > takes 3 parameters - main category name, subcategory name = NULL, page > number = NULL > > What could possibly be wrong? Why with one parameter function works OK > and displays stuff and with other - it doesn't ? > > What is even more interesting - in polish version of this site, > displaying list of icons from chosen subcategory - works fine. (for > example : www.gurufreebies.pl/ikony/natura ) > > Debug set to 2 showed nothing, deleting files from cache did nothing, > tmp is ste to writable, db connection is OK, route is also set OK. > > Thanks in advance for any suggestions:) > Anna > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---