Re: [users@httpd] mod_authz_host partial IP addresses not effective

2018-09-26 Thread Alexandru Duzsardi
If i'm not mistaken this part refers to the ServerRoot not your defined DocumentRoot On 09/26/2018 01:29 PM, targontech wrote: Options Indexes FollowSymLinks MultiViews   AllowOverride All   Order deny,Allow   Deny from All   Allow from 1.126 1.127 119.18 120.22 203.168 192.168.1 Try    

Re: [users@httpd] AuthLDAPRemoteUserAttribute Directive in mixed mod_authnz_ldap Authn and Authz setup

2018-05-08 Thread Alexandru Duzsardi
I don't know if you can do exactly what you want but you could use the RequireAll directive so a user has to pass more than one requirement to be successfuly authenticated. On Wed, May 9, 2018, 04:54 Ling Ho wrote: > Hello, > > I am trying to get Kerberos Authentication and LDAP Authorization >

Re: [users@httpd] Apache2.4 forward proxy ssl between client and proxy server

2018-04-11 Thread Alexandru Duzsardi
If you want to proxy to google.com or any host , just leave out the stanza from the config I would recommend to start only with the absolutely necessary config and expand from there. That means that for a https forward proxy config you only need this vhost config + the required modules: mod_prox

Re: [users@httpd] Apache2.4 forward proxy ssl between client and proxy server

2018-04-10 Thread Alexandru Duzsardi
Just tested this setup , out of pure boredom and it works as expected (ubuntu 16.04) Proxy server modules needed to enable: ssl,proxy,proxy_connect Proxy Config (n1: virtualhost) ErrorLog error.log SSLEngine on SSLCertificateFile ssl/pr

Re: [users@httpd] Apache2.4 forward proxy ssl between client and proxy server

2018-04-10 Thread Alexandru Duzsardi
Have you tried curl --insecure -I -x ... ? since curl probably doesn't trust your ssl-cert On Tue, 2018-04-10 at 11:29 +0200, Stefan Eissing wrote: > Does your curl report any answer from the Apache or does it just lose > the connection? Try 'curl -v -D - ...' maybe for more details. > > > Am 1

RE: [users@httpd] ProxyPassMatch returns 404

2017-11-29 Thread Alexandru Duzsardi
Obviously that’s not the full configuration , and probably there is a conflicting setting somewhere, otherwise it would work From: Noor Mohammad [mailto:bakenoor...@gmail.com] Sent: Wednesday, November 29, 2017 9:30 PM To: users@httpd.apache.org Subject: [users@httpd] ProxyPassMatch returns 4

[users@httpd] Restrict access to site pages except specific url

2017-09-19 Thread Alexandru Duzsardi
Hi guys, I'm trying to configure apache 2.4 to allow access only to a specific set of pages when accessed through a hostname. So i have two virtualhosts configured , both pointing to the same physical path/site. Let's say www.mainsite.com and blog.mainsite.com . Th

RE: [users@httpd] Require local_subnet

2017-08-05 Thread Alexandru Duzsardi
I don't know if that's possible or a feature available in apache. You could however create a separate file that you can edit quickly to add your networks and just use it as a include file where you want it https://httpd.apache.org/docs/2.4/mod/core.html#include or may get fancy or complement with s

RE: [users@httpd] rpmbuild of httpd-2.4.27 is successful

2017-07-12 Thread Alexandru Duzsardi
Alternatively you can wait for a few days and probably the packages in this repository will be updated https://ius.io/Packages/ From: Luca Toscano [mailto:toscano.l...@gmail.com] Sent: Wednesday, July 12, 2017 12:41 PM To: users@httpd.apache.org Subject: Re: [users@httpd] rpmbuild of htt

Re: [users@httpd] Apache (2.4.26) changing permissions on passwd file?

2017-07-11 Thread Alexandru Duzsardi
how does the httpd process change the permissions of that file? does that before droping root privileges? if not what would it stop it to change any file permissions? On Tue, 11 Jul 2017 at 19:08, Eric Covener wrote: > On Tue, Jul 11, 2017 at 11:53 AM, Kevin Miles > wrote: > > On the face of i

RE: [users@httpd] Apache (2.4.26) changing permissions on passwd file?

2017-07-11 Thread Alexandru Duzsardi
I doubt it that apache is changing anything in a folder like /etc/stm/ Check your system crontabs or check where the changes might come from. Alternatively change the location of your file. -Original Message- From: Kevin Miles [mailto:ke...@delgaldo.co.uk] Sent: Tuesday, July 11, 2017 6:5

RE: [users@httpd] compiling apache on ubuntu

2017-05-24 Thread Alexandru Duzsardi
You need to install some development packages like build-essential , libssl-dev , zlib1g-dev and probably others too depending on what modules you want . -Original Message- From: Roberto Marzialetti [mailto:roberto.marziale...@gmail.com] Sent: Tuesday, May 23, 2017 9:45 PM To: user

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
ore. On Tue, May 23, 2017 at 8:30 PM, Daniel mailto:dferra...@gmail.com> > wrote: 2017-05-23 14:28 GMT+02:00 Alexandru Duzsardi mailto:alexandru.duzsa...@pitechnologies.ro> >: > That’s good , no mpm compiled in . > > What about httpd –M ? > It clearly says event

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
, Vel Regards, Velmurugan Dhakshnamoorthy (Vel) Singapore. On Tue, May 23, 2017 at 4:24 PM, Alexandru Duzsardi mailto:alexandru.duzsa...@pitechnologies.ro> > wrote: What is the output of httpd -l (that’s a lowercase -L) From: Luca Toscano [mailto:tos

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
. Compiled in modules: core.c mod_so.c http_core.c event.c Regards, Vel Regards, Velmurugan Dhakshnamoorthy (Vel) Singapore. On Tue, May 23, 2017 at 4:24 PM, Alexandru Duzsardi mailto:alexandru.duzsa...@pitechnologies.ro> > wrote: What is the output of ht

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
What is the output of httpd -l (that’s a lowercase -L) From: Luca Toscano [mailto:toscano.l...@gmail.com] Sent: Tuesday, May 23, 2017 11:12 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module Hi! Probably you have a

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 p

RE: [users@httpd] httpd 2.2.15-59 Reverse Proxy " proxy: Error reading from remote server returned by /"

2017-04-13 Thread Alexandru Duzsardi
What happens if you try to access http://10.0.0.130/ from your dektop computer inside the LAN Type it exactly like that with a / (slash) at the end. If you can access it , check if your proxy has access to your printer’s IP maybe a firewall or something is in the way. From: da...@di.ubi.

RE: [users@httpd] Configuring redirects httpd behind a TLS-terminating proxy

2017-01-23 Thread Alexandru Duzsardi
Try this in your non-ssl virtualhost RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} More about mod_ssl variables http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#envvars -Original Message- From: Christopher Schultz [mailto:ch...@christophe

RE: [users@httpd] apachectl fullstatus for multiple instance of httpd

2016-12-05 Thread Alexandru Duzsardi
What do you mean by two httpd instance ? From: Bertrand Lods [mailto:bertrand.l...@ac-caen.fr] Sent: Monday, December 5, 2016 12:58 PM To: users@httpd.apache.org Subject: [users@httpd] apachectl fullstatus for multiple instance of httpd Hi My System : CentOS Linux release 7.2.1511

RE: [users@httpd] ProxyPass not working?

2016-11-25 Thread Alexandru Duzsardi
t:8080/lophyda.com ProxyPassReverse / http://localhost:8080/lophyda.com LogLevel warn On Fri, Nov 25, 2016 at 8:44 AM, Alexandru Duzsardi mailto:alexandru.duzsa...@pitechnologies.ro> > wrote: ProxyPreserveHost is kind of useless in your case Take a look at https://httpd

