Topic: localhost install help
hi,
could someone in the know please help me with my install. i have followed the guide to the letter, and any suggested help in the forums isn't working. i've got the index page loading with the db content & css styles, but every link leads to a 404 error.
my setup is:
Apache 2.0
PHP 5.2.5
directory is /jobs
the config.envs.php file is setup as follows:
// local (http://localhost/jobberbase/public)
$__instances['local'] = array(
// should be a unique part of the url (or the entire url if you wish)
'prefix' => 'localhost',
// mysql credentials
'db_host' => 'localhost',
'db_port' => 3306,
'db_user' => 'root',
'db_password' => '',
'db_name' => 'jobberbase',
'db_prefix' => '',
'app_url' => 'http://localhost/jobs/',
'ini_error_reporting' => E_ALL,
'ini_display_errors' => 'On',
'location' => 'local',
'environment' => 'dev',
'rewrite_mode' => 'apache_mod_rewrite'
);
the .htaccess file is as follows:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
RewriteEngine on
Options +FollowSymlinks
RewriteBase /jobs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
ErrorDocument 404 /page-unavailable/
<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>
i have mod_rewrite enabled, checked through phpinfo() and i have also set the permissions to the folders as per the guide.
i've also restarted apache after any change
Any help is appreciated
Thanks
Last edited by Glenn (2011-02-08 23:34:16)