Installation Ajax 404

31 views
Skip to first unread message

ethnt

unread,
Jun 30, 2010, 4:41:48 PM6/30/10
to habari-users
Hi, I'm trying to install Habari, but I keep getting this error
(where /projects/liff/ is the Habari root):

Server Response 404 Not Found Not Found The requested URL /projects/
liff/ajax/check_sqlite_credentials was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80

Here is my .htaccess file:
### HABARI START
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteBase /projects/liff/
RewriteRule . index.php [PT]
RewriteRule ^(system/(classes|locale|schema|$)) index.php [PT]
### HABARI END

And the relating Apache logs:
[Wed Jun 30 16:28:55 2010] [error] [client ::1] File does not exist: /
var/www/projects/liff/check_mod_rewrite
[Wed Jun 30 16:28:56 2010] [error] [client 127.0.0.1] File does not
exist: /var/www/projects/liff/favicon.ico
[Wed Jun 30 16:29:03 2010] [error] [client 127.0.0.1] File does not
exist: /var/www/projects/liff/ajax, referer: http://localhost/projects/liff/

I've also tried it with SQLite (as opposed to MySQL) with similar
results.

Thanks,
Ethan

Caius Durling

unread,
Jul 1, 2010, 6:21:56 AM7/1/10
to habari...@googlegroups.com
On 30 Jun 2010, at 21:41, ethnt wrote:

> Hi, I'm trying to install Habari, but I keep getting this error
> (where /projects/liff/ is the Habari root):
>
> Server Response 404 Not Found Not Found The requested URL /projects/
> liff/ajax/check_sqlite_credentials was not found on this server.
> Apache/2.2.14 (Ubuntu) Server at localhost Port 80


You either need to enable mod_rewrite (installed but not enabled by default on ubuntu - `sudo a2enmod rewrite` I think) or check that you've got AllowOverrides set in your httpd.conf / vhost config.

As it's ubuntu, I'm guessing you just need to enable mod rewrite though.

C
---
Caius Durling
ca...@caius.name
+44 (0) 7960 268 100
http://caius.name/

ethnt

unread,
Jul 1, 2010, 11:30:53 AM7/1/10
to habari-users
I have mod_rewrite installed. Should AllowOverrides be on or off in
httpd.conf?

Caius Durling

unread,
Jul 1, 2010, 11:41:32 AM7/1/10
to habari...@googlegroups.com
On 1 Jul 2010, at 16:30, ethnt wrote:

> I have mod_rewrite installed.

Is it enabled though? Unless $(ls /etc/apache2/mods-enabled/ | grep rewrite) shows something, it's not enabled. (It's usually the reason the installer doesn't work on an ubuntu machine, hence why I suspect it's that :)

> Should AllowOverrides be on or off in
> httpd.conf?


Err, whatever the default is in the ubuntu config iirc. Easy enough to test, just put crap in the .htaccess and see if apache bombs out when you load the installer.

Reply all
Reply to author
Forward
0 new messages