Apache authz core error

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solut...

in Apache on Ubuntu I’ve set up a vhost, but in the browser I keep getting a «403 Access forbidden» error; the log says «Client denied by server configuration: /home/remix/«.

Looking for the solution online I found many posts about the directory access (Allow from all, etc), but as far as I know I already did that. In httpd-vhosts.conf there is the following code:

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "/opt/lampp/htdocs/"
    ServerName localhost
    ServerAlias localhost
    ErrorLog "logs/dummy-host.example.com-error_log"
    CustomLog "logs/dummy-host.example.com-access_log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot "/home/remix/"
    ServerName testproject
    ServerAlias testproject
    <Directory "/home/remix/">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

I’ve also added

127.0.0.1    testproject

to the /etc/hosts file.

Also, the /home/remix/ folder contains an index.html file and vhosts are enabled in httpd.conf.

Is there anything I’m not seeing?

Edit: This is the Apache error_log entry:

[Sat Aug 18 09:15:32.666938 2012] [authz_core:error] [pid 6587] 
[client 127.0.0.1:38873] AH01630: client denied by server configuration: /home/remix/



  • +1 888 500 1070 (Toll Free)


  • +1 888 500 1070 (Toll Free)

assistanz

  • Product

    Unique Public & Private Cloud Management Portal for Data centers, Enterprise & Webhosting Companies.

    Easy-to-use self-service portal allows your customers the freedom to manage their cloud with minimal handholding.

    Self-service portal allows businesses to manage their resources, monitoring & vulnerability scan, by themselves.

    Centralized governance and secure and holistic management of resources across multiple clouds through RBAC.

  • Cloud services & AIOps

    PUBLIC CLOUD

    Transform Your Enterprise on AWS Cloud Platform with Cost-Effective, AIOps-Driven Managed Offerings.

    GCP

    Assistanz helps Enterpise, drive innovation, manage costs, governance and risks associated with their workloads on Google Cloud Platform.

    CONTAINER ORCHESTRATION

    Orchestrate containerized applications across multiple environments with end-to-end support from certified Kubernetes administrators.

    Helps organizations increase efficiency, reduce cost and speed up time to market through pipeline automation across different cloud platforms.

    PRIVATE CLOUD

    Assistanz are the largest supporter of CloudStack since 2015, specializing in design & implementation of laaS for private & public clouds.

  • Support Services

    Our IMS Plans cover IT infrastructure planning, design, implementation, maintenance and evloution

    If you are looking for staffs who could augment your webhosting business, then Assistanz is just the partner you’re looking for.

    Offload your cPanel Server management & support overheads and focus only on your business.

    A fully comprehensive plan to manage your Linux & Windows Plesk Servers.

    Our DirectAdmin server management plan provides you with unlimited hours of server.

    Enable easy migration of applications to cloud with our robust cloud server migration services.

    Connect with US

    Looking for more cutomized support solutions ?

    Our team is ready to help you

    Explore our free Configuration package, Scripts, Automations & More..

    Quality Management System

    ITILNEW

    bsi

    Bureau 27001

  • Company

    Established in 2004, Assistanz has become one of the most preferred IT Service providers across diverse industry segments and a complete one-stop shop for all your IT Needs & Solutions.

    Questions about our service?
    Our team can answer them for your within a day..

    AssistanZ Team

    If you care for a career…

  • Blog

Assistanz

  • Product

    Unique Public & Private Cloud Management Portal for Data centers, Enterprise & Webhosting Companies.

    Easy-to-use self-service portal allows your customers the freedom to manage their cloud with minimal handholding.

    Self-service portal allows businesses to manage their resources, monitoring & vulnerability scan, by themselves.

    Centralized governance and secure and holistic management of resources across multiple clouds through RBAC.

  • Cloud services & AIOps

    PUBLIC CLOUD

    Transform Your Enterprise on AWS Cloud Platform with Cost-Effective, AIOps-Driven Managed Offerings.

    GCP

    Assistanz helps Enterpise, drive innovation, manage costs, governance and risks associated with their workloads on Google Cloud Platform.

    CONTAINER ORCHESTRATION

    Orchestrate containerized applications across multiple environments with end-to-end support from certified Kubernetes administrators.

    Helps organizations increase efficiency, reduce cost and speed up time to market through pipeline automation across different cloud platforms.

    PRIVATE CLOUD

    Assistanz are the largest supporter of CloudStack since 2015, specializing in design & implementation of laaS for private & public clouds.

  • Support Services

    Our IMS Plans cover IT infrastructure planning, design, implementation, maintenance and evloution

    If you are looking for staffs who could augment your webhosting business, then Assistanz is just the partner you’re looking for.

    Offload your cPanel Server management & support overheads and focus only on your business.

    A fully comprehensive plan to manage your Linux & Windows Plesk Servers.

    Our DirectAdmin server management plan provides you with unlimited hours of server.

    Enable easy migration of applications to cloud with our robust cloud server migration services.

    Connect with US

    Looking for more cutomized support solutions ?

    Our team is ready to help you

    Explore our free Configuration package, Scripts, Automations & More..

    Quality Management System

    ITILNEW

    bsi

    Bureau 27001

  • Company

    Established in 2004, Assistanz has become one of the most preferred IT Service providers across diverse industry segments and a complete one-stop shop for all your IT Needs & Solutions.

    Questions about our service?
    Our team can answer them for your within a day..

    AssistanZ Team

    If you care for a career…

  • Blog



  • Blog, Web Hosting Support




  • D KarthiKeyan




  • March 31, 2017

