Friends,

I'm new to cakephp and can't figure out yet how to see the first blogs example (I always see a blank screen).
My computer has debian sarge, postgres, php5 with apache2.

Thanks in advance for your help,

--------------

I put on my browser: http://localhost:8080/fya/posts/index. The cake's package is into the root directory.

Here's my default configuration file (apache2/sites-available/)
NameVirtualHost *:8080
<VirtualHost *:8080>
    ServerAdmin [EMAIL PROTECTED]
   
    DocumentRoot /var/fya/
    <Directory />
        Options FollowSymLinks
        AllowOverride All
    </Directory>
    <Directory /var/fya/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
   
    DocumentRoot /var/www/
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
#    <Directory /var/www/cake>
        Options Indexes FollowSymLinks MultiViews
#        AllowOverride None
        AllowOverride All
        Order allow,deny
        allow from all
        # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
        #RedirectMatch ^/$ /apache2-default/
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>


I've copied the example exactly from: http://manual.cakephp.org/appendix/blog_tutorial, configured the config/database.php, adds the symbolic link from /etc/apache2/mods-available/rewrite.load to /etc/apache2/mods-enabled/

And I added this lines to the apache2.conf file:

<IfModule mod_rewrite.c>
    <Directory "/var/fya">
        AllowOverride FileInfo
    </Directory>
</IfModule>

Any help that you can bring to me should be very helpfuly.

Regards,

Rodolfo

--~--~---------~--~----~------------~-------~--~----~
 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