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. FOP2 Ignoring web_dir Value

FOP2 Ignoring web_dir Value

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 79 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.
  • T
    T
    tlaramie
    wrote on last edited by
    #1

    I'm attempting to test fop2 on our production system prior to rollout (replacing the FOP that's provided by FreePBX) however it appears the it's ignoring the web_dir attribute in the .cfg. FOP2 is running on an alternative port which so that it can co-exist with the current FOP which is listening on TCP 4445. Below is a snippet of the cfg

    ; Daemon definitios
    listen_port = 4447
    ;restrict_host = http://www.asternic.org
    web_dir = /var/www/html/fop2

    I don't receive any errors on startup but when trying to connect to the appropriate URL, I can see in netstat that the SWF is attempting to connect to 4445 rather than 4447.
    After providing the proper credentials the login display exhausts the 10 attempts before giving up. It's worth noting that if FOP2 is allowed to run on the default port, there's not problems logging in.

    1 Reply Last reply
    0
    • D
      D
      donhwyp
      wrote on last edited by
      #2

      You can move the fop1 port to another port and it will work fine. See a tutorial by Bob at
      <elastixconnections.com>

      Don

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

        Hi,

        It is much easier to change fop1 port as Don said... In my last test web_dir was working fine, not sure what could be the issue for you. You can start fop2_server with full debug (./fop2_server -X 511 ) and look for errors or clues.

        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