On Wednesday, 25 July 2012 12:55:08 UTC+2, Andy Gale wrote:
> 1. Is your web server running Apache?
> 2. Does your apache server allow .htaccess
>
> http://httpd.apache.org/docs/current/mod/core.html#allowoverride
>
> 3. Does your apache server have mod_rewrite enabled?
>
> http://httpd.apache.org/docs/current/mod/mod_rewrite.html
>
> Cheers,
>
Thank you Andy for the reply.
I believe the answer to these three questions is yes. I followed the
Advanced configuration in the tutorial, but for clarification I reproduce
below the contents of my Apache files.
Any other clues please reply. Thank you.
===== /etc/apache2/sites-available/default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
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 ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
== /etc/apache2/apache2.conf
# CakePHP
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php