horizn
February 25, 2017, 6:47pm
1
Hi,
I am a beginner, I am trying to access to /panel on fresh Kirby installation but unfortunately I am getting 404 error:
Not Found
The requested URL /krb/panel/login was not found on this server.
Yes indeed, there is no login file or folder in panel directory. I have added: c::set(‘panel.install’, true);
to both config files I found:
./site/config/config.php
./kirby/test/etc/site/config/config.php
as well as configured .htaccess.
What else could be wrong?
texnixe
February 25, 2017, 7:01pm
2
Hi and welcome to Kirby!
First of all, please do not touch any files inside the kirby and panel folders.
Let me know if subpages work for you or only the home page. If subpages do not work either, check if mod_rewrite is enabled on your server.
horizn
February 25, 2017, 8:32pm
3
No, subpages gives 404 too (thanks), but mod_rewrite is enabled and it works for other sites (RoundCube)
texnixe
February 25, 2017, 9:00pm
4
If mod_rewrite is enabled, you might have to set the RewriteBase in your .htaccess file: https://getkirby.com/docs/developer-guide/troubleshooting/installation
horizn
February 25, 2017, 9:14pm
5
No, the problem is with (my) standard vhost configuration:
<Directory /var/www/htdocs/krb>
Options -Indexes -FollowSymLinks -Includes -ExecCGI
AllowOverride None
Require all granted
</Directory>
texnixe
February 25, 2017, 9:18pm
6
Oh, yes, that would have been my next question. With that setting the .htaccess does not have any effect, of course.
horizn
February 25, 2017, 9:29pm
7
OK, I have Kirby running properly now, but after I remove:
c::set(‘panel.install’, true);
from the config file, I can’t get access to panel (remotely), how can I enable panel if I can’t modify config files?
texnixe
February 25, 2017, 10:06pm
8
The Panel only has to be installed once (i.e. you have to create the first user), after that you don’t have to enable the Panel and you should remove that line from the config file. As explained in the docs: https://getkirby.com/docs/installation/panel
horizn
February 25, 2017, 10:32pm
9
One more question:
Now I am able to create first user, but unfortunately after I click on Create account it clear form and I can start from beginning.
texnixe
February 26, 2017, 12:17am
10
Do you get any error messages in your PHP log or in dev tools (network tab)?
horizn
February 26, 2017, 2:36pm
11
No, i set vhost logging to debug but there are no errors at all:
[Sun Feb 26 14:25:10.001986 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity for Apache/2.9.1 (http://www.modsecurity.org/ ) configured.
[Sun Feb 26 14:25:10.001992 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: APR compiled version=“1.5.2”; loaded version=“1.5.2”
[Sun Feb 26 14:25:10.001998 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: PCRE compiled version="8.39 "; loaded version=“8.39 2016-06-14”
[Sun Feb 26 14:25:10.002000 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: LUA compiled version=“Lua 5.1”
[Sun Feb 26 14:25:10.002001 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: LIBXML compiled version=“2.9.4”
[Sun Feb 26 14:25:10.002037 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: StatusEngine call: “2.9.1,Apache,1.5.2/1.5.2,8.39/8.39 2016-06-14,Lua 5.1,2.9.4,ada3b2dc2d305af2d179f2fbddd6cbb4615a4a65”
[Sun Feb 26 14:25:10.109922 2017] [:notice] [pid 6758:tid 140345388029824] ModSecurity: StatusEngine call successfully sent. For more information visit: http://status.modsecurity.org/
[Sun Feb 26 14:25:10.159993 2017] [auth_digest:notice] [pid 6759:tid 140345388029824] AH01757: generating secret for digest authentication …
[Sun Feb 26 14:25:11.026006 2017] [mpm_event:notice] [pid 6759:tid 140345388029824] AH00489: Apache/2.4.25 (Unix) OpenSSL/1.0.2k PHP/5.6.30 configured – resuming normal operations
[Sun Feb 26 14:25:11.026041 2017] [core:notice] [pid 6759:tid 140345388029824] AH00094: Command line: ‘/usr/sbin/httpd’
79.68.53.73 - - [26/Feb/2017:14:25:19 +0000] “GET /krb__/panel/ HTTP/1.1” 302 -
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/login HTTP/1.1” 302 -
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/install HTTP/1.1” 200 4426
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/css/panel.min.css?v=2.4.1 HTTP/1.1” 200 76448
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/js/dist/panel.min.js?v=2.4.1 HTTP/1.1” 200 228955
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/fonts/sourcesanspro-400.woff2 HTTP/1.1” 200 86844
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/fonts/sourcesanspro-600.woff2 HTTP/1.1” 200 86196
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1” 200 77160
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /krb__/panel/assets/fonts/sourcesanspro-400-italic.woff2 HTTP/1.1” 200 36016
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /favicon.ico HTTP/1.1” 404 209
79.68.53.73 - - [26/Feb/2017:14:25:20 +0000] “GET /favicon.ico HTTP/1.1” 404 209
79.68.53.73 - - [26/Feb/2017:14:25:37 +0000] “POST /krb__/panel/install HTTP/1.1” 302 -
79.68.53.73 - - [26/Feb/2017:14:25:37 +0000] “GET /krb__/panel/login HTTP/1.1” 302 -
79.68.53.73 - - [26/Feb/2017:14:25:37 +0000] “GET /krb__/panel/install HTTP/1.1” 200 4426
46.229.170.197 - - [26/Feb/2017:14:31:19 +0000] “GET / HTTP/1.1” 200 224
[Sun Feb 26 14:25:19.683214 2017] [authz_core:debug] [pid 6760:tid 140344750462720] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:19.683247 2017] [authz_core:debug] [pid 6760:tid 140344750462720] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.040651 2017] [authz_core:debug] [pid 6760:tid 140344750462720] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.040669 2017] [authz_core:debug] [pid 6760:tid 140344750462720] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.128857 2017] [authz_core:debug] [pid 6760:tid 140344742070016] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.128868 2017] [authz_core:debug] [pid 6760:tid 140344742070016] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.129977 2017] [authz_core:debug] [pid 6760:tid 140344742070016] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.129984 2017] [authz_core:debug] [pid 6760:tid 140344742070016] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.163385 2017] [authz_core:debug] [pid 6760:tid 140344733677312] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.163397 2017] [authz_core:debug] [pid 6760:tid 140344733677312] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.164284 2017] [authz_core:debug] [pid 6760:tid 140344733677312] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.164291 2017] [authz_core:debug] [pid 6760:tid 140344733677312] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.246525 2017] [authz_core:debug] [pid 6760:tid 140344725284608] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:20.246537 2017] [authz_core:debug] [pid 6760:tid 140344725284608] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:20.269962 2017] [authz_core:debug] [pid 6760:tid 140344716891904] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:20.269973 2017] [authz_core:debug] [pid 6760:tid 140344716891904] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:20.570279 2017] [authz_core:debug] [pid 6760:tid 140344708499200] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.570301 2017] [authz_core:debug] [pid 6760:tid 140344708499200] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of : granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.589527 2017] [authz_core:debug] [pid 6760:tid 140344700106496] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.589537 2017] [authz_core:debug] [pid 6760:tid 140344700106496] mod_authz_core.c(809): [client 79.68.53.73:52604] AH01626: authorization result of : granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.614097 2017] [authz_core:debug] [pid 6776:tid 140344784033536] mod_authz_core.c(809): [client 79.68.53.73:52608] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.614114 2017] [authz_core:debug] [pid 6776:tid 140344784033536] mod_authz_core.c(809): [client 79.68.53.73:52608] AH01626: authorization result of : granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.651589 2017] [authz_core:debug] [pid 6760:tid 140344691713792] mod_authz_core.c(809): [client 79.68.53.73:52610] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.651600 2017] [authz_core:debug] [pid 6760:tid 140344691713792] mod_authz_core.c(809): [client 79.68.53.73:52610] AH01626: authorization result of : granted, referer: domain/krb__/panel/assets/css/panel.min.css?v=2.4.1
[Sun Feb 26 14:25:20.758266 2017] [authz_core:debug] [pid 6760:tid 140344683321088] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.758301 2017] [authz_core:debug] [pid 6760:tid 140344683321088] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.760680 2017] [core:info] [pid 6760:tid 140344683321088] [client 79.68.53.73:52606] AH00128: File does not exist: /home/horizn/public_html/favicon.ico
[Sun Feb 26 14:25:20.782929 2017] [authz_core:debug] [pid 6760:tid 140344939816704] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:25:20.782997 2017] [authz_core:debug] [pid 6760:tid 140344939816704] mod_authz_core.c(809): [client 79.68.53.73:52606] AH01626: authorization result of : granted
[Sun Feb 26 14:25:20.785790 2017] [core:info] [pid 6760:tid 140344939816704] [client 79.68.53.73:52606] AH00128: File does not exist: /home/horizn/public_html/favicon.ico
[Sun Feb 26 14:25:37.261977 2017] [authz_core:debug] [pid 6760:tid 140344931424000] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.262005 2017] [authz_core:debug] [pid 6760:tid 140344931424000] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.264062 2017] [authz_core:debug] [pid 6760:tid 140344931424000] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.264069 2017] [authz_core:debug] [pid 6760:tid 140344931424000] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.326135 2017] [authz_core:debug] [pid 6760:tid 140344923031296] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.326148 2017] [authz_core:debug] [pid 6760:tid 140344923031296] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.327080 2017] [authz_core:debug] [pid 6760:tid 140344923031296] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.327087 2017] [authz_core:debug] [pid 6760:tid 140344923031296] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.361949 2017] [authz_core:debug] [pid 6760:tid 140344914638592] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.361967 2017] [authz_core:debug] [pid 6760:tid 140344914638592] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.362978 2017] [authz_core:debug] [pid 6760:tid 140344914638592] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of Require method GET POST OPTIONS: granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:25:37.362985 2017] [authz_core:debug] [pid 6760:tid 140344914638592] mod_authz_core.c(809): [client 79.68.53.73:52612] AH01626: authorization result of : granted, referer: domain/krb__/panel/install
[Sun Feb 26 14:31:19.472614 2017] [authz_core:debug] [pid 6760:tid 140344834389760] mod_authz_core.c(809): [client 46.229.170.197:52082] AH01626: authorization result of Require method GET POST OPTIONS: granted
[Sun Feb 26 14:31:19.472632 2017] [authz_core:debug] [pid 6760:tid 140344834389760] mod_authz_core.c(809): [client 46.229.170.197:52082] AH01626: authorization result of : granted