Installation: Ubuntu / Apache2.2 / mod_re_write

2008-09-12 Thread dan3501

I've searched the Internet to no end, and still haven't been able to
resolve this issue.
Issue: CakePHP welcome page appears without colors -- indicating a
configuration error.
Environment: Ubuntu 8.0.4, apache document-root : /var/www, cake
application directory (where I unzipped the cake zip files): /var/www/
dan
What I did:
(1) Installed apache2.2, php5;
(2) unzipped cake to /var/www/dan;
(3) modified sites-enabled to ensure directory set up and
AllowOverride All;
(4) reviewed .htaccess in /var/www/dan/app and /var/www/dan/app/
webroot -- looks file;
(5) set apache logging to debug;
(6) executed a2enmod rewrite and the force-reload command to ensure
mod_rewrite is working;
(7) reviewed phpinfo() to ensure mod_rewrite is loaded

I've installed apache, php5 under Ubuntu with apt-get install.  When I
hit the CakePHP welcome page by going to /localhost/dan, I do not get
the colors.  When I review the apache logs, I get file not found: /
var/www/dan/css and also file not found: /var/www/img.  Simply
stated, it made me think that there was an issue with the .htaccess
file, perhaps it should be pointing to webroot (where the css and img
directories are located), but when I tried to make changes to
the .htaccess files in /var/www/dan/app or /var/www/dan/app/webroot,
nothing worked.

More curiously, when I installed cakephp-instaweb and then ran cakephp-
instaweb in the /var/www/dan directory.  I then went to localhost:
3000, and the CakePHP welcome page appeared correctly -- which made me
think that the issue is with Apache and some of my configurations
(whether .htaccess or some other file) rather than in the cake
specific configuration.

I've been looking on the Internet and through all kinds of cake
documentation and have been unable to resolve this issue.  It works
fine on my Windows XP development environment, but I'm looking to
implement my production system on Linux.  Help me to resolve this and
you will have my heartfelt appreciation!!

Dan

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Installation: Ubuntu / Apache2.2 / mod_re_write

2008-09-12 Thread dan3501

Thanks to all the folks on this thread.  I was able to read a post by
Claudia, and that was able to guide me to fix my problem.  Thanks
again.

On Sep 12, 12:12 pm, dan3501 [EMAIL PROTECTED] wrote:
 I've searched the Internet to no end, and still haven't been able to
 resolve this issue.
 Issue: CakePHP welcome page appears without colors -- indicating a
 configuration error.
 Environment: Ubuntu 8.0.4, apache document-root : /var/www, cake
 application directory (where I unzipped the cake zip files): /var/www/
 dan
 What I did:
 (1) Installed apache2.2, php5;
 (2) unzipped cake to /var/www/dan;
 (3) modified sites-enabled to ensure directory set up and
 AllowOverride All;
 (4) reviewed .htaccess in /var/www/dan/app and /var/www/dan/app/
 webroot -- looks file;
 (5) set apache logging to debug;
 (6) executed a2enmod rewrite and the force-reload command to ensure
 mod_rewrite is working;
 (7) reviewed phpinfo() to ensure mod_rewrite is loaded

 I've installed apache, php5 under Ubuntu with apt-get install.  When I
 hit the CakePHP welcome page by going to /localhost/dan, I do not get
 the colors.  When I review the apache logs, I get file not found: /
 var/www/dan/css and also file not found: /var/www/img.  Simply
 stated, it made me think that there was an issue with the .htaccess
 file, perhaps it should be pointing to webroot (where the css and img
 directories are located), but when I tried to make changes to
 the .htaccess files in /var/www/dan/app or /var/www/dan/app/webroot,
 nothing worked.

 More curiously, when I installed cakephp-instaweb and then ran cakephp-
 instaweb in the /var/www/dan directory.  I then went to localhost:
 3000, and the CakePHP welcome page appeared correctly -- which made me
 think that the issue is with Apache and some of my configurations
 (whether .htaccess or some other file) rather than in the cake
 specific configuration.

 I've been looking on the Internet and through all kinds of cake
 documentation and have been unable to resolve this issue.  It works
 fine on my Windows XP development environment, but I'm looking to
 implement my production system on Linux.  Help me to resolve this and
 you will have my heartfelt appreciation!!

 Dan

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---