Hello, I just installed cake version 1.2.0.7962 and was going through the blog tutorial when I got the generic index page because there is a problem with my httpd.conf. I ran locate and found quite a few different httpd.conf files:
$ locate httpd.conf /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Apache.tmbundle/Commands/Open httpd.conf.plist /opt/local/apache2/conf/httpd.conf /opt/local/apache2/conf/original/httpd.conf /opt/local/var/macports/software/apache2/2.2.11_0/opt/local/apache2/ conf/original/httpd.conf /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/ apache2/files/patch-httpd.conf.in-sensitive-files.diff /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/ htdig/files/httpd.conf /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/ lighttpd/files/patch-doc-lighttpd.conf /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/ lighttpd-devel/files/patch-doc-lighttpd.conf /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bak /private/etc/httpd/httpd.conf.default /private/etc/httpd/httpd.conf.entropy.backup /usr/local/apache2/conf/httpd.conf /usr/local/apache2/conf/original/httpd.conf I'm assuming I need to edit the "/opt/local/apache2/conf/httpd.conf" file as instructed under http://book.cakephp.org/view/333/A-Note-on-mod_rewrite but it doesn't fix the problem. Here is what I have in the aforementioned httpd.conf file: DocumentRoot "/opt/local/apache2/htdocs" <Directory "/opt/local/apache2/htdocs"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> I thought maybe I needed to add this httpd.conf to my .bash_profile which I did with: PATH="/opt/local/bin:/opt/local/sbin:$PATH" export DISPLAY=:0.0 export PATH=${PATH}:"/usr/local/mysql-5.0.51a-osx10.4-powerpc/bin/" export EDITOR='mate -w' # Setting PATH for MacPython 2.5 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:$ {PATH}" export PATH #export PATH=${PATH}:/usr/local/mysql-5.0.51a-osx10.4-powerpc/bin/ PATH="/opt/local/apache2/conf:${PATH}" export PATH ...but when I run "which httpd.conf" I get this: $ which httpd.conf no httpd.conf in /opt/local/apache2/conf /Library/Frameworks/ Python.framework/Versions/Current/bin /opt/local/bin /opt/local/sbin / opt/local/apache2/conf /Library/Frameworks/Python.framework/Versions/ Current/bin /opt/local/bin /opt/local/sbin /bin /sbin /usr/bin /usr/ sbin /usr/local/mysql-5.0.51a-osx10.4-powerpc/bin/ /usr/local/ mysql-5.0.51a-osx10.4-powerpc/bin/ $ If anyone can help me out I would appreciate it, Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
