Thanks again.  I ran the configure for apache again this time with "--
enable-rewrite=shared".  Big, duh! there.  I am not an apache expert
by any stretch of the imagination.  So, now the rewrite module is
there.  I have loaded the module in the httpd.conf.  Here is the
output of the dump_modules.

apachectl -t -D DUMP_MODULES

Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 include_module (static)
 filter_module (static)
 log_config_module (static)
 env_module (static)
 setenvif_module (static)
 mpm_worker_module (static)
 http_module (static)
 mime_module (static)
 status_module (static)
 autoindex_module (static)
 asis_module (static)
 cgid_module (static)
 negotiation_module (static)
 dir_module (static)
 actions_module (static)
 userdir_module (static)
 alias_module (static)
 so_module (static)
 php5_module (shared)
 rewrite_module (shared)
Syntax OK

After getting rewrite working, I am getting farther then before.
However, I still don't see any graphics.  I see this:

Index of /rillian_cake/app/webroot

    * Parent Directory
    * css.php
    * css/
    * favicon.ico
    * files/
    * img/
    * index.php
    * js/
    * test.php


Any other thoughts about what could be the issue with the graphics?

On Jan 6, 12:41 am, Webweave <[email protected]> wrote:
> First look in /usr/local/apache2/conf/httpd.conf and see if rewrite is
> enabled.
>
> Then if that bit is correct, run the following command:
>
> apachectl -t -D DUMP_MODULES
>
> You should see something like "rewrite_module (shared)" if it is
> loaded.
>
> On Jan 5, 5:30 pm,reidster<[email protected]> wrote:
>
> > Webweave,
> > Thanks for your interest.
>
> > Here is the configuration.
>
> > Configuration:
> > PHP Version 5.2.8
> > Apache/2.2.11
> > Linux 2.6.18-92.1.22.el5 #1 (CentOS 5.2)
> > Cake 1.2.0.7962
>
> > I have cake directory downloaded and extracted into the htdocs
> > directory.
>
> > [r...@localhost rillian_cake]# pwd
> > /usr/local/apache2/htdocs/rillian_cake
> > [r...@localhost rillian_cake]# ls -altr
> > total 64
> > -rw-r--r--  1  501   80  139 Jun 14  2006 .htaccess
> > -rw-r--r--  1  501   80 2311 Dec 18 21:16 index.php
> > -rw-r--r--  1  501   80 1158 Dec 25 18:21 README
> > drwxr-xr-x 12  501   80 4096 Dec 25 20:09 app
> > drwxr-xr-x  5  501   80 4096 Dec 25 20:15 .
> > drwxr-xr-x  5  501   80 4096 Dec 25 20:15 vendors
> > drwxr-xr-x  6  501   80 4096 Dec 25 20:17 cake
> > drwxr-xr-x  3 root root 4096 Jan  5 14:05 ..
> > [r...@localhost rillian_cake]#
>
> > On Jan 5, 5:02 pm, Webweave <[email protected]> wrote:
>
> > > It should be compiled into Apache so you shouldn't have to download it
> > > separately. What platform are you on?
>
> > > On Jan 5, 1:31 pm,reidster<[email protected]> wrote:
>
> > > > This is all I see in modules.  I know this isn't an apache group.
> > > > But, do you know if apache requires any special configure options for
> > > > mod_rewrite?
>
> > > > [r...@localhost modules]# pwd
> > > > /usr/local/apache2/modules
> > > > [r...@localhost modules]# ls
> > > > httpd.exp  libphp5.so
>
> > > > On Jan 5, 4:20 pm, Bernardo Vieira <[email protected]> wrote:
>
> > > > > The actual path to .so files varies in the various linux distros. Scan
> > > > > through your httpd.conf and look for the extensions/modules path and 
> > > > > see
> > > > > if mod_rewrite.so exists in that path (from the directory listing you
> > > > > provided I'm guessing /usr/local/apache2/modules).
>
> > > > >reidsterwrote:
> > > > > > Thanks for the reply.
> > > > > > My httpd.conf does not have mod_rewrite enabled.  I checked the doc 
> > > > > > in
> > > > > > the aforementioned url, but could not locate the .so file.  This 
> > > > > > does
> > > > > > not exist in my apache install.  Do I need to re-configure apache?
>
> > > > > > libexec/httpd/mod_rewrite.so
>
> > > > > > [r...@localhost apache2]# ls
> > > > > > bin  build  cgi-bin  conf  error  htdocs  icons  include  lib  logs
> > > > > > man  manual  modules
> > > > > > [r...@localhost apache2]# pwd
> > > > > > /usr/local/apache2
>
> > > > > > On Jan 4, 5:29 pm, Steven Wright <[email protected]> wrote:
>
> > > > > >> Do you have mod_rewrite enabled on your apache server?
>
> > > > > >>http://book.cakephp.org/view/333/A-Note-on-mod_rewrite
>
> > > > > >> -----Original Message-----
> > > > > >> From: [email protected] [mailto:[email protected]] 
> > > > > >> On Behalf
>
> > > > > >> Ofreidster
> > > > > >> Sent: Sunday, January 04, 2009 4:24 PM
> > > > > >> To: CakePHP
> > > > > >> Subject: New Install Does Not Show Graphics
>
> > > > > >> I am new to CakePHP.
>
> > > > > >> I have downloaded version 1.2.0.7962, renamed the cake directory 
> > > > > >> and moved
> > > > > >> it to the root of the apache directory (htdocs).
>
> > > > > >> When I navigate to the cake php website for this directory. I 
> > > > > >> receive a
> > > > > >> listing of all the files in this directory.  I do not see the 
> > > > > >> expected cake
> > > > > >> graphics.
>
> > > > > >> Any ideas as to what is wrong?
>
> > > > > >> Configuration:
> > > > > >> PHP Version 5.2.8
> > > > > >> Apache/2.2.11
> > > > > >> Linux 2.6.18-92.1.22.el5 #1 (CentOS 5.2)
>
> > > > > >> Apache and PHP are working.  I can get to webpages on this host.
>
> > > > > >> Thanks for your input.
> > > > > >> -Reid

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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