Re: [users@httpd] Error in log, Idk problem

2017-05-04 Thread Daniel
You are using 2.4.x better stick to 2.4 directives.

Remove all references to Order/Allow/Deny/Satisfy, stick to Require
directives only.

Also, default behaviour in 2.4 is like "Satisfy any" so it seems you don't
need to specify Require any or anything like that in this case, and If you
are already specifying "Require valid-user" having another directive to
deny all is therefore redundant.


2017-05-04 9:57 GMT+02:00 Alexandru Duzsardi <
alexandru.duzsa...@pitechnologies.ro>:

> Check your CUPS configuration , i think by default only allows access from
> localhost to it’s web admin page
>
>
>
> 
>
>
>
> *From:* Luiz Guilherme Nunes Fernandes [mailto:narutospi...@gmail.com]
> *Sent:* Wednesday, May 3, 2017 8:33 PM
> *To:* users@httpd.apache.org
> *Subject:* [users@httpd] Error in log, Idk problem
>
>
>
> Hi,
>
> I have a problem and I do not know how to fix it,
>
> Is problem with sub directories, I try redirect with cups. Although have
> errors, I can navigate.
>
>
>
> if i remove lines:
>
> Order deny,allow
>
> Deny from All
>
>
>
> And i add no erros, and no have authentication with Active Directory
>
>Allow from all
>
>Order Deny,Allow
>
>
>
> Attention: No erros in apache configure file, only erros in log.
>
>
>
> My file configuration:
>
> 
>
> 
>
> ProxyPreserveHost On
>
> ProxyPass / http://10.1.1.75:631/
>
> ProxyPassReverse / http://10.1.1.75:631/
>
>
>
>CacheEnable disk /
>
>CacheRoot /var/spool/httpd
>
>CacheDirLevels 5
>
>CacheDirLength 4
>
>CacheMinFileSize 1024
>
>CacheMaxFileSize 10485760
>
>CacheDefaultExpire 144000
>
>
>
> 
>
> Order deny,allow
>
> Deny from All
>
> # Allow from all
>
> # Order Deny,Allow
>
>
>
> AuthName "Informe usuario da rede LDAP"
>
> AuthType Basic
>
> AuthBasicProvider ldap
>
> AuthLDAPUrl ldap://ldap/ou=ldap,dc=com,dc=br?sAMAccountName
>
> AuthLDAPBindDN cn=UsrLDAP,cn=Users,ou=ldap,dc=com,dc=br
>
> AuthLDAPBindPassword X
>
> Require valid-user
>
> Satisfy any
>
> 
>
>
>
> 
>
>
>
> 
>
> Error:
>
> [Wed May 03 10:28:57.562769 2017] [access_compat:error] [pid 14722]
> [client 10.251.14.140:35328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/help/, referer:
> http://10.1.1.75/admin
>
> 
>
> [Wed May 03 10:47:38.214012 2017] [access_compat:error] [pid 14725]
> [client 10.251.14.140:36325] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/help/, referer:
> http://10.1.1.75/admin
>
> [Wed May 03 10:47:38.910394 2017] [access_compat:error] [pid 14727]
> [client 10.251.14.140:36328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/jobs/, referer:
> http://10.1.1.75/admin
>
> [Wed May 03 10:47:44.151292 2017] [access_compat:error] [pid 14727]
> [client 10.251.14.140:36328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/jobs/, referer:
> http://10.1.1.75/jobs/
>
> [Wed May 03 10:47:48.905561 2017] [access_compat:error] [pid 14727]
> [client 10.251.14.140:36328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/jobs/, referer:
> http://10.1.1.75/jobs/
>
> [Wed May 03 10:47:51.476263 2017] [access_compat:error] [pid 14727]
> [client 10.251.14.140:36328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/help/, referer:
> http://10.1.1.75/jobs/
>
> [Wed May 03 10:47:53.428483 2017] [access_compat:error] [pid 14727]
> [client 10.251.14.140:36328] AH01797: client denied by server
> configuration: proxy:http://10.1.1.75:631/help/, referer:
> http://10.1.1.75/help/
>
> 
>
>
>
> --
>
> <<<<<<<<<<<<<<<<<<<-
> -->>>>>>>>>>>>>>>>>>>
>
> < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
> Pai, senão por mim >
>
>  (João 14:6)
>
>
> Att.
> ♪ ♫  Luiz Guilherme Nunes
> Fernandes  ♫ ♪
>
> <<<<<<<<<<<<<<<<<<<-
> -->>>>>>>>>>>>>>>>>>>
>



-- 
*Daniel Ferradal*
IT Specialist

email dferradal at gmail.com
linkedin es.linkedin.com/in/danielferradal


RE: [users@httpd] Error in log, Idk problem

2017-05-04 Thread Alexandru Duzsardi
Check your CUPS configuration , i think by default only allows access from 
localhost to it’s web admin page

 

 

 

From: Luiz Guilherme Nunes Fernandes [mailto:narutospi...@gmail.com] 
Sent: Wednesday, May 3, 2017 8:33 PM
To: users@httpd.apache.org
Subject: [users@httpd] Error in log, Idk problem

 

Hi,

I have a problem and I do not know how to fix it,

Is problem with sub directories, I try redirect with cups. Although have 
errors, I can navigate.

 

if i remove lines:

Order deny,allow

Deny from All

 

And i add no erros, and no have authentication with Active Directory

   Allow from all

   Order Deny,Allow

 

Attention: No erros in apache configure file, only erros in log.

 

My file configuration:





ProxyPreserveHost On

ProxyPass / http://10.1.1.75:631/

ProxyPassReverse / http://10.1.1.75:631/

 

   CacheEnable disk /

   CacheRoot /var/spool/httpd

   CacheDirLevels 5

   CacheDirLength 4

   CacheMinFileSize 1024

   CacheMaxFileSize 10485760

   CacheDefaultExpire 144000

 



Order deny,allow

Deny from All

# Allow from all

# Order Deny,Allow

 

AuthName "Informe usuario da rede LDAP"

AuthType Basic

AuthBasicProvider ldap

AuthLDAPUrl ldap://ldap/ou=ldap,dc=com,dc=br?sAMAccountName

AuthLDAPBindDN cn=UsrLDAP,cn=Users,ou=ldap,dc=com,dc=br

AuthLDAPBindPassword X

Require valid-user

Satisfy any



 



 



Error:

[Wed May 03 10:28:57.562769 2017] [access_compat:error] [pid 14722] [client 
10.251.14.140:35328 <http://10.251.14.140:35328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/help/, referer: 
http://10.1.1.75/admin



[Wed May 03 10:47:38.214012 2017] [access_compat:error] [pid 14725] [client 
10.251.14.140:36325 <http://10.251.14.140:36325/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/help/, referer: 
http://10.1.1.75/admin

[Wed May 03 10:47:38.910394 2017] [access_compat:error] [pid 14727] [client 
10.251.14.140:36328 <http://10.251.14.140:36328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/jobs/, referer: 
http://10.1.1.75/admin

[Wed May 03 10:47:44.151292 2017] [access_compat:error] [pid 14727] [client 
10.251.14.140:36328 <http://10.251.14.140:36328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/jobs/, referer: 
http://10.1.1.75/jobs/

[Wed May 03 10:47:48.905561 2017] [access_compat:error] [pid 14727] [client 
10.251.14.140:36328 <http://10.251.14.140:36328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/jobs/, referer: 
http://10.1.1.75/jobs/

[Wed May 03 10:47:51.476263 2017] [access_compat:error] [pid 14727] [client 
10.251.14.140:36328 <http://10.251.14.140:36328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/help/, referer: 
http://10.1.1.75/jobs/

[Wed May 03 10:47:53.428483 2017] [access_compat:error] [pid 14727] [client 
10.251.14.140:36328 <http://10.251.14.140:36328/> ] AH01797: client denied by 
server configuration: proxy:http://10.1.1.75:631/help/, referer: 
http://10.1.1.75/help/



 

-- 

<<<<<<<<<<<<<<<<<<<--->>>>>>>>>>>>>>>>>>>

< Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao Pai, 
senão por mim >

 (João 14:6)


Att.
♪ ♫  Luiz Guilherme Nunes Fernandes  ♫ ♪

<<<<<<<<<<<<<<<<<<<--->>>>>>>>>>>>>>>>>>>



[users@httpd] Error in log, Idk problem

2017-05-03 Thread Luiz Guilherme Nunes Fernandes
Hi,
I have a problem and I do not know how to fix it,
Is problem with sub directories, I try redirect with cups. Although have
errors, I can navigate.

if i remove lines:
Order deny,allow
Deny from All

And i add no erros, and no have authentication with Active Directory
   Allow from all
   Order Deny,Allow

Attention: No erros in apache configure file, only erros in log.

My file configuration:


ProxyPreserveHost On
ProxyPass / http://10.1.1.75:631/
ProxyPassReverse / http://10.1.1.75:631/

   CacheEnable disk /
   CacheRoot /var/spool/httpd
   CacheDirLevels 5
   CacheDirLength 4
   CacheMinFileSize 1024
   CacheMaxFileSize 10485760
   CacheDefaultExpire 144000


Order deny,allow
Deny from All
# Allow from all
# Order Deny,Allow

AuthName "Informe usuario da rede LDAP"
AuthType Basic
AuthBasicProvider ldap
AuthLDAPUrl ldap://ldap/ou=ldap,dc=com,dc=br?sAMAccountName
AuthLDAPBindDN cn=UsrLDAP,cn=Users,ou=ldap,dc=com,dc=br
AuthLDAPBindPassword X
Require valid-user
Satisfy any





Error:
[Wed May 03 10:28:57.562769 2017] [access_compat:error] [pid 14722] [client
10.251.14.140:35328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/help/, referer: http://10.1.1.75/admin

[Wed May 03 10:47:38.214012 2017] [access_compat:error] [pid 14725] [client
10.251.14.140:36325] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/help/, referer: http://10.1.1.75/admin
[Wed May 03 10:47:38.910394 2017] [access_compat:error] [pid 14727] [client
10.251.14.140:36328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/jobs/, referer: http://10.1.1.75/admin
[Wed May 03 10:47:44.151292 2017] [access_compat:error] [pid 14727] [client
10.251.14.140:36328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/jobs/, referer: http://10.1.1.75/jobs/
[Wed May 03 10:47:48.905561 2017] [access_compat:error] [pid 14727] [client
10.251.14.140:36328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/jobs/, referer: http://10.1.1.75/jobs/
[Wed May 03 10:47:51.476263 2017] [access_compat:error] [pid 14727] [client
10.251.14.140:36328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/help/, referer: http://10.1.1.75/jobs/
[Wed May 03 10:47:53.428483 2017] [access_compat:error] [pid 14727] [client
10.251.14.140:36328] AH01797: client denied by server configuration: proxy:
http://10.1.1.75:631/help/, referer: http://10.1.1.75/help/


-- 
<<<--->>>

< Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
Pai, senão por mim >
 (João 14:6)

Att.
♪ ♫  Luiz Guilherme Nunes
Fernandes  ♫ ♪

<<<--->>>