How to access the subversion repository through WebDAV/DeltaV? - linux

I installed and set up BitNami Redmine Stack and created the repository:
svnadmin create /var/svn/repository0/
I use basic authentication.
Part of httpd.conf:
<Location>
DAV svn
SVNParentPath /var/svn
AuthName "Subversion Repository"
AuthType Basic
AuthUserFile /etc/svn-auth.passwd
Require valid-user
Satisfy Any
AuthzSVNAccessFile /var/svn/authz
</Location>
Part of svn-auth.passwd:
htpasswd -c -m /etc/svn-auth.htpasswd someuser
someuser:$apr1$bTN...
authz:
[/]
* = r
[repository0:/]
someuser = rw
When I go through this url: http://remote-linux-host:81/svn/repository0/ I get the following:
I enter my credentials and see:
Forbidden
You don't have permission to access /svn/repository0/ on this server.
For this url http://remote-linux-host:81/svn/ I get:
<D:error><C:error/><m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable></D:error>
What I have in error.log:
...
[Wed Dec 12 15:16:17 2012] [error] [client ..ip...] Failed to load the AuthzSVNAccessFile: /var/svn/authz:22: Option expected
[Wed Dec 12 15:16:17 2012] [error] [client ..ip...] Access denied: 'someuser' GET svn:/repository0
[Wed Dec 12 15:16:20 2012] [error] [client ..ip...] Failed to load the AuthzSVNAccessFile: /var/svn/authz:22: Option expected
[Wed Dec 12 15:16:20 2012] [error] [client ..ip...] Access denied: 'someuser' GET svn:/repository0
[Wed Dec 12 15:16:38 2012] [error] [client ..ip...] Failed to load the AuthzSVNAccessFile: /var/svn/authz:22: Option expected
[Wed Dec 12 15:16:38 2012] [error] [client ..ip...] Access denied: 'someuser' GET svn:/repository0
[Wed Dec 12 15:16:46 2012] [error] [client ..ip...] (20014)Internal error: Can't open file '/var/svn/format': No such file or directory
[Wed Dec 12 15:16:46 2012] [error] [client ..ip...] Could not fetch resource information. [500, #0]
[Wed Dec 12 15:16:46 2012] [error] [client ..ip...] Could not open the requested SVN filesystem [500, #2]
[Wed Dec 12 15:16:46 2012] [error] [client ..ip...] Could not open the requested SVN filesystem [500, #2]
I made some small changes in the authz file:
[groups]
developers = someuser
[repository0:/]
#developers = rw
Now, when I go through this url again http://remote-linux-host:81/svn/repository0/ I get the following:
<D:error><C:error/><m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable></D:error>
What am I doing wrong?

I gave read/write access for the user who runs the Apache and now everything is OK.

Related

server 500 err when runing a github cloned project on lampp stack ubuntu

just started working on Ubuntu 22.04
I just installed lamp stack on my Ubuntu pc and it is working fine
but the problem is when i clone a repo from GitHub
when i try to run the project by a browser i see a
"localhost is currently unable to handle this request." 500 server err
i can create a simple file in projects directory and run it with no errors
and i can't either use localhost/phpmyadmin i basically get the same error
heres my ls -la log result for var/www/html
drwxr-xr-x 3 root root 4096 Jun 3 16:00 ..
-rw-rw-r-- 1 www-data www-data 10671 Jun 3 16:31 index.html
-rw-rw-r-- 1 root root 20 Jun 3 15:32 info.php
lrwxrwxrwx 1 root root 21 Jun 3 16:01 phpmyadmin -> /usr/share/phpmyadmin
drwxrwxr-x 10 mrmirzaee mrmirzaee 4096 Jun 3 17:13 Todo
Heres my error.log file for apache2 while trying to open localhost/phpmyadmin
[Fri Jun 03 18:30:05.279825 2022] [php:error] [pid 82981] [client ::1:44972] PHP Fatal error: Uncaught Error: Call to undefined function mb_strpos() in /usr/share/phpmyadmin/libraries/classes/Url.php:263\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/classes/Url.php(213): PhpMyAdmin\\Url::getArgSeparator()\n#1 /usr/share/phpmyadmin/libraries/classes/Url.php(176): PhpMyAdmin\\Url::getCommonRaw()\n#2 /usr/share/phpmyadmin/libraries/classes/Core.php(752): PhpMyAdmin\\Url::getCommon()\n#3 /usr/share/phpmyadmin/libraries/classes/Core.php(339): PhpMyAdmin\\Core::linkURL()\n#4 /usr/share/phpmyadmin/libraries/classes/Core.php(366): PhpMyAdmin\\Core::getPHPDocLink()\n#5 /usr/share/phpmyadmin/libraries/classes/Core.php(994): PhpMyAdmin\\Core::warnMissingExtension()\n#6 /usr/share/phpmyadmin/libraries/common.inc.php(131): PhpMyAdmin\\Core::checkExtensions()\n#7 /usr/share/phpmyadmin/index.php(15): require_once('...')\n#8 {main}\n thrown in /usr/share/phpmyadmin/libraries/classes/Url.php on line 263
and heres the access log for that ::1 - - [03/Jun/2022:18:30:05 +0430] "GET /phpmyadmin/ HTTP/1.1" 500 185 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" ::1 - - [03/Jun/2022:18:30:56 +0430] "-" 408 0 "-" "-"
the same log files while opening my projects :
access log : ::1 - - [03/Jun/2022:18:35:12 +0430] "GET /Todo/ HTTP/1.1" 500 185 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36"
error log : [Fri Jun 03 18:35:12.880098 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(E:/xampp/htdocs/todo/bootstrap/config.php): Failed to open stream: No such file or directory in /var/www/html/Todo/Bootstrap/init.php on line 3 [Fri Jun 03 18:35:12.880251 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(): Failed opening 'E:/xampp/htdocs/todo/bootstrap/config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/Todo/Bootstrap/init.php on line 3 [Fri Jun 03 18:35:12.880319 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(E:/xampp/htdocs/todo/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/Todo/Bootstrap/init.php on line 4 [Fri Jun 03 18:35:12.880337 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(): Failed opening 'E:/xampp/htdocs/todo/vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/Todo/Bootstrap/init.php on line 4 [Fri Jun 03 18:35:12.880385 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(E:/xampp/htdocs/todo/libs/helpers.php): Failed to open stream: No such file or directory in /var/www/html/Todo/Bootstrap/init.php on line 5 [Fri Jun 03 18:35:12.880433 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: include(): Failed opening 'E:/xampp/htdocs/todo/libs/helpers.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/Todo/Bootstrap/init.php on line 5 [Fri Jun 03 18:35:12.880457 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Undefined variable $db_config in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880470 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Attempt to read property "host" on null in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880482 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Undefined variable $db_config in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880492 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Attempt to read property "db_name" on null in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880506 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Undefined variable $db_config in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880537 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Attempt to read property "user" on null in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880548 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Undefined variable $db_config in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880558 2022] [php:warn] [pid 82977] [client ::1:44978] PHP Warning: Attempt to read property "pass" on null in /var/www/html/Todo/Bootstrap/init.php on line 7 [Fri Jun 03 18:35:12.880730 2022] [php:error] [pid 82977] [client ::1:44978] PHP Fatal error: Uncaught Error: Call to undefined function diePage() in /var/www/html/Todo/Bootstrap/init.php:10\nStack trace:\n#0 /var/www/html/Todo/index.php(3): include()\n#1 {main}\n thrown in /var/www/html/Todo/Bootstrap/init.php on line 10
IDK why it's returning so much errs i literally use the same project on my windows xampp
I would suggest to check the PHP version and use a compatible one. You can use command php --version on linux. I see that you are trying to run PHPmyadmin, its advised to go through its version notes and check which PHP versions it supports.
I Fixed the problem
despite my project's problem which a false addressing in files was causing it
the PhpMyAdmin was not Responding because I hadn't installed an E called mbstrings as you can see in errors there is an undefined function mbstrops() which actually needs the mbstring Extension to run correctly i just installed the package which was compatible with my php version (8.0.1) and i got everything working correctly
in order to see how to install mbstrings Extesion see this :
Askubuntu

Moving Laravel 5.4 project on CentOS 6 (Linux) - permission denied issue

I have moved laravel projects before on shared hosting but not to university CentOS server.
I have put laravel public folder files inside public_html and I have put all other laravel project files under blog folder.
Root
-blog
-entire project files
-public_html
-all the public files
I changed 2 lines in index.php
require __DIR__.'/../blog/bootstrap/autoload.php';
$app = require_once __DIR__.'/../blog/bootstrap/app.php';
As you can see I have added /blog
I have access to SSH shell, and below are the list of errors:
PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 10:43:58 2017] [error] [client 137.195.14.30] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 10:43:58 2017] [error] [client 137.195.14.30] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 11:54:48 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 11:58:06 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:06 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:09 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:09 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:12 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:12 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:14 2017] [error] [client 92.98.49.227] PHP Warning: require(/home/cs/username/public_html/../bootstrap/autoload.php): failed to open stream: No such file or directory in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 11:58:14 2017] [error] [client 92.98.49.227] PHP Fatal error: require(): Failed opening required '/home/cs/username/public_html/../bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/index.php on line 22
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:35 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:05:38 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:05:46 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:07:33 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 12:55:51 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:05 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 12:56:11 2017] [crit] [client 92.98.49.227] (13)Permission denied: /home/cs/username/public_html/app/Http/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 13:13:58 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:14:09 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:14:14 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:42 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:52 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:54 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:55 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:21:58 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:22:01 2017] [alert] [client 92.98.49.227] /home/cs/username/public_html/public/.htaccess: Options not allowed here
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/public_html/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:22:20 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:29:56 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', in /home/cs/username/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729, referer: http://www2.macs.hw.ac.uk/~mf156/
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:34 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:35:40 2017] [error] [client 92.98.49.227] File does not exist: /home/cs/username/public_html/public
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:35:45 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Warning: include(/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php): failed to open stream: Permission denied in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Warning: include(): Failed opening '/home/cs/username/blog/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/cs/username/blog/vendor/composer/ClassLoader.php on line 444
[Thu Jun 08 13:36:48 2017] [error] [client 92.98.49.227] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php:729\nStack trace:\n#0 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('App\\\\Http\\\\Kernel')\n#1 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\\Container\\Container->build('App\\\\Http\\\\Kernel')\n#2 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(564): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Kernel', Array)\n#3 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\\Container\\Container->makeWith('App\\\\Http\\\\Kernel', Array)\n#4 /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php(248): Illuminate\\Foundation\\Application->makeWith('App\\\\Http\\\\Kernel', Array)\n#5 /home/cs/username/blog/vendor/lara in /home/cs/username/blog/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
If public_html/ is your web root directory, then you might want to place ALL your Laravel files inside of the web root directory. Laravel should know how to use its own public folder. You shouldn't have to change the autoload paths.
For permissions to other important Laravel directories, please read this:
"Directory Permissions
After installing Laravel, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server or Laravel will not run. If you are using the Homestead virtual machine, these permissions should already be set."

