You are looking at the cake 1.1 which is working just fine.

I am having problem with cake 1.2alpha which is on caketest url

My .htaccess is the default one.  I just rename them just to see what
the path would look like

I rename it back so you can see.

This url: http://coaddons.sourceforge.net/caketest/index.php/pages/hello

An error has been encountered in accessing this page.

1. Server: coaddons.sourceforge.net
2. URL path: /home/groups/c/co/coaddons/htdocs/caketest/app/webroot/
index.php/pages/hello
3. Error notes: File does not exist: /home/groups/c/co/coaddons/htdocs/
home/groups/c/co/coaddons/htdocs/caketest/app/webroot/index.php/pages/
hello
4. Error type: 404
5. Request method: GET
6. Request query string:
7. Time: 2007-06-29 06:08:24 PDT (1183122504)


this url: http://coaddons.sourceforge.net/caketest/pages/hello

An error has been encountered in accessing this page.

1. Server: coaddons.sourceforge.net
2. URL path: /home/groups/c/co/coaddons/htdocs/caketest/app/webroot/
pages/hello
3. Error notes: File does not exist: /home/groups/c/co/coaddons/htdocs/
home/groups/c/co/coaddons/htdocs/caketest/app/webroot/pages/hello
4. Error type: 404
5. Request method: GET
6. Request query string:
7. Time: 2007-06-29 06:08:10 PDT (1183122490)

{cakeroot}.htaccess
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

app/.htaccess
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]

webroot/.htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>-



