Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Vhosts problem

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 3.8k Views
    Loading More Posts
    • 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.
    • K
      killeo
      last edited by

      PF2 2.0-RC1 (i386) built on Wed Mar 2 17:47:38 EST 2011
      vhosts instaled from packages

      #/var/log/lighttpd.error.log

      05 09:16:03: (mod_fastcgi.c.1104) the fastcgi-backend /usr/local/php5/php-cgi failed to start:
      2011-03-05 09:16:03: (mod_fastcgi.c.1108) child exited with status 2 /usr/local/php5/php-cgi
      2011-03-05 09:16:03: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
      If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
      2011-03-05 09:16:03: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
      2011-03-05 09:16:03: (server.c.938) Configuration of plugins failed. Going down.

      #/usr/local/php5/php-cgi

      Command not found.

      #find / | grep php-cgi  
      "clean"

      DuckDuckGo is a search engine does not collect or share personal information.

      1 Reply Last reply Reply Quote 0
      • K
        killeo
        last edited by

        ok, I'm install PHPService
        make new host -ok

        /usr/local/etc/rc.d/vhosts-http.sh start

        (plugin.c.131) Cannot load plugin mod_accesslog more than once, please fix your config (we may not accept such configs in future releases

        ok!

        ee /var/etc/vhosts-http.conf

        lighttpd configuration file

        use a it as base for lighttpd 1.0.0 and above

        ############ Options you really have to take care of ####################

        FreeBSD!

        server.event-handler            = "freebsd-kqueue"
        server.network-backend          = "writev"  ## Fixes 7.x upload issues

        modules to load

        server.modules =  (
                                          "mod_accesslog",  # < 1 mod_accesslog
                                          "mod_access",
                                          "mod_accesslog",  # <2 mod_accesslog ??? ???
                          "mod_fastcgi", "mod_cgi","mod_rewrite"
                                        )
        …

        lets get clean one "mod_accesslog", and all working

        DuckDuckGo is a search engine does not collect or share personal information.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.