I had already run a2enmod rewrite. I think the siremis/.htaccess file was built correctly by 'make prepare', the file follows below: Options FollowSymLinks <IfModule mod_rewrite.c> # Tell PHP that the mod_rewrite module is ENABLED. SetEnv HTTP_MOD_REWRITE On RewriteEngine On RewriteBase /siremis/ RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{REQUEST_URI} !\. RewriteRule ^(.*)$ index.php?$1 </IfModule> <FilesMatch ".xml$"> Order deny,allow Deny from all </FilesMatch> <FilesMatch ".inc$"> Order deny,allow Deny from all </FilesMatch> Jonny ________________________________ From: Elena-Ramona Modroiu <ramona@asipto.com> To: Jonny Klompas <jonny.klompas@yahoo.com>; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List <sr-users@lists.sip-router.org> Sent: Wednesday, November 23, 2011 4:02 PM Subject: Re: [SR-Users] sr-users Digest, Vol 78, Issue 62 (was: Siremis installation problem) Try to preserve the subject to be easy to follow in the mailing list archive. Can you check siremis/.htaccess file? Was it updated properly by 'make prepare'? Also, rewrite.load is in the list of the modules to be loaded by apache? Have you done a2enmod rewrite? Regards, Ramona On 11/23/11 1:11 PM, Jonny Klompas wrote: I think AllowOverride All is correctly set, you can see my config below:
Contents of my /etc/apache2/sites-available/default file:
<VirtualHost *:80> ServerAdmin webmaster@localhost
DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews
+SymLinksIfOwnerMatch
Order allow,deny Allow from all </Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory>
</VirtualHost>
Alias /siremis "/var/www/siremis-2.0.0/siremis" <Directory "/var/www/siremis-2.0.0/siremis"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all <FilesMatch "\.xml$"> Order deny,allow Deny from all </FilesMatch> <FilesMatch "\.inc$"> Order deny,allow Deny from all </FilesMatch> </Directory>
My rewrite.load file contains: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
________________________________ From: "sr-users-request@lists.sip-router.org" <sr-users-request@lists.sip-router.org> To: sr-users@lists.sip-router.org Sent: Wednesday, November 23, 2011 6:00 AM Subject: sr-users Digest, Vol 78, Issue 62
Send sr-users mailing list submissions to sr-users@lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-router.org
You can reach the person managing the list at sr-users-owner@lists.sip-router.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
Today's Topics:
1. Re: Siremis installation problem (Elena-Ramona Modroiu)
----------------------------------------------------------------------
Message: 1 Date: Wed, 23 Nov 2011 09:15:51 +0100 From: Elena-Ramona Modroiu <ramona@asipto.com> Subject: Re: [SR-Users] Siremis installation problem To: sr-users@lists.sip-router.org Message-ID: <4ECCABB7.4010009@asipto.com> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Hi,
do you have 'AllowOverride All' in your apache config?
Regards, Ramona
On 11/22/11 10:13 AM, Jonny Klompas wrote:
I do.
Thanks
Jonny
------------------------------------------------------------------------
*From:* Elena-Ramona Modroiu <ramona@asipto.com> *To:* Jonny Klompas <jonny.klompas@yahoo.com>; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List <sr-users@lists.sip-router.org> *Sent:* Tuesday, November 22, 2011 10:57 AM *Subject:* Re: [SR-Users] Siremis installation problem
Hi,
On 11/20/11 6:47 PM, Jonny Klompas wrote:
Hi,
When trying to access the Siremis home page to login after the installation, I receive the following error:
The requested URL /siremis/index.php/user/login was not found on this server. do you have mod_rewrite enabled on apache web server?
Regards, Ramona
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users