AH01630 client denied by server configuration

AH01630: client denied by server configuration:

 AH01630: client denied by server configuration in log appears due to access permissions, The Require provides a variety of different ways to allow or deny access to resources.

In conjunction with the RequireAll, RequireAny, and RequireNone directives, these requirements may be combined in arbitrarily complex ways, to enforce whatever your access policy happens to be.

client denied by server configuration

If your apache error log shows like below line then,


[date] [authz_core:error] [pid] [client IP] AH01630: client denied by server configuration: /your/document/root/path

the access permissions ” Require all granted ” is required to resolve this issue. You can add below lines into the VirtualHost,

<Directory /your/document/root/path> AllowOverride none Require all granted </Directory>

After adding the VirtualHost will be like,

<VirtualHost *:80> ... <Directory /your/document/root/path> AllowOverride none Require all granted </Directory> ... </VirtualHost>

D KarthiKeyan

D KarthiKeyan

AssistanZ Server management Blog

Kubernetes

Most Popular:

Devops

If you mean the file .owncloudsync.log on the client machine I noticed something weird. The last entries are this:

#=#=#=# Syncrun started 2018-11-14T18:00:58
#=#=#=#=# Propagation starts 2018-11-14T18:00:58 (last step: 889 msec, total: 889 msec)
#=#=#=# Syncrun finished 2018-11-14T18:00:59 (last step: 29 msec, total: 919 msec)

I’ve confirmed in /var/log/apt/history.log that a few minutes later I upgraded the client to 2.5.0git on this machine. Since then no log entries any more. But syncing seems fine.

On the server side, this is my config:

<?php
$CONFIG = array (
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'trusted_domains' =>
  array (
    0 => 'XXX',
  ),
  'datadirectory' => 'XXX',
  'overwrite.cli.url' => 'XXX',
  'version' => '14.0.4.2',
  'dbtype' => 'mysql',
  'dbname' => 'XXX',
  'dbhost' => 'XXX',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'logtimezone' => 'Europe/Berlin',
  'default_language' => 'de',
  'htaccess.RewriteBase' => '/',
  'share_folder' => '/XXX',
  'cron.lockfile.location' => 'XXX',
  'tempdirectory' => 'XXX',
  'installed' => true,
  'mail_domain' => 'XXX',
  'trashbin_retention_obligation' => '30,60',
  'versions_retention_obligation' => '15,30',
  'log_rotate_size' => 104857600,
  'activity_expire_days' => 90,
  'mail_from_address' => 'XXX',
  'mail_smtpmode' => 'smtp',
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\Preview\PNG',
    1 => 'OC\Preview\JPEG',
    2 => 'OC\Preview\GIF',
    3 => 'OC\Preview\BMP',
    4 => 'OC\Preview\XBitmap',
    5 => 'OC\Preview\TXT',
    6 => 'OC\Preview\MarkDown',
  ),
  'loglevel' => 2,
  'maintenance' => false,
  'memcache.local' => '\OC\Memcache\Redis',
  'memcache.locking' => '\OC\Memcache\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'token_auth_enforced' => true,
  'auth.bruteforce.protection.enabled' => true,
  'updater.release.channel' => 'stable',
  'theme' => '',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'XXX',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'XXX',
  'mail_smtppassword' => 'XXX',
  'sentry.dsn' => 'XXX',
  'sentry.public-dsn' => 'XXX',
);

No errors there and nothing special in the logs either, but this from Apache:

[Sat Nov 24 07:08:38.511169 2018] [authz_core:error] [pid 17589:tid 140163210172160] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config
[Sat Nov 24 07:16:38.526937 2018] [authz_core:error] [pid 17589:tid 140163210172160] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config
[Sat Nov 24 07:24:38.545834 2018] [authz_core:error] [pid 17589:tid 140163193386752] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config
[Sat Nov 24 07:32:38.539323 2018] [authz_core:error] [pid 17590:tid 140163184994048] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config
[Sat Nov 24 07:48:38.519454 2018] [authz_core:error] [pid 17590:tid 140163201779456] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config
[Sat Nov 24 07:56:38.515436 2018] [authz_core:error] [pid 17589:tid 140163201779456] [client 2a02:810d:abbf:XXX] AH01630: client denied by server configuration: XXX/config

(So it’s every 8 Minutes and not 15.)

Since this is over IPv6 the client ip in question is exactly the ip of this ubuntu machine with the 2.5-client.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Ap инициализация перед загрузкой микрокода как исправить
  • Aotai amig 500 ошибки
  • Aomei ошибка 5 при переносе ос
  • Aomei 4140 backupper ошибка
  • Aol error 138 network denied

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии