[users@httpd] allow deny file and multiple .conf question
When controlling access to specific files via Allow/Deny, and not using or , and putting in different .conf files, does the order of the conf files matter? In other words … aaa-block.conf has … Order Deny,Allow Deny from All … zzz-block.conf has … Order Deny, Allow Deny from all Allow from your domain.com Would the .conf files similar to one above controlling access previous be negated by the last zzz-block.conf above? In other words “Allow from yourdomain.com" would apply to all the previous statements? Are the .conf files in the same directory loaded alphabetically by Apache? Thanks
RE: [users@httpd] SSL virtual Hosts
Hi Yehuda; I know for sure it’s reading the non ssl configuration files, because all they do is forward to the SSL URL and that works and it’s reading the ssl.conf file that I just append the virtual host definition at the end of the file. I’m going to try your suggestions see what I get… thanks for the suggestions! Carlos From: Yehuda Katz [mailto:yeh...@ymkatz.net] Sent: Friday, June 9, 2017 2:46 PM To: users@httpd.apache.org Subject: Re: [users@httpd] SSL virtual Hosts Are any errors shown in the httpd logs? Is httpd actually reading the files you create in the conf.d directory? I sometimes check that by putting gibberish in the config file and then running `httpd -t` to test the configuration. What is the actual Include directive in httpd.conf that includes the conf.d files? Does it require the filenames end with `.conf`? Does httpd have permission to read the new config files? Do you have selinux on and is it logging anything? You can always run `httpd -S` to see what virtual hosts httpd found and where they are in the config. - Y On Fri, Jun 9, 2017 at 2:30 PM, Carlos Cruz> wrote: I hope for my first question my questions isn’t too stupid but I haven’t been able to figured out my problem. My problem is I have about 10 virtual domains under the conf.d (Centos 6) directory with Apache HTTPD 2.2. SSL (only) virtual hosts don’t work if I used individual configuration files to define the virtual hosts. But all works as I understand it should work if I put all my SSL virtual hosts in 1 ssl.conf file in the same conf.d directory. can anyone tell me, or point me to the info, why multiple configuration files are not working for my SSL virtual hosts. 1 domain uses a wild card certificate The other domains use basic single domain certificates. Thx! Carlos
Re: [users@httpd] SSL virtual Hosts
Are any errors shown in the httpd logs? Is httpd actually reading the files you create in the conf.d directory? I sometimes check that by putting gibberish in the config file and then running `httpd -t` to test the configuration. What is the actual Include directive in httpd.conf that includes the conf.d files? Does it require the filenames end with `.conf`? Does httpd have permission to read the new config files? Do you have selinux on and is it logging anything? You can always run `httpd -S` to see what virtual hosts httpd found and where they are in the config. - Y On Fri, Jun 9, 2017 at 2:30 PM, Carlos Cruzwrote: > I hope for my first question my questions isn’t too stupid but I haven’t > been able to figured out my problem. My problem is I have about 10 virtual > domains under the conf.d (Centos 6) directory with Apache HTTPD 2.2. SSL > (only) virtual hosts don’t work if I used individual configuration files to > define the virtual hosts. But all works as I understand it should work if I > put all my SSL virtual hosts in 1 ssl.conf file in the same conf.d > directory. can anyone tell me, or point me to the info, why multiple > configuration files are not working for my SSL virtual hosts. > > > > 1 domain uses a wild card certificate > > The other domains use basic single domain certificates. > > > > Thx! > > Carlos > > > >
Re: [users@httpd] paypal/php apache2 integration problem
You should probably ask this on a Codeigniter help list or forum. This does not appear to be an issue with Apache HTTPD. - Y On Fri, Jun 9, 2017 at 1:54 PM, Paul Claridgewrote: > Hi Team, I have been battling this for several weeks now and am completely > stumped, so I am hoping for some inspiration! > > We are using standard ubuntu 14.02 lamp stack, but reverted back to php5. > > We use backlevel Codeigniter framework (v2). > > My latest task is to integrate Paypal Express checkout into our website. > After much research I have managed to code up units for a) getting a token, > b) creating a payment c) completing a payment (using server side > integration). I have pasted the recommended button code into one of our > views. > > I can successfully test each step from the command line. However, when I > create a simple controller and integrate my code into an extended > CI_Controller class nothing works. I also employ CI routing. I cannot even > get any error_log logging from my scripts. > > When I look at the Firefox debugging/console I see loads of stuff from > Paypal objects and in particular some reference to an HSTS header not being > parsed. > > So, the reason for this post is to sanity check what I am doing and to > see if anyone can see an obvous mistake in my approach. I admit to be > wallowing around in all this detail somewhat, but perhaps I have uncovered > a strange problem in Paypal world, although I tend to think that is > unlikely! > > The slight irony is we are only integrating (deliberately) the simplest PP > interface and I'm in a world of hurt, so any kind advice or direction would > be appreciated. > > Thanks, Paul > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
[users@httpd] SSL virtual Hosts
I hope for my first question my questions isn't too stupid but I haven't been able to figured out my problem. My problem is I have about 10 virtual domains under the conf.d (Centos 6) directory with Apache HTTPD 2.2. SSL (only) virtual hosts don't work if I used individual configuration files to define the virtual hosts. But all works as I understand it should work if I put all my SSL virtual hosts in 1 ssl.conf file in the same conf.d directory. can anyone tell me, or point me to the info, why multiple configuration files are not working for my SSL virtual hosts. 1 domain uses a wild card certificate The other domains use basic single domain certificates. Thx! Carlos
[users@httpd] paypal/php apache2 integration problem
Hi Team, I have been battling this for several weeks now and am completely stumped, so I am hoping for some inspiration! We are using standard ubuntu 14.02 lamp stack, but reverted back to php5. We use backlevel Codeigniter framework (v2). My latest task is to integrate Paypal Express checkout into our website. After much research I have managed to code up units for a) getting a token, b) creating a payment c) completing a payment (using server side integration). I have pasted the recommended button code into one of our views. I can successfully test each step from the command line. However, when I create a simple controller and integrate my code into an extended CI_Controller class nothing works. I also employ CI routing. I cannot even get any error_log logging from my scripts. When I look at the Firefox debugging/console I see loads of stuff from Paypal objects and in particular some reference to an HSTS header not being parsed. So, the reason for this post is to sanity check what I am doing and to see if anyone can see an obvous mistake in my approach. I admit to be wallowing around in all this detail somewhat, but perhaps I have uncovered a strange problem in Paypal world, although I tend to think that is unlikely! The slight irony is we are only integrating (deliberately) the simplest PP interface and I'm in a world of hurt, so any kind advice or direction would be appreciated. Thanks, Paul - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] if directive not being respected in Apache 2.4.6
While trying to set a conditional parameter for the OpenIDC apache module, it seems the directive is not being respected at run-time. For example: Define locale1 fr-FR Define locale1 en-UK OIDCAuthRequestParams locale=${locale1} The value of locale is set to en-UK. Have tried string match(i.e. -strmatch) with same results. Anyone successfully using the if directive in Apache 2.4 for a similar use-case? Thank You. This message has been marked as Medtronic Controlled [CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records. To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com
Re: [users@httpd] How does apache2.4 maintains php7.0 opcache in prefork model
Hi, 2017-06-09 17:42 GMT+02:00 Kalyana sundaram: > Does each apache2.4 child processes maintain their own opcache or is there > a global opcache shared by all children? > if you are talking about a prefork model with mod_php then I'd say that the opcache is one per children and not shared. Luca
[users@httpd] How does apache2.4 maintains php7.0 opcache in prefork model
Does each apache2.4 child processes maintain their own opcache or is there a global opcache shared by all children? -- Kalyanasundaram http://blogs.eskratch.com/ https://github.com/kalyanceg/