Cant get past Mod_rewrite error install page
phpipam open-source IP address management
Brought to you by:
myha
Hello,
I've downloaded the recent 1.0 version and trying to install it on Ubuntu 14.04 with the default LAMP install option. Apache version is 2.4.7 and i saw at one point there was a mod_rewrite bug in versions between 2.2.21 - 2.4.2. Anyways I'm wondering if this bug exists in 2.4.7? I've followed the guide (http://phpipam.net/phpipam-installation-on-debian-6-0-6/) and it seems like everything is setup correctly but cannot get passed the mod_rewrite error page.
Any ideas on if the apache version still has a bug or how to check if it is a bug in apache?
Anonymous
I have the same issue. Any suggestions. My mod_rewrite test works, redirecting a page to cnn.com from .htaccess, but the installer just won't let me get past it ...
Hi.
I got same problem: "phpIPAM Mod_rewrite error It seems your Apache is not set up properly to handle URL rewrites."
Reason of error (in my case): missing .htaccess in web directory where phpipam index.php and config.php are located.
Why it happened: phpipam-1.0.tar includes .htaccess . After tar xvf phpipam-1.0.tar I moved files by command sudo mv /tmp/phpipam/* /srv/www/phpipam/public_html. It moved all files BUT hidden (.htaccess).
Solution: use dot instead of asterisk as wildcard character when select files for copying /moving: sudo mv /tmp/phpipam/. /srv/www/phpipam/public_html (read: http://unix.stackexchange.com/questions/89749/cp-hidden-files-with-glob-patterns)
My environment:
Linux CentOS 6.5
PHP 5.5.12
MySQL 5.1.73
Below is part of my config for virtual host (hope it will help you as well):
Hope all mentioned above will help you.
With best regards.
same...
i'm having the same problem..
did you solved it?
Same issue here upgrading v0.8 to v1.0. Updated the config.php and .htaccess file but upgrade page says always mod_rewrite is not working
I was stuck at the Mod_rewrite error too. After looking at the .htaccess, I got to the URL direct http://Server_IP/phpipam/index.php?page=install
I then manage to complete the installation and everything went well after.
I had the same problem using Xampp 3.0.12 on a Windows 7 64 Bit machine and couldn't get phpipam installed because of the mod_rewrite error message. To solve the problem I edited the .htaccess file and added [R] behind all lines containing an index.php statement. For example:
Before:
RewriteRule ^login/$ index.php?page=login
After:
RewriteRule ^login/$ index.php?page=login [R]
Try it, I hope it works :-)
Flo
This worked for me! thanks!
is it fixed?
Hey guys, I found this fix on this today. It's a problem with the directory mod in Apache2... Run "a2dismod dir" and restart Apache2 and it should fix your issue. Although this will break other sites that use the module.
I need a fix please
need Help, too.......
...try changing the URL to http://{your server}/index.php?page=install
Same issue here, tried to change the page to:
http://<servername>/index.php?page=install
Now I just get a blank page.
When I look at the source, I can see that there is an error at line 115 (index.php).
I changed it to:
Next I got an error message at line 131 within index.php
..
I got to the point where I can create the DB, this also shows a lot of errors.
Even when creating the DB manually including tables and stuff, it still does not work.
install php mod gettext
I'm whith the following error with instalation of phpipam
a2enmod rewrite
Module rewrite already enabled
but when i open the browser to initiate automatic configurataion
Mod_rewrite error
It seems your Apache is not set up properly to handle URL rewrites.
Anyone can help me with this instalation?
tks
Experienced this issue with Apache 2.4.6 / PHP 5.4.16 on CentOS 7.
Edited .htaccess and modified:
RewriteRule ^install/$ index.php?page=install
to
RewriteRule ^install/$ index.php?page=install [R]
This resolved the issue and I was able to complete the install with no further issuers or errors.
-b
please i need a fix.... Ubuntu 14.04
Fix needed here. ubuntu 14.04
same problem openSUSE 13.2
I try all solutions, i found but nothink work.... Please fix it... :(
Hi, can someone check this solution? If it helps I will dig into it.
https://sourceforge.net/p/phpipam/support-requests/111/
brm
It's a joke how this project relies on mod_rewrite.
Hi, agreed. Upcoming 1.1 release moves away from mod_rewrite dependancy, it will be still available as optional. Should be out next week.
Please use 1.1 where mod_rewrite is optional.