I am running on Ubuntu 14.04 with Apache2 and currently test Coach on my localhost. My idea is to first enable Pretty URLs on my localhost and if everything is working, move the whole site to a live server. (Not sure what the preferred workflow is ?!) . I would also like to work with relative links. An aspect I absolutely hate about WordPress is that everything is saved in absolute paths, meaning that I have to run a regex database tool for final deployment to change all links...
I have enabled mod_rewrite and set the folder permissions in '/etc/apache2/sites-available/000-default.conf':
<?php phpinfo(); ?> tells me that mod_rewrite is enabled and also the rewrite test (viewtopic.php?p=11832#p11832) tells me that HTTP_MOD_REWRITE is set.
I generated .htaccess as described in the tutorials (http://www.couchcms.com/docs/concepts/pretty-urls.html) via gen_htaccess.php and placed it in the root folder.
Visiting the root URL works, but all other links throw an error:
404 NOT FOUND -
Not Found
The requested URL /about.php was not found on this server.
Any idea what's wrong?
Thanks for your advice.
I have enabled mod_rewrite and set the folder permissions in '/etc/apache2/sites-available/000-default.conf':
- Code: Select all
<Directory /var/www/html>
AllowOverride All
</Directory>
<?php phpinfo(); ?> tells me that mod_rewrite is enabled and also the rewrite test (viewtopic.php?p=11832#p11832) tells me that HTTP_MOD_REWRITE is set.
I generated .htaccess as described in the tutorials (http://www.couchcms.com/docs/concepts/pretty-urls.html) via gen_htaccess.php and placed it in the root folder.
Visiting the root URL works, but all other links throw an error:
404 NOT FOUND -
Not Found
The requested URL /about.php was not found on this server.
Any idea what's wrong?
Thanks for your advice.