Install cake 1.2.5 (latest for now) - you see php 5.3 specific errors.
On Sep 18, 9:17 pm, Selva manickaraja <[email protected]> wrote:
> Hi,
>
> I changed the setting as recommended and restarted Apache. Now I tried to
> servehttp://localhost/imsandhttp://localhost/ims/index.php. It takes
> miserably long time and finally loads a page displaying longlisting text. I
> am attaching the latest httpd.conf and the screen that gets displayed. Is
> Apache short of any modules? Please assist.
>
> Thank you.
>
> On Fri, Sep 18, 2009 at 4:37 PM, Bert Van den Brande <[email protected]>wrote:
>
>
>
> > I think Apache doesn't know that it must server 'index.php' files.
>
> > Change
>
> > <IfModule dir_module>
> > DirectoryIndex index.html
> > </IfModule>
>
> > to:
>
> > <IfModule dir_module>
> > DirectoryIndex index.php index.html
> > </IfModule>
>
> > Don't forget to restart Apache.
>
> > Maybe also test what happens if you visit the url
> >http://localhost/ims/index.phpdirectly.
>
> > Friendly greetings,
> > Bert
>
> > On Fri, Sep 18, 2009 at 9:00 AM, Selva manickaraja
> > <[email protected]>wrote:
>
> >> Hi,
>
> >> I tried changing it as recommended. And restarted Apache. But still when I
> >> typed the URL, I am getting the directory listing. How else can this be
> >> resolved?
>
> >> I am attaching the screenshot.
>
> >> Thank you.
>
> >> Warmest Regards,
>
> >> Selvam
>
> >> On Fri, Sep 18, 2009 at 1:53 PM, Bert Van den Brande
> >> <[email protected]>wrote:
>
> >>> Try changing
>
> >>> <Directory "/ims" >at
>
> >>> Options Indexes MultiViews
> >>> AllowOverride All
> >>> Order deny,allow
> >>> Deny from all
> >>> </Directory>
>
> >>> to
>
> >>> <Directory "/ims" >
> >>> Options Indexes MultiViews
> >>> AllowOverride All
> >>> Order allow,deny
> >>> Allow from all
> >>> </Directory>
>
> >>> On Fri, Sep 18, 2009 at 6:11 AM, Selvam <[email protected]> wrote:
>
> >>>> Hi,
>
> >>>> Before I begin, let me announce that I'm a newbie.
>
> >>>> I downloaded Cake 1.2. Unzipped it and placed it under a directory
> >>>> called "ims" under "htdocs" of Apache 2.2.13 with PHP/5.3.0 in Windows
> >>>> XP
>
> >>>> Each time I type htttp://localhost/ims, I keep on getting the
> >>>> directory listing rather than the Cake Start Page. I refered to many
> >>>> resources and changed the <Directory /> to <Directory "/ims" >. And
> >>>> each time I type the URL it still shows the directory listing of Cake.
>
> >>>> I checked the error log and it shows the following :
>
> >>>> [Fri Sep 18 11:46:55 2009] [error] [client 127.0.0.1] client denied
> >>>> by server configuration: C:/Program Files/Apache Software Foundation/
> >>>> Apache2.2/htdocs/ims/.htaccess
>
> >>>> Tried many tricks, it's still not showing the Cake Start Page that I'm
> >>>> longing to see.....Please help. I have listed the httpd.conf contents
> >>>> below.
>
> >>>> Thank you.
>
> >>>> #
> >>>> # This is the main Apache HTTP server configuration file. It contains
> >>>> the
> >>>> # configuration directives that give the server its instructions.
> >>>> # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
> >>>> # In particular, see
> >>>> # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
> >>>> # for a discussion of each configuration directive.
> >>>> #
> >>>> # Do NOT simply read the instructions in here without understanding
> >>>> # what they do. They're here only as hints or reminders. If you are
> >>>> unsure
> >>>> # consult the online docs. You have been warned.
> >>>> #
> >>>> # Configuration and logfile names: If the filenames you specify for
> >>>> many
> >>>> # of the server's control files begin with "/" (or "drive:/" for
> >>>> Win32), the
> >>>> # server will use that explicit path. If the filenames do *not* begin
> >>>> # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
> >>>> # with ServerRoot set to "C:/Program Files/Apache Software Foundation/
> >>>> Apache2.2" will be interpreted by the
> >>>> # server as "C:/Program Files/Apache Software Foundation/Apache2.2/
> >>>> logs/foo.log".
> >>>> #
> >>>> # NOTE: Where filenames are specified, you must use forward slashes
> >>>> # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
> >>>> # If a drive letter is omitted, the drive on which httpd.exe is
> >>>> located
> >>>> # will be used by default. It is recommended that you always supply
> >>>> # an explicit drive letter in absolute paths to avoid confusion.
>
> >>>> #
> >>>> # ServerRoot: The top of the directory tree under which the server's
> >>>> # configuration, error, and log files are kept.
> >>>> #
> >>>> # Do not add a slash at the end of the directory path. If you point
> >>>> # ServerRoot at a non-local disk, be sure to point the LockFile
> >>>> directive
> >>>> # at a local disk. If you wish to share the same ServerRoot for
> >>>> multiple
> >>>> # httpd daemons, you will need to change at least LockFile and
> >>>> PidFile.
> >>>> #
> >>>> ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
>
> >>>> #
> >>>> # Listen: Allows you to bind Apache to specific IP addresses and/or
> >>>> # ports, instead of the default. See also the <VirtualHost>
> >>>> # directive.
> >>>> #
> >>>> # Change this to Listen on specific IP addresses as shown below to
> >>>> # prevent Apache from glomming onto all bound IP addresses.
> >>>> #
> >>>> #Listen 12.34.56.78:80 <http://12.34.56.78/>
> >>>> Listen 80
>
> >>>> #
> >>>> # Dynamic Shared Object (DSO) Support
> >>>> #
> >>>> # To be able to use the functionality of a module which was built as a
> >>>> DSO you
> >>>> # have to place corresponding `LoadModule' lines at this location so
> >>>> the
> >>>> # directives contained in it are actually available _before_ they are
> >>>> used.
> >>>> # Statically compiled modules (those listed by `httpd -l') do not need
> >>>> # to be loaded here.
> >>>> #
> >>>> # Example:
> >>>> # LoadModule foo_module modules/mod_foo.so
> >>>> #
> >>>> LoadModule actions_module modules/mod_actions.so
> >>>> LoadModule alias_module modules/mod_alias.so
> >>>> LoadModule asis_module modules/mod_asis.so
> >>>> LoadModule auth_basic_module modules/mod_auth_basic.so
> >>>> #LoadModule auth_digest_module modules/mod_auth_digest.so
> >>>> #LoadModule authn_alias_module modules/mod_authn_alias.so
> >>>> #LoadModule authn_anon_module modules/mod_authn_anon.so
> >>>> #LoadModule authn_dbd_module modules/mod_authn_dbd.so
> >>>> #LoadModule authn_dbm_module modules/mod_authn_dbm.so
> >>>> LoadModule authn_default_module modules/mod_authn_default.so
> >>>> LoadModule authn_file_module modules/mod_authn_file.so
> >>>> #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
> >>>> #LoadModule authz_dbm_module modules/mod_authz_dbm.so
> >>>> LoadModule authz_default_module modules/mod_authz_default.so
> >>>> LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
> >>>> LoadModule authz_host_module modules/mod_authz_host.so
> >>>> #LoadModule authz_owner_module modules/mod_authz_owner.so
> >>>> LoadModule authz_user_module modules/mod_authz_user.so
> >>>> LoadModule autoindex_module modules/mod_autoindex.so
> >>>> #LoadModule cache_module modules/mod_cache.so
> >>>> #LoadModule cern_meta_module modules/mod_cern_meta.so
> >>>> LoadModule cgi_module modules/mod_cgi.so
> >>>> #LoadModule charset_lite_module modules/mod_charset_lite.so
> >>>> #LoadModule dav_module modules/mod_dav.so
> >>>> #LoadModule dav_fs_module modules/mod_dav_fs.so
> >>>> #LoadModule dav_lock_module modules/mod_dav_lock.so
> >>>> #LoadModule dbd_module modules/mod_dbd.so
> >>>> #LoadModule deflate_module modules/mod_deflate.so
> >>>> LoadModule dir_module modules/mod_dir.so
> >>>> #LoadModule disk_cache_module modules/mod_disk_cache.so
> >>>> #LoadModule dumpio_module modules/mod_dumpio.so
> >>>> LoadModule env_module modules/mod_env.so
> >>>> #LoadModule expires_module modules/mod_expires.so
> >>>> #LoadModule ext_filter_module modules/mod_ext_filter.so
> >>>> #LoadModule file_cache_module modules/mod_file_cache.so
> >>>> #LoadModule filter_module modules/mod_filter.so
> >>>> #LoadModule headers_module modules/mod_headers.so
> >>>> #LoadModule ident_module modules/mod_ident.so
> >>>> #LoadModule imagemap_module modules/mod_imagemap.so
> >>>> LoadModule include_module modules/mod_include.so
> >>>> #LoadModule info_module modules/mod_info.so
> >>>> LoadModule isapi_module modules/mod_isapi.so
> >>>> #LoadModule ldap_module modules/mod_ldap.so
> >>>> #LoadModule logio_module modules/mod_logio.so
> >>>> LoadModule log_config_module modules/mod_log_config.so
> >>>> #LoadModule log_forensic_module modules/mod_log_forensic.so
> >>>> #LoadModule mem_cache_module modules/mod_mem_cache.so
> >>>> LoadModule mime_module modules/mod_mime.so
> >>>> #LoadModule mime_magic_module modules/mod_mime_magic.so
> >>>> LoadModule negotiation_module modules/mod_negotiation.so
> >>>> #LoadModule proxy_module modules/mod_proxy.so
> >>>> #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
> >>>> #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
> >>>> #LoadModule proxy_connect_module modules/mod_proxy_connect.so
> >>>> #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
> >>>> #LoadModule proxy_http_module modules/mod_proxy_http.so
>
> >>>> LoadModule setenvif_module modules/mod_setenvif.so
> >>>> #LoadModule speling_module modules/mod_speling.so
> >>>> #LoadModule ssl_module modules/mod_ssl.so
> >>>> #LoadModule status_module modules/mod_status.so
> >>>> #LoadModule substitute_module modules/mod_substitute.so
> >>>> #LoadModule unique_id_module modules/mod_unique_id.so
> >>>> #LoadModule userdir_module modules/mod_userdir.so
> >>>> #LoadModule usertrack_module modules/mod_usertrack.so
> >>>> #LoadModule version_module modules/mod_version.so
> >>>> #LoadModule vhost_alias_module modules/mod_vhost_alias.so
>
> >>>> LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
> >>>> AddType application/x-httpd-php .php
>
> >>>> PHPIniDir "C:/Program Files/PHP/"
>
> >>>> <IfModule !mpm_netware_module>
> >>>> <IfModule !mpm_winnt_module>
> >>>> #
> >>>> # If you wish httpd to run as a different user or group, you must run
>
> ...
>
> read more »
>
> cake_start2.GIF
> 228KViewDownload
>
> httpd.conf
> 23KViewDownload
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---