RE: [users@httpd] ProxyPass not working?

2016-11-25 Thread Alexandru Duzsardi
ProxyPreserveHost is kind of useless in your case Take a look at https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass This should work ServerName lophyda.com ProxyPass / http://localhost:8080/lophyda.com ProxyPassReverse / http://localh

RE: [users@httpd] How does this configuration work?

2016-11-03 Thread Alexandru Duzsardi
Usually /var/run and /run are symlinks one of the other so that makes /var/rum/php7.0-fpm.sock and /run/php7.0-fpm.sock the same unix domain socket From: Jason Brooks [mailto:jason.bro...@eroi.com] Sent: Thursday, November 3, 2016 9:07 PM To: users@httpd.apache.org Subject: [users@httpd] Ho

RE: [users@httpd] Install and Configure Apache on Windows Server

2016-11-03 Thread Alexandru Duzsardi
Hi , I think is a good starting point http://httpd.apache.org/docs/2.4/platform/windows.html It's pretty straight forward , download the installer from one of those links http://httpd.apache.org/docs/2.4/platform/windows.html#down Install like any other software Install the windows serveric

RE: [users@httpd] apache 2.2 - mod_authnz_ldap with SSL/TLS in chrootdir

2016-11-03 Thread Alexandru Duzsardi
I think this might be a bug , i’ve also tested , even copied almost all the system files in the chrootdir but dint’ change anything. TLS or SSL doesn’t work but LDAP unencrypted does. [Thu Nov 03 12:10:11.362994 2016] [core:trace3] [pid 3652] request.c(119): [client 10.0.1.110:58424]

RE: [users@httpd] HTTPD asking for password after power failure

2016-07-30 Thread Alexandru Duzsardi
Maybe check out how https://software.opensuse.org/package/haveged is configured if installed on your system Also http://www.onkarjoshi.com/blog/191/device-dev-random-vs-urandom/ From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Sent: Saturday, July 30, 2016 6:05 AM To: users@http

RE: [users@httpd] How to debug the PHP component of Apache2

2016-04-10 Thread Alexandru Duzsardi
Hi , I don't think you understand exactly how php works First of all , it doesn't compile anything , it's interpreting your script and outputs HTML. Second , from your description of the problem it looks like you misconfigured something or your scripts are badly written , in any case you need t

RE: [users@httpd] Rewrite domain to language specific page but no address bar redirection

2016-03-29 Thread Alexandru Duzsardi
ddress bar redirection did you check the flag [PT] for RewriteRule? Christian On Fri, Mar 25, 2016 at 04:27:46PM +0200, Alexandru Duzsardi wrote: > I tested a bit more , and unfortunately it breaks somewhere Probably I > should have mentioned that the path’s after ….hostname.com/ a

RE: [users@httpd] Rewrite domain to language specific page but no address bar redirection

2016-03-25 Thread Alexandru Duzsardi
ewriteCond %{HTTP_HOST} ^lang-fr\.hostname\.com$ [NC] RewriteRule ^(.*)$ - [L] # fr-lang } Repeat for each language (probably it's possible to make a single rule set for all languages, but I didn't try it). -- With Best Regards, Marat Khalili On 25/03/16 11:13, Alexandru Duzsardi wrote

RE: [users@httpd] Rewrite domain to language specific page but no address bar redirection

2016-03-25 Thread Alexandru Duzsardi
h language (probably it's possible to make a single rule set for all languages, but I didn't try it). -- With Best Regards, Marat Khalili On 25/03/16 11:13, Alexandru Duzsardi wrote: Hello, I’ve search around on search engines but I could not find any answers that solve

[users@httpd] Rewrite domain to language specific page but no address bar redirection

2016-03-25 Thread Alexandru Duzsardi
things but always get to many redirects or some other error and can't figure it out why is that happening , but if I had to guess is because I'm using RewriteCond correctly. Thank you in advance! Cu stima, Kind regards, Alexandru Duzsardi System Administrator