help-apache.htaccess error ipbx
-
Incredible PBX 12.0.74 for Raspberry Pi2 + FOP 2.27 for Raspberry PI/Debian
Asterisk: UP Apache: UP MySQL: UP
SendMail: UP IPtables: UP SSH: UP
LAN port: UP Fail2Ban: UP Webmin: UP
RAM:73172 Raspbian (wheezy) Disk:51G
Asterisk 11.20.0 Incredible GUI 12.0.30 ; update-guiU18.
Private IP: 192.168.1.252 . Public IP: xx.xx.xx.xxThe fpbx GUI all works ok but not FOP2.
FOP2 - Not getting the extension login/pass screen just the Internal Server Error message
http://pi2/fop2Also
http://pi2/fop2/adminGives:-
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contactserver administrator, webmaster@localhost and ...
More information ..... available in the server error log.
Apache/2.2.22 (Debian) Server at pi2 Port 80Originally FOP2 was ok but FPBX modules updated, and latest modules may have broken FOP2
I have tried reinstall of FOP2, and re-config as FOP2 installation guidance.I need some clue where to look to fix this. I attach 2 files extracts from /var/log/apache2/access.log and /var/log/apache2/error.log
FOP2 startup is slow; FOP2(demo mode) Connection test to asterisk manager works ok so the admin and amp111 pass are ok.
Where do I go from here?
I am about to hit the pillow now I look fwd to your response in late morning.
Regards -
-
I renamed the /var/www/html/fop2/.htaccess to rem.htaccess and that allowed the login to come up and that works - thanks. - BUT after enabling headers as below I renamed back to .htaccess and all was well.
Mmmm now where do I find mod_headers ? Oh I get it:
enable headers bya2enmod headers service apache2 restartyou can see the enabled mods- symlinks in /etc/apache2/mods-enabled
Regards -
I have no idea about your apache install and modules, google might help, I found this (although not very promising):
http://serverfault.com/questions/464319/enabling-mod-headers-on-apache2
In any case, .htaccess file is not a requirement, headers are there to prevent caching files, and that is important only when you upgrade FOP2 versions for now.. so you can get it working with no issues without that .htaccess file.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login