Skip to main content

FastCGI problem

Comments

7 comments

  • cPanelMichael
    Hello :) cPanel offers mod_fcgid in EasyApache. You are attempting to use a command that's intended for mod_fastcgi, which is not offered. These are two separate modules: mod_fcgid - Apache HTTP Server Version 2.5 Apache module mod_fastcgi Thank you.
    0
  • Connor0308
    Is there any option to install a fcgi or proxy_fcgi appliance? Or furthermore - are there experiences on how to install Seafile on a WHM/ cPanel based system? Thank you.
    0
  • cPanelMichael
    I found the following third-party guide that seems to provide installation instructions for installing Seafile: How to Install Seafile Server 2.0.4 64-bit on Centos 6.5 64-bit | Server Labs ( Build Your Server ) Note this is for a standalone server so it may require some custom changes to work on a cPanel environment. Thank you.
    0
  • Connor0308
    Thank you for this - it worked out. Unfortunately, I can't get a https-connection working, as this depends on mod fcgi. Any ideas? Thank you for your feedback, br, Connor
    0
  • cPanelMichael
    Unfortunately, I can't get a https-connection working

    Could you elaborate on the specific error message or issue that's occurring? Thank you.
    0
  • Connor0308
    Sorry for that - you are right of course. What I am trying to achieve is that I can use SeaFile via HTTPS on sub.domain.tld. As I can't use ModFCGI, I want to use a simple set of mod_proxy rewrite rules. All To do so, I created a seafile.conf in /usr/local/apache/conf/userdata/ssl/2_4/username/sub.domain.tld/seafile.conf to set the VirtualHost on port 443.
    ServerAdmin mail-adress ServerName sub.domain.tld SSLEngine On SSLCertificateFile /var/cpanel/ssl/installed/certs/cerfile SSLCertificateKeyFile /var/cpanel/ssl/installed/keys/keyfile SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/StartCom_Ltd__3eb90e29$ CustomLog /usr/local/apache/domlogs/logfile LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so RewriteEngine On # # seafile httpserver # ProxyPass /seafhttp http://127.0.0.1:8082 retry=0 ProxyPassReverse /seafhttp http://127.0.0.1:8082 RewriteRule ^/seafhttp - [QSA,L] # # seafile webdav # ProxyPassReverse /seafdav http://127.0.0.1:8080 # # seahub # ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8000 RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
    After that, I restarted Apache via service httpd restart. I get a message saying AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/httpd.conf:1026 [Thu Nov 19 18:47:25.216303 2015] [core:error] [pid 32731] (EAI 2)Name or service not known: AH00547: Could not resolve host name domain.tld/seafilefolder -- ignoring! When trying to connect to
    0
  • cPanelMichael
    You may need to consult with a qualified system administrator for additional advice and assistance for this third-party application if you do not receive additional user-feedback, as there's no native support for it with cPanel. Thank you.
    0

Please sign in to leave a comment.