1
Kloxo-MR Technical Helps / Re: Problem on auto login button
« on: 2016-11-13, 13:39:57 »Also add file in /usr/local/lxlabs/kloxo/httpdocs
It works! Thank you very much
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Also add file in /usr/local/lxlabs/kloxo/httpdocs
Server is from online.net (France).
For example, better using 1.2.3.4 instead 127.0.0.1 because 127.0.0.1 is special IP for 'localhost' and Kloxo-MR may trouble with this IP.
As I said before, no issue for disable token with add 'no_need_token' file. So, make sure this file exists.
You can configure ssl via Kloxo-MR panel.
It's work in my latest testing.
Is it true for using '127.0.0.1' IP (localhost)?.
<form method="post" action="http://127.0.0.1:7778/lib/php/" target="_blank">
<input type="hidden" name="frm_clientname" value="admin">
<input type="hidden" name="frm_password" value="12345">
<input type="submit" value="Login to Kloxo-MR">
</form>
*** Token not match. No permit for remote login. Go back to login page ***
touch /usr/local/lxlabs/kloxo/httpdocs/lib/php/no_need_token
sh /script/restart -y
I think something wrong with your hostname. It's must be something like 'server1.yourdomain.com' instead 'server1'.
Inform here your 'sh /script/sysinfo'.
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016100902
- Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
- PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.8 (Final) x86_64
- Hostname: localhost
C. Services:
1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
2. PHP:
- Installed:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Used: --PHP Branch--
error reading information on service phpm-fpm: No such file or directory
- Multiple: disable
3. Web Used: apache
- Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
- Lighttpd: lighttpd-1.4.41-2.el6.x86_64
- Nginx: nginx-1.11.5-1.el6.ngx.x86_64
- Apache: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
- Secondary PHP: off
4. WebCache: varnish
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: varnish-3.0.7-1.el6.x86_64
5. Dns: bind
- Bind: bind-9.9.7-1.mr.el6.x86_64
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
- smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- spam: bogofilter-1.2.4-1.el6.x86_64
7. Stats: awstats
D. Memory:
total used free shared buffers cached
Mem: 742 637 104 0 51 351
-/+ buffers/cache: 234 507
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 15G 2.4G 12G 18% /
*** Process Time: 00:00:00:10.10270 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
Use acme.sh instead letsencrypt-auto and make sure with 'sh /script/acme.sh-installer -y'. Setup letsencrypt ssl via panel (example: admin > all > all domains > select one > ssl certificates > add let's encrypt'.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
httpd: Syntax error on line 8 of /etc/httpd/conf/httpd.conf:
Include directory '/etc/httpd/conf.modules.d' not found
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
Invalid command 'ErrorLogFormat', perhaps misspelled or defined by
a module not included in the server configuration
2016-11-13 04:53:39,374:DEBUG:certbot.main:Root logging level set at 20
2016-11-13 04:53:39,380:DEBUG:certbot.main:certbot version: 0.9.3
2016-11-13 04:53:39,374:DEBUG:certbot.main:Root logging level set at 20
2016-11-13 04:53:39,380:DEBUG:certbot.main:certbot version: 0.9.3
2016-11-13 04:53:39,380:DEBUG:certbot.main:Arguments: []
2016-11-13 04:53:39,415:ERROR:certbot.util:Error while running apachectl configtest.
Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
Traceback (most recent call last):
self._initialized.prepare()
self.config_test()
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1687, in config_test
raise errors.MisconfigurationError(str(err))
MisconfigurationError: Error while running apachectl configtest.
Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
Invalid command 'ErrorLogFormat', perhaps misspelled or defined by a module not included in the server configuration
2016-11-13 04:53:39,420:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.configurator:ApacheConfigurator
Initialized: <certbot_apache.configurator.ApacheConfigurator object at 0x7f338b98b310>
Prep: Error while running apachectl configtest.
Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
Invalid command 'ErrorLogFormat', perhaps misspelled or defined by a module not included in the server configuration
2016-11-13 04:53:39,422:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
ServerTokens OS
ServerRoot "/etc/httpd"
# MR -- must be disable here because can not overrite! -- importance for proxy-to-apache
# Listen 80
Include conf.modules.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
</Directory>
# Further relax access to the default document root:
<Directory "/var/www/html">
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<Files ".ht*">
Require all denied
</Files>
ErrorLogFormat "[%t] [%-m:%l] [pid %P] [%F:] [%M] [%v]"
ErrorLog "logs/error_log"
LogLevel error
<IfModule log_config_module>
## MR -- change %h to %a to fix mod_remoteip issue
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%a %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
<IfModule alias_module>
# Alias /webpath /full/filesystem/path
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
#AddHandler cgi-script .cgi
#AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
#AddDefaultCharset UTF-8
<IfModule mime_magic_module>
MIMEMagicFile conf/magic
</IfModule>
Alias /error/ "/home/kloxo/httpd/error/"
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
<Directory "/home/kloxo/httpd/error/">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
ErrorDocument 501 /error/501.html
ErrorDocument 502 /error/502.html
ErrorDocument 503 /error/503.html
ErrorDocument 504 /error/504.html
</IfModule>
</IfModule>
EnableSendfile on
HostnameLookups Off
IncludeOptional conf.d/*.conf
Find out WHMCS spec liike need curl or something else. It's must be match with php in user/client.
..::
Monetize Your Website with ylliXmedia ::..
..:: Online Advertising that Sale Anything with ylliXmedia ::.. |
Page created in 0.071 seconds with 21 queries.