On Jun 28, 10:49 pm, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Actually I think it may be a htaccess issue.  When I go 
> tohttp://coaddons.sourceforge.net/cake/pages/helloI get exactly the
> same error as your first post.
>
> When I go tohttp://coaddons.sourceforge.net/cake/index.php/pages/hello
> I get the expected the expected page.
>
> What does your htaccess look like?
> BTW all those paths are correct
>
> Geoff
> --http://lemoncake.wordpress.com
>
> On Jun 29, 2:33 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > I rename .htaccess and index.php in cake, app and webroot and add some
> > echo code in bootstrap.php to see what is the value of those
> > constant.  As I walk down the path and here is what I got echo back.
> > Any idea how to get this to work!  I use the latest 1.2 code that I
> > can down from cake site.  Thanks
>
> > ROOT=/home/groups/c/co/coaddons/htdocs/caketest
> > APP_DIR=app
> > WEBROOT_DIR=webroot
> > WWW_ROOT=/home/groups/c/co/coaddons/htdocs/caketest/app/webroot/
> > CAKE_CORE_INCLUDE_PATH=/home/groups/c/co/coaddons/htdocs/caketest
> > CORE_PATH=
> > APP_PATH=
> > BASE_URL=BASE_URL
>
> > ROOT=/home/groups/c/co/coaddons/htdocs/caketest
> > APP_DIR=app
> > WEBROOT_DIR=webroot
> > WWW_ROOT=/home/groups/c/co/coaddons/htdocs/caketest/app/webroot/
> > CAKE_CORE_INCLUDE_PATH=/home/groups/c/co/coaddons/htdocs/caketest
> > CORE_PATH=
> > APP_PATH=
>
> > Notice (8): Use of undefined constant BASE_URL - assumed
> > 'BASE_URL' [CORE/cake/bootstrap.php, line 152]
>
> > Context | Code
>
> > $SHELL  =       "/bin/bash"
> > $SSH_CLIENT     =       "10.5.1.30 37356 22"
> > $USER   =       "root"
> > $PATH   =       "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
> > $MAIL   =       "/var/mail/root"
> > $PWD    =       
> > "/var/local/mastertree/service-prweb/babysitter/httpd-overload"
> > $LANG   =       "en_US.UTF-8"
> > $HOME   =       "/root"
> > $SHLVL  =       "4"
> > $PYTHONPATH     =       "/var/local/mastertree/all/babysitter"
> > $LOGNAME        =       "root"
> > $SSH_CONNECTION =       "10.5.1.30 37356 10.5.1.114 22"
> > $_      =       "/sbin/initlog"
> > $username       =       "puiHWbN0SE4="
> > $__utma =       "191645736.63192200.1180416069.1183001025.1183003493.18"
> > $__utmz =       "191645736.1182832175.15.5.utmccn=(referral)|
> > utmcsr=interactole.org|utmcct=/spaces/space.php|utmcmd=referral"
> > $DOCUMENT_ROOT  =       "/var/www"
> > $HTTP_ACCEPT    =       
> > "text/xml,application/xml,application/xhtml+xml,text/
> > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
> > $HTTP_ACCEPT_CHARSET    =       "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
> > $HTTP_ACCEPT_ENCODING   =       "gzip,deflate"
> > $HTTP_ACCEPT_LANGUAGE   =       "en-us,en;q=0.5"
> > $HTTP_CONNECTION        =       "keep-alive"
> > $HTTP_COOKIE    =       "username=puiHWbN0SE4%3D;
> > __utma=191645736.63192200.1180416069.1183001025.1183003493.18;
> > __utmz=191645736.1182832175.15.5.utmccn=(referral)|
> > utmcsr=interactole.org|utmcct=/spaces/space.php|utmcmd=referral"
> > $HTTP_HOST      =       "coaddons.sourceforge.net"
> > $HTTP_KEEP_ALIVE        =       "300"
> > $HTTP_USER_AGENT        =       "Mozilla/5.0 (Windows; U; Windows NT 6.0; 
> > en-US; rv:
> > 1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
> > $REDIRECT_SCRIPT_URI    =       
> > "http://coaddons.sourceforge.net/caketest/app/";
> > $REDIRECT_SCRIPT_URL    =       "/caketest/app/"
> > $REDIRECT_STATUS        =       "200"
> > $REDIRECT_UNIQUE_ID     =       "RoSKQgoDAXIAAHFnd6w"
> > $REDIRECT_URL   =       "/caketest/app/"
> > $REMOTE_ADDR    =       "75.92.157.30"
> > $REMOTE_PORT    =       "61955"
> > $SCRIPT_FILENAME        =       
> > "/home/groups/c/co/coaddons/htdocs/caketest/app/
> > index.php"
> > $SCRIPT_URI     =       "http://coaddons.sourceforge.net/caketest/app/";
> > $SCRIPT_URL     =       "/caketest/app/"
> > $SERVER_ADDR    =       "10.4.1.114"
> > $SERVER_ADMIN   =       "[EMAIL PROTECTED]"
> > $SERVER_NAME    =       "coaddons.sourceforge.net"
> > $SERVER_PORT    =       "80"
> > $SERVER_SIGNATURE       =       "
> > Apache/1.3.33 Server at coaddons.sourceforge.net Port 80
>
> > "
> > $SERVER_SOFTWARE        =       "Apache/1.3.33 (Unix) PHP/4.3.10"
> > $UNIQUE_ID      =       "RoSKQgoDAXIAAHFnd6w"
> > $GATEWAY_INTERFACE      =       "CGI/1.1"
> > $SERVER_PROTOCOL        =       "HTTP/1.1"
> > $REQUEST_METHOD =       "GET"
> > $QUERY_STRING   =       ""
> > $REQUEST_URI    =       "/caketest/app/"
> > $SCRIPT_NAME    =       "/caketest/app/index.php"
> > $PATH_TRANSLATED        =       
> > "/home/groups/c/co/coaddons/htdocs/caketest/app/
> > index.php"
> > $PHP_SELF       =       "/caketest/app/index.php"
> > $argv   =       array()
> > $argc   =       0
> > $HTTP_POST_VARS =       array()
> > $_POST  =       array()
> > $HTTP_GET_VARS  =       array()
> > $_GET   =       array()
> > $HTTP_COOKIE_VARS       =       array("username" => "puiHWbN0SE4=", 
> > "__utma" =>
> > "191645736.63192200.1180416069.1183001025.1183003493.18", "__utmz" =>
> > "191645736.1182832175.15.5.utmccn=(referral)|utmcsr=interactole.org|
> > utmcct=/spaces/space.php|utmcmd=referral")
> > $_COOKIE        =       array("username" => "puiHWbN0SE4=", "__utma" =>
> > "191645736.63192200.1180416069.1183001025.1183003493.18", "__utmz" =>
> > "191645736.1182832175.15.5.utmccn=(referral)|utmcsr=interactole.org|
> > utmcct=/spaces/space.php|utmcmd=referral")
> > $HTTP_SERVER_VARS       =       array("DOCUMENT_ROOT" => "/var/www", 
> > "HTTP_ACCEPT"
> > => "text/xml,application/xml,application/xhtml+xml,text/
> > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5",
> > "HTTP_ACCEPT_CHARSET" => "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
> > "HTTP_ACCEPT_ENCODING" => "gzip,deflate", "HTTP_ACCEPT_LANGUAGE" =>
> > "en-us,en;q=0.5", "HTTP_CONNECTION" => "keep-alive", "HTTP_COOKIE" =>
> > "username=puiHWbN0SE4%3D;
> > __utma=191645736.63192200.1180416069.1183001025.1183003493.18;
> > __utmz=191645736.1182832175.15.5.utmccn=(referral)|
> > utmcsr=interactole.org|utmcct=/spaces/space.php|utmcmd=referral",
> > "HTTP_HOST" => "coaddons.sourceforge.net", "HTTP_KEEP_ALIVE" => "300",
> > "HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
> > rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4", "PATH" => "/sbin:/usr/
> > sbin:/bin:/usr/bin:/usr/X11R6/bin", "REDIRECT_SCRIPT_URI" => "http://
> > coaddons.sourceforge.net/caketest/app/", "REDIRECT_SCRIPT_URL" => "/
> > caketest/app/", "REDIRECT_STATUS" => "200", "REDIRECT_UNIQUE_ID" =>
> > "RoSKQgoDAXIAAHFnd6w", "REDIRECT_URL" => "/caketest/app/",
> > "REMOTE_ADDR" => "75.92.157.30", "REMOTE_PORT" => "61955",
> > "SCRIPT_FILENAME" => "/home/groups/c/co/coaddons/htdocs/caketest/app/
> > index.php", "SCRIPT_URI" => "http://coaddons.sourceforge.net/caketest/
> > app/", "SCRIPT_URL" => "/caketest/app/", "SERVER_ADDR" =>
> > "10.4.1.114", "SERVER_ADMIN" => "[EMAIL PROTECTED]", "SERVER_NAME"
> > => "coaddons.sourceforge.net", "SERVER_PORT" => "80",
> > "SERVER_SIGNATURE" => "
> > Apache/1.3.33 Server at coaddons.sourceforge.net Port 80
>
> > ", "SERVER_SOFTWARE" => "Apache/1.3.33 (Unix) PHP/4.3.10", "UNIQUE_ID"
> > => "RoSKQgoDAXIAAHFnd6w", "GATEWAY_INTERFACE" => "CGI/1.1",
> > "SERVER_PROTOCOL" => "HTTP/1.1", "REQUEST_METHOD" => "GET",
> > "QUERY_STRING" => "", "REQUEST_URI" => "/caketest/app/", "SCRIPT_NAME"
> > => "/caketest/app/index.php", "PATH_TRANSLATED" => "/home/groups/c/co/
> > coaddons/htdocs/caketest/app/index.php", "PHP_SELF" => "/caketest/app/
> > index.php", "argv" => array, "argc" => 0)
> > $_SERVER        =       array("DOCUMENT_ROOT" => "/var/www", "HTTP_ACCEPT" 
> > => "text/
> > xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
> > plain;q=0.8,image/png,*/*;q=0.5", "HTTP_ACCEPT_CHARSET" =>
> > "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "HTTP_ACCEPT_ENCODING" =>
> > "gzip,deflate", "HTTP_ACCEPT_LANGUAGE" => "en-us,en;q=0.5",
> > "HTTP_CONNECTION" => "keep-alive", "HTTP_COOKIE" =>
> > "username=puiHWbN0SE4%3D;
> > __utma=191645736.63192200.1180416069.1183001025.1183003493.18;
> > __utmz=191645736.1182832175.15.5.utmccn=(referral)|
> > utmcsr=interactole.org|utmcct=/spaces/space.php|utmcmd=referral",
> > "HTTP_HOST" => "coaddons.sourceforge.net", "HTTP_KEEP_ALIVE" => "300",
> > "HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
> > rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4", "PATH" => "/sbin:/usr/
> > sbin:/bin:/usr/bin:/usr/X11R6/bin", "REDIRECT_SCRIPT_URI" => "http://
> > coaddons.sourceforge.net/caketest/app/", "REDIRECT_SCRIPT_URL" => "/
> > caketest/app/", "REDIRECT_STATUS" => "200", "REDIRECT_UNIQUE_ID" =>
> > "RoSKQgoDAXIAAHFnd6w", "REDIRECT_URL" => "/caketest/app/",
> > "REMOTE_ADDR" => "75.92.157.30", "REMOTE_PORT" => "61955",
> > "SCRIPT_FILENAME" => "/home/groups/c/co/coaddons/htdocs/caketest/app/
> > index.php", "SCRIPT_URI" => "http://coaddons.sourceforge.net/caketest/
> > app/", "SCRIPT_URL" => "/caketest/app/", "SERVER_ADDR" =>
> > "10.4.1.114", "SERVER_ADMIN" => "[EMAIL PROTECTED]", "SERVER_NAME"
> > => "coaddons.sourceforge.net", "SERVER_PORT" => "80",
> > "SERVER_SIGNATURE" => "
> > Apache/1.3.33 Server at coaddons.sourceforge.net Port 80
>
> > ", "SERVER_SOFTWARE" => "Apache/1.3.33 (Unix) PHP/4.3.10", "UNIQUE_ID"
> > => "RoSKQgoDAXIAAHFnd6w", "GATEWAY_INTERFACE" => "CGI/1.1",
> > "SERVER_PROTOCOL" => "HTTP/1.1", "REQUEST_METHOD" => "GET",
> > "QUERY_STRING" => "", "REQUEST_URI" => "/caketest/app/", "SCRIPT_NAME"
> > => "/caketest/app/index.php", "PATH_TRANSLATED" => "/home/groups/c/co/
> > coaddons/htdocs/caketest/app/index.php", "PHP_SELF" => "/caketest/app/
> > index.php", "argv" => array, "argc" => 0)
> > $HTTP_ENV_VARS  =       array("SHELL" => "/bin/bash", "SSH_CLIENT" =>
> > "10.5.1.30 37356 22", "USER" => "root", "PATH" => "/sbin:/usr/sbin:/
> > bin:/usr/bin:/usr/X11R6/bin", "MAIL" => "/var/mail/root", "PWD" => "/
> > var/local/mastertree/service-prweb/babysitter/httpd-overload", "LANG"
> > => "en_US.UTF-8", "HOME" => "/root", "SHLVL" => "4", "PYTHONPATH" => "/
> > var/local/mastertree/all/babysitter", "LOGNAME" => "root",
> > "SSH_CONNECTION" => "10.5.1.30 37356 10.5.1.114 22", "_" => "/sbin/
> > initlog")
> > $_ENV   =       array("SHELL" => "/bin/bash", "SSH_CLIENT" => "10.5.1.30 
> > 37356
> > 22", "USER" => "root", "PATH" => "/sbin:/usr/sbin:/bin:/usr/bin:/usr/
> > X11R6/bin", "MAIL" => "/var/mail/root", "PWD" => "/var/local/
> > mastertree/service-prweb/babysitter/httpd-overload", "LANG" =>
> > "en_US.UTF-8", "HOME" => "/root", "SHLVL" => "4",
>
> ...
>
> read more >>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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