Installation problems

by hemathor, Monday, April 22, 2013, 11:04 (3881 days ago) @ sts
edited by hemathor, Monday, April 22, 2013, 11:14

Any help would be much appreciated.

i know the feeling... :)

the problem is that the rewrite rules in the .htaccess files are not working. (you could have found that yourself, if you checked the apache logs and read something about rewrite rules... ;) )

the first solution would be to uncomment the RewriteBase rule and set it to the proper directory. but since you already have selfoss installed in the subdirectory <document root>/selfoss that probably doesn't change anything.

the second solution is to allow the rewrite rules for selfoss. probably somewhere along the path of your system's configuration include files (i don't know anything about apache on ubuntu), there is a directive

AllowOverride None

and that is exactly why the rewrite rules in the selfoss' .htaccess file are now working. to change this for your selfoss installation w/o affecting the whole apache configuration (because not allowing to override anything is generally a not so bad idea) you should add a configuration file selfoss.conf in your apache configuration directory (again: i have no idea about ubuntu) with the following content:

<Directory "<document root>/selfoss" >
AllowOverride All

where <document root> is probably /var/www on your system...

finally you have to add

Options FollowSymLinks

to the .htaccess file to allow rewrite rules.

don't forget to restart apache after that...

Complete thread:

 RSS Feed of thread

powered by my little forum