not work sso RHEL APCHE 2.2.15 with auth_kerb_module + AD MS WIN 2012

good afternoon
SSO does not work (client IE 9, FireFox 38)
error.httpd.log
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1944): [client 172.20.204.231] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1944): [client 172.20.204.231] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1279): [client 172.20.204.231] Acquiring creds for HTTP/itsm-dev#TEST.DOMAIN.COM.UA
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1698): [client 172.20.204.231] Verifying client data using KRB5 GSS-API
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1714): [client 172.20.204.231] Client didn't delegate us their credential
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1742): [client 172.20.204.231] Warning: received token seems to be NTLM, which isn't supported by the Kerberos module. Check your IE configuration.
[Sun Feb 15 10:06:02 2015] [debug] src/mod_auth_kerb.c(1139): [client 172.20.204.231] GSS-API major_status:00070000, minor_status:00000000
[Sun Feb 15 10:06:02 2015] [error] [client 172.20.204.231] gss_accept_sec_context() failed: No credentials were supplied, or the credentials were unavailable or inaccessible (, Unknown error)
export KRB5_TRACE=/dev/stdout
kinit -V -k -t /etc/krb5.keytab -p HTTP/itsmproxy.test.domain.com.ua#test.domain.com.ua
Using default cache: /tmp/krb5cc_0
Using principal: HTTP/itsmproxy.test.domain.com.ua#test.domain.com.ua
Using keytab: /etc/krb5.keytab
[16729] 1424007693.340272: Getting initial credentials for HTTP/itsmproxy.test.domain.com.ua#test.domain.com.ua
[16729] 1424007693.342682: Looked up etypes in keytab: (empty
[16729] 1424007693.342729: Getting initial credentials for HTTP/itsmproxy.test.domain.com.ua#test.domain.com.ua
[16729] 1424007693.342780: Looked up etypes in keytab: (empty
kinit: Keytab contains no suitable keys for HTTP/itsmproxy.test.domain.com.ua#test.domain.com.ua while getting initial credentials
klist -kte /etc/krb5.keytab2
Keytab name: FILE:/etc/krb5.keytab2
KVNO Timestamp Principal
---- ----------------- --------------------------------------------------------
5 01/01/70 03:00:00 HTTP/itsm-dev#TEST.DOMAIN.COM.UA (arcfour-hmac)
where could be the problem?
On Linux side you are using mod_auth_kerb which supports Kerberos authentication but your client sends NTLMSSP. This is unsupported.
If you want to have NTLMSSP working, you'd better to use mod_auth_gssapi and GSSAPI NTLMSSP modules from https://github.com/simo5/mod_auth_gssapi and https://fedorahosted.org/gss-ntlmssp/

500 internal server error on laravel?

I made a project in laravel and when I migrated to a live server it gives me 500 internal error.
This is the first time I try to install laravel.
The problem occurs when I run rm -rf public_html AND ln -s laravel/public/ public_html
This is the error log:
[Sat Nov 08 12:57:46 2014] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Sat Nov 08 12:58:01 2014] [error] [client IP ADDRESS ] SoftException in Application.cpp:357: UID of script "/home/%STACK%/public_html/index.php" is s$
[Sat Nov 08 12:58:01 2014] [error] [client IP ADDRESS ] Premature end of script headers: index.php
[Sat Nov 08 12:58:01 2014] [error] [client IP ADDRESS ] SoftException in Application.cpp:357: UID of script "/home/%STACK%/public_html/index.php" is s$
[Sat Nov 08 12:58:01 2014] [error] [client IP ADDRESS ] Premature end of script headers: index.php
[Sat Nov 08 13:03:27 2014] [error] [client IP ADDRESS ] SoftException in Application.cpp:357: UID of script "/home/%STACK%/public_html/index.php" is s$
[Sat Nov 08 13:03:27 2014] [error] [client IP ADDRESS ] Premature end of script headers: index.php
[Sat Nov 08 13:03:27 2014] [error] [client IP ADDRESS ] File does not exist: /home/%STACK%/public_html/500.shtml
[Sat Nov 08 13:07:00 2014] [error] [client IP ADDRESS ] SoftException in Application.cpp:357: UID of script "/home/%STACK%/public_html/index.php" is s$
[Sat Nov 08 13:07:00 2014] [error] [client IP ADDRESS ] Premature end of script headers: index.php
[Sat Nov 08 13:07:00 2014] [error] [client IP ADDRESS ] File does not exist: /home/%STACK%/public_html/500.shtml
[Sat Nov 08 13:09:02 2014] [error] [client IP ADDRESS ] SoftException in Application.cpp:357: UID of script "/home/%STACK%/public_html/index.php" is s$
[Sat Nov 08 13:09:02 2014] [error] [client IP ADDRESS ] Premature end of script headers: index.php
Change the permissions of your app/storage folder to 755 if that doesn't works change it to 777. If you are running nginx on the server check /etc/nginx/nginx.conf file and check the first which states the user running nginx and then
chown -R www-data:www-data /your/document/root/public_html/
change www-data by the user name you found in config file you can also validate it by running ps on terminal

Error number 13 - Remote access svn with dav_svn failing

I'm getting the following error on my svn repository
<D:error>
<C:error/>
<m:human-readable errcode="13">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
I've followed the instructions from the How to Geek, and the Ubuntu Community Page, but to no success. I've even given the repository 777 permissions.
<Location /svn/myProject >
# Uncomment this to enable the repository
DAV svn
# Set this to the path to your repository
SVNPath /svn/myProject
# Comments
# Comments
# Comments
AuthType Basic
AuthName "My Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
# More Comments
</Location>
The permissions follow:
drwxrwsrwx 6 www-data webdev 4096 2010-02-11 22:02 /svn/myProject
And svnadmin validates the directory
$svnadmin verify /svn/myProject/
* Verified revision 0.
and I'm accessing the repository at
http://ipAddress/svn/myProject
Edit: The apache error log says
[Fri Feb 12 13:55:59 2010] [error] [client <ip>] (20014)Internal error: Can't open file '/svn/myProject/format': Permission denied
[Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not fetch resource information. [500, #0]
[Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not open the requested SVN filesystem [500, #13]
[Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not open the requested SVN filesystem [500, #13]
Even though I confirmed that this file is ugo readable and writable.
What am I doing wrong?
I had to give permissions to apache to the directory above my repo: ie /svn
I used the command
sudo chown -R www-data:webdev /svn
Perhaps the permissions of the files and subdirectories in /svn/myProject weren't changed. Did you change them recursively?

Resources