I tried installing Bolt few times but always, after finishing the process, I end up with "The requested URL /bolt/bolt/users/edit/ was not found on this server." Ill tell you what I did:
1) Installation.
- Im running Ubuntu 14.04 32bit with Apache2, PHP5 and MySQL. Server IP is 192.168.0.2.
- Using phpmyadmin I created mysql user bolt, database bolt, password bolt.
- I tried to install Bolt into bolt subdirectory under my servers root directory, so I did this:
- Code: Select all
mkdir bolt
cd bolt
wget http://bolt.cm/distribution/bolt_latest.tgz
tar -xzf bolt_latest.tgz
rm bolt_latest.tgz
chmod 777 -R files/ app/database/ app/cache/ app/config/ theme/
cp app/config/config.yml.dist app/config/config.yml
nano app/config/config.yml
# here I changed the information about database to this:
database:
driver: mysql
username: bolt
password: bolt
databasename: bolt
Before the last part the address http://192.168.0.2/bolt kept showing me errors (like bad database driver and such). After the last part I ended up with "The requested URL /bolt/bolt/users/edit/ was not found on this server." The directory really wasnt there.
At this part I decided this was most likely the fault of Bolt so I moved on. BUT ... I ended up with same problems with other CMS systems ... Anchor and Redaxscript to mentions just two. So, I came back to Bolt and tried to check my servers setting.
2) I found out that the directories (like /bolt/bolt/users/edit/) dont really need to be in the directory tree: "There is no folder because it uses mod_rewrite to route everything through the index.php file." (as it says in some of the forums I visited).
So I tried to check if mod_rewrite is configured fine on my server. First, I did:
- Code: Select all
> a2enmod rewrite
Module rewrite already enabled
Then, I read somewhere, that
- Code: Select all
What a2enmod does is simply create a symbolic link, so the following two are the same, both proper, solution:
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/
So I checked if the file /etc/apache2/mods-enabled/rewrite.load is present (and it is).
And finally, I tried to find out other ways to check this. So, I tried making a PHP file with this content ...
- Code: Select all
<?php
if(!function_exists('apache_get_modules') ){ phpinfo(); exit; }
$res = 'Module Unavailable';
if(in_array('mod_rewrite',apache_get_modules()))
$res = 'Module Available';
?>
<html>
<head>
<title>A mod_rewrite availability check !</title></head>
<body>
<p><?php echo apache_get_version(),"</p><p>mod_rewrite $res"; ?></p>
</body>
</html>
... and running it. The answer is: "mod_rewrite Module Available".
3) So, now im royally f*cked, unless of course some of you helps me ... I have no idea what to do now.
Thanks in advance!
