Search

I am running Ubuntu 12.04, PHP 5.3.10, Apache 2.2.22. I ran the install script for the latest version of Symphony 2.3.1 and all is fine - no errors. I have tried to do admin login /localhost/symphony/ and get an index of directory. I can run localhost/index.php and get a opening/landing page but if I hit ABOUT or ARCHIVE or anything like that, I get a "Not Found" error.

I do have a .htaccess file which is hidden and locked.

My am somewhat technical but no expert. So the clearer the advice the better please.

I really appreciate any/all help/advice.

Thank you Antoine

Do you have Apache's mod_rewrite enabled?

Run command sudo apache2ctl -M | grep rewrite in shell to check out. It should return a "rewrite_module (shared)" line.

If its not returned, run sudo a2enmod rewrite, which should enable the module for your Apache and also instruct you to do a service apache2 restart (run it with sudo.. if needed).

Thank you very much. Now I have rewrite enabled. I get "rewrite_module (shared)".

It does not however seem to have solved the issue.

So: - localhost/symphony -> gives me the index of files - http://localhost/index.php -> gives me the symphony CMS screen - localhost -> gives me -> apache server works - localhost/archive/ -> gives me 404 error

So I am suspecting the .htaccess file is somehow not being picked up. The file is hidden and locked. Is that normal?

Thank you for any more advice and guidance.

Kind Regards Antoine

I have also looked at the httpd.conf file and it is empty. I am assuming from various things that I have read, this is wrong, but not sure what to put in it.

Is there a template I an cut & paste into my Httpd.conf file?

Thank you Antoine

All, I have solved it.

The following two articles helped me a lot.

http://www.webune.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html

http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/

Thank you very much.

Kind Regards Antoine

Great job! Welcome aboard :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details