I do most of what you do and its working fine.
First check that php_mysql installed and apach2 is working and mod_rewrite
is loaded.
1. Extract cake anywhere, usually not /var/www, in you home .
/home/zaky/projects/cakesample/
2. Change /etc/apache2/sites-available/default to "AllowOverride All"
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
3. rename database.php.default to database.php
4. in /var/www
sudo ln -s /home/zaky/projects/cakesample/ cakesample
4.Now check at http://localhost/cakesample.
The site should work and notify you about tmp directory access and the need
to change cipherSeed and salt.
5. To farther create an application you need to rename database.php.default
an create a database etc ...
If something is wrong please write what you get at
http://localhost/cakesample
On Tue, Aug 24, 2010 at 10:26 PM, The Brian Martin <[email protected]
> wrote:
> What does your .htaccess look like?
>
>
>
>
> On Aug 24, 12:22 pm, david <[email protected]> wrote:
> > First, let me say I have CakePHP up and running perfectly on windows
> > with a wampserver instance running, so I'm familiar with the process.
> > I know how to get mod_rewrite setup, and set the permissions
> > appropriately, etc.
> >
> > So, I just installed Ubuntu server 10.04 / Apache 2 / MySQL / PHP, and
> > I'm now trying to get CakePHP setup. I've seen plenty of posts
> > outlining getting setup on Ubuntu, because the debian arrangement of
> > Apache config files can be confusing to those not familiar with it.
> > I've used Debian for a long time, so I'm good on that front.
> >
> > Basically, my problem is the 404 error for cake.generic.css and
> > cake.power.gif, which everyone says is caused by a mod_rewrite
> > problem. I have tested mod_rewrite separately and it works fine, so I
> > know it's running and working.
> >
> > I've tried the following in my sites-enabled (basically a snippet of
> > what would be part of httpd.conf on most other systems):
> >
> > DocumentRoot /var/www/cakephp
> > <Directory />
> > Options FollowSymLinks
> > AllowOverride All
> > allow from all
> > </Directory>
> > <Directory /var/www/cakephp>
> > Options Indexes FollowSymLinks MultiViews
> > AllowOverride All
> > Order allow,deny
> > allow from all
> > </Directory>
> >
> > I've changed the directories to /var/www; I've recursively changed the
> > owner of /var/www to www-data and set permissions to 755, and
> > recursively set 777 to app/tmp.
> >
> > I'm a bit stumped and have no idea why it's not working. Any thoughts?
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
--
Regards,
Zaky Katalan-Ezra
QA Administrator
www.IGeneriX.com
Sites.IGeneriX.com
054-7762312
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 [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