Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. help-apache.htaccess error ipbx

help-apache.htaccess error ipbx

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 268 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    O
    ostridge
    wrote on last edited by
    #1

    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.xx

    The fpbx GUI all works ok but not FOP2.

    FOP2 - Not getting the extension login/pass screen just the Internal Server Error message

    http://pi2/fop2
    

    Also

    http://pi2/fop2/admin
    

    Gives:-
    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 80

    Originally 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

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Just remove the .htaccess file in /var/www/html/fop2 and see if that works... perhaps you are missing some apache modules after that update (mod_headers?).

      1 Reply Last reply
      0
      • O
        O
        ostridge
        wrote on last edited by
        #3

        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 by

        a2enmod headers
        service apache2 restart
        

        you can see the enabled mods- symlinks in /etc/apache2/mods-enabled
        Regards

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups