Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 5:31 AM Abhijith wrote: > Thanks I understand. But can you suggest any debugging method to find out > which file is requesting the file > > On Wed, 9 Oct 2024, 10:37 Frank Gingras, wrote: > >> >> >> On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: >> >>> Yes, I understand

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-09 Thread Abhijith
Thanks I understand. But can you suggest any debugging method to find out which file is requesting the file On Wed, 9 Oct 2024, 10:37 Frank Gingras, wrote: > > > On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: > >> Yes, I understand that now. That I shouldn't allow clients to access my >> .htt

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-08 Thread Frank Gingras
On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: > Yes, I understand that now. That I shouldn't allow clients to access my > .httaccess file. I don't know why the error occuring > > On Tue, 8 Oct 2024, 17:47 Frank Gingras, wrote: > >> >> >> On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, >> wrote: >

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-08 Thread Abhijith
Yes, I understand that now. That I shouldn't allow clients to access my .httaccess file. I don't know why the error occuring On Tue, 8 Oct 2024, 17:47 Frank Gingras, wrote: > > > On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, wrote: > >> Hi, >> Yes, In the the root directory there is .htaccess fil

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-08 Thread Frank Gingras
On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, wrote: > Hi, > Yes, In the the root directory there is .htaccess file, the content of the > file is > ``` > RewriteEngine on > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond $1 !^(index\.php|robots\.txt|favicon\.i

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Hi, Yes, In the the root directory there is .htaccess file, the content of the file is ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] ``` Since by @Eric's sugge

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Frank Gingras
On Mon, Oct 7, 2024 at 7:51 AM Eric Covener wrote: > On Mon, Oct 7, 2024 at 7:12 AM Eric Covener wrote: > > > > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid > 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by > server configuration: > /usr/local/apache

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
On Mon, Oct 7, 2024 at 7:12 AM Eric Covener wrote: > > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid > >> 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by > >> server configuration: > >> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess > > T

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Thanks for the response, There is no other config file than admin.conf. here is the result of `apachectl -S`: ``` [Mon Oct 07 11:30:45.926201 2024] [core:trace3] [pid 102:tid 123653751024456] core.c(3469): Setting LogLevel for all modules to trace8 [Mon Oct 07 11:30:45.926287 2024] [core:trace3] [p

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
>> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid >> 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by >> server configuration: >> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess This error means it's not filesystem permissions. Are there other

[users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Hi all, I’m working on Dockerizing a PHP application and configuring Apache, but I’m encountering an issue related to `.htaccess` that I can’t seem to resolve. I’d greatly appreciate any guidance from the community! Here’s the setup I’m working with: *Docker Compose File (docker-compose.yml):*

[users@httpd] help pointers -- ubuntu apache for subdir apps

2023-11-10 Thread bruce
Hi. Have a couple of test apps that I want to setup and run as "subdir" apps. ie http://1.2.3.4/app1 http://1.2.3.4/app2 the dir tree example would be /var/www/html/app1 /var/www/html/app2 app1 would be a "laravel/php" app2 would be a nodejs/npm app... I have no clue as to how to implement the

Re: [users@httpd] Help with mod_rewrite

2023-05-09 Thread Marc Serra
For your information, seems now works adding this rules as the first rules ... RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/(gb|es|ca|fr)/ [NC] RewriteRule . / [R,L] Missatge de Frank Gingras del dia dj., 20 d’abr. 2023 a les 16:12: > >

Re: [users@httpd] Help with mod_rewrite

2023-04-20 Thread Frank Gingras
The best way to tackle this complex set of rules is to use your development server, clone the directives, comment out everything and uncomment a few rules at a time. While you do this, see if you still have a loop (test with curl, not a browser), examine the log entries, and then uncomment another

Re: [users@httpd] Help with mod_rewrite

2023-04-19 Thread Frank Gingras
I would start with the rewrite log in your development environment, if you can't change the configuration on the live server. I would also look to replace this entire mess with a FallbackResource directive. On Tue, Apr 18, 2023 at 6:32 AM Marc Serra wrote: > Hi, > > A few weeks ago we renewed o

[users@httpd] Help with mod_rewrite

2023-04-18 Thread Marc Serra
Hi, A few weeks ago we renewed our prestashop website. One of the new features is the support for multiple languages. A typical home URL are... https://www.domain.tld/gb/ for english https://www.domain.tld/es/ for spanish etc. A typical product URL are... https://www.domain.tld/gb/PRODUCT_CATEG

Re: [users@httpd] Help check my config for server section

2022-11-11 Thread support
I finally use this config: ServerAdmin webmaster@localhost ServerName mail.openmbox.net DocumentRoot /var/www/snappy ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Options None AllowOverride None Requ

Re: [users@httpd] Help check my config for server section

2022-11-11 Thread Frank Gingras
That config snippet has no effect on php; that being said, you many two issues so far: 1) You don't need to use mod_rewrite to redirect, mod_alias with Redirect suffices 2) You do not want to mix 2.2 and 2.4 authz directives. Remove the 2.2 directives, and unload the mod_access_compat module On F

[users@httpd] Help check my config for server section

2022-11-11 Thread support
I think I need to read httpd's doc carefully. Before doing that can you help check my this config (for php primarily) are going without issue? Thanks in advance. root@mail:/etc/apache2/sites-enabled# cat webmail.conf |grep -v '#' ServerAdmin webmaster@localhost ServerName mail.

Re: [users@httpd] Help for rewritting without change The URL into browser

2022-04-06 Thread Eric Covener
On Wed, Apr 6, 2022 at 2:21 PM Aitor Iturriondobeitia wrote: > > I have to rewrite addresses and I can't, see if you can help me. > I have an apache, which calls me with this type of address > http://www.domain.com/food-helps > This internally has to be returned to me by a jboss with, let's say, t

[users@httpd] Help for rewritting without change The URL into browser

2022-04-06 Thread Aitor Iturriondobeitia
I have to rewrite addresses and I can't, see if you can help me. I have an apache, which calls me with this type of address http://www.domain.com/food-helps This internally has to be returned to me by a jboss with, let's say, this url: http://www.domain.com/32HELP the problem is that with this: Rew

Re: [users@httpd] Help Gor básico ( :-) ) rewrite

2022-04-03 Thread Frank Gingras
You do not need a RewriteCond here, the RewriteRule directive is perfectly capable of capturing the request uri path. If you don't want the URL to change, then perhaps you should use AliasMatch instead of mod_rewrite. If you want to change the URL, use RedirectMatch instead. Using mod_rewrite sho

Re: [users@httpd] Help Gor básico ( :-) ) rewrite

2022-04-03 Thread Jim Albert
On 4/3/2022 12:34 PM, Aitor Iturriondobeitia wrote: Hello, I'm new to this topic and I'm finding it difficult. Let's see if you can help me please. I am trying to remove the contextroot from my application. For example, I have the following URL that calls me: www.domain.com/REDF00K/form.xhtml <

[users@httpd] Help Gor básico ( :-) ) rewrite

2022-04-03 Thread Aitor Iturriondobeitia
Hello, I'm new to this topic and I'm finding it difficult. Let's see if you can help me please. I am trying to remove the contextroot from my application. For example, I have the following URL that calls me: www.domain.com/REDF00K/form.xhtml and I want to eliminate, in the rewrite, the REDF00K leav

Re: [users@httpd] help with reverse proxy

2021-10-06 Thread Matt Zagrabelny
On Wed, Oct 6, 2021 at 3:18 PM Nick Kew wrote: > > > Sort of. Chromium is now working, but FF is still reporting the > > "Content Encoding" issue. > > Have you cleared FF's cache? Well Not explicitly. I did use ++R, which I was under the impression that that did a full reload and ignored cac

Re: [users@httpd] help with reverse proxy

2021-10-06 Thread Nick Kew
> On 5 Oct 2021, at 22:43, Matt Zagrabelny wrote: > > GET /polaris/ HTTP/1.1 > Accept-Encoding: gzip, deflate > HTTP/1.1 200 OK > content-encoding: gzip OK, that looks like it should be fine for the browser and server. It looks like you're dealing with compressed data. If the proxy is to re

Re: [users@httpd] help with reverse proxy

2021-10-05 Thread Matt Zagrabelny
Hi Nick, Thanks for the reply! On Tue, Oct 5, 2021 at 3:02 PM Nick Kew wrote: > > > > > On 5 Oct 2021, at 16:39, Matt Zagrabelny wrote: > > > > I am trying to configure a reverse proxy and am following the config file: > > What you've described looks basically OK (the complexity may or may not

Re: [users@httpd] help with reverse proxy

2021-10-05 Thread Nick Kew
> On 5 Oct 2021, at 16:39, Matt Zagrabelny wrote: > > I am trying to configure a reverse proxy and am following the config file: What you've described looks basically OK (the complexity may or may not be necessary). The debug output from your log doesn't obviously indicate a problem. > """

[users@httpd] help with reverse proxy

2021-10-05 Thread Matt Zagrabelny
Greetings, Running: dpkg -l apache2 | grep ii ii apache22.4.48-3.1+deb11u1 amd64Apache HTTP Server I am trying to configure a reverse proxy and am following the config file: /etc/apache2/mods-available/proxy_html.conf and the website: http://www.apachetutor.org/admin/reversepr

[users@httpd] Help

2021-04-23 Thread Fabio Aragao
Dears, good morning,We have an Apache2 service installed on an Ubuntu 18.04 serveryesterday the Apache2 service was consuming too much memory to the point of crashing the server, I was unable to determine the reason, but in monitoring the HTOP, it was seen that the "villain" would be apache, and

Re: [users@httpd] Help: Building httpd from source with specific (different then system default) OpenSSL

2021-04-07 Thread Shariful Alam
Hello Yann, Thanks for the reply. Following is the output of *ldd mod_ssl.so, * still the same. No sign of OpenSSL library. root@xxx:/etc/apache2/modules# ldd mod_ssl.so linux-vdso.so.1 => (0x7fffce1c5000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x7fec51b11000) libcrypt

Re: [users@httpd] Help: Building httpd from source with specific (different then system default) OpenSSL

2021-04-07 Thread Yann Ylavic
Hello, On Wed, Apr 7, 2021 at 10:30 AM Shariful Alam wrote: > > root@:/etc/apache2/bin# ldd httpd > linux-vdso.so.1 => (0x7fffe4df9000) > libpcre.so.1 => /usr/local/pcre/lib/libpcre.so.1 (0x7ff2ad391000) > libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0 (0x7ff2ad16b000)

[users@httpd] Help: Building httpd from source with specific (different then system default) OpenSSL

2021-04-07 Thread Shariful Alam
Hello, I'm trying to install httpd from the source code. I have also install OpenSSL 1.1.1c from source code and I want httpd to use this OpenSSL library. However, while installing httpd, even mentioning httpd to configuring with my newly installed OpenSSL seems not working. Seeking advice from exp

[users@httpd] Re: [PUB][users@httpd] Help building APR from source

2020-01-31 Thread Lucien Gentis
Effectively, for me, all your messages are considered as spam by thunderbird. Probably because your sender address is robert_snak...@rapid7.com.INVALID About the subject : What are  : --- your system --- apr version Did you simply try this command : /configure --prefix= (without '`' q

[users@httpd] Help building APR from source

2020-01-30 Thread Robert Snakard
Hey mailing list, I've got a problem building APR from source. `./buildconf` works great, It copies libtool helper files, creates apr_private.h, even uses Python to generate build-outputs.mk. Then when I run `./configure --prefix=` I get an error configure: creating ./config.status .in'ig.st

Re: [users@httpd] Help: Apache crashed once Concurrent Users reached 150

2019-12-09 Thread Anil Kumar P
Looking at your config you have configured for 500 concurrent users but it will be increased based on your load. During startup if you want to support more, then increase the start servers value the default is 3 i guess. As for the mpm you can only load one at any point in time. Anyone please

Re: [users@httpd] Help: Apache crashed once Concurrent Users reached 150

2019-12-08 Thread Jayaram Ponnusamy
Thanks for your Valuable Comments: These configuration made by some consultant. We are in the situation to correct all the things to make it for high availability. we are in the process of upgrading the apache to 2.4.25 with mod_jk/1.2.42. And Event MPM instead of Prefork. Please let me know wh

Re: [users@httpd] Help: Apache crashed once Concurrent Users reached 150

2019-12-05 Thread Daniel Ferradal
As a side note there are also many wrong choices regarding configuration. Using deprecated 2.2.x directives like Order, Allow,Deny,Satisfy . Using this is very wrong: <--- this is the / in your filesystem, not the documentroot Options FollowSymLinks AllowOverride All <-- always

Re: [users@httpd] Help: Apache crashed once Concurrent Users reached 150

2019-12-05 Thread Anil Kumar P
A quick look at your config tells me you are using prefork mpm instead you should be using event mpm which provides better concurrent access boost. Please look at the apache mpm documentation for more details. Thanks, Anil > On Dec 5, 2019, at 2:13 AM, Jayaram Ponnusamy > wrote: > >  > Hell

[users@httpd] Help: Apache crashed once Concurrent Users reached 150

2019-12-05 Thread Jayaram Ponnusamy
Hello, We are using apache 2.2.21 on RHEL6.9 and in Backend we are using Tomcat AppServer with JavaBased CMS. Our Server Architecture is *(F5 [For Load Balance] -> Apache WebServer [For Redirection & URL Mapping] -> Tomcat AppServer [Running a Java Based CMS]).* We are using Apache to connect Tom

[users@httpd] Help configure a Reverse proxy with Substitute

2019-03-15 Thread Flaviu Radulescu
Dear community, I need an advice on how to configure a reverse proxy in which I need to replace the tag from the response html with an ENV variable defined previously. How do you recommend me to do this? I tried with substitute, but unfortunately doesn't seem to support variables. The variabl

RE: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Kathy S Durlacher
tificate'. Unable to establish SSL connection. -Original Message- From: Eric Covener Sent: Tuesday, December 11, 2018 2:57 PM To: users@httpd.apache.org Subject: Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL On Tue, Dec 11, 2018 at

Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Eric Covener
ply in a pastebin: https://hastebin.com/carinejiza.rb > > -Original Message- > From: Eric Covener > Sent: Tuesday, December 11, 2018 2:38 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating > Test HTTP Server wit

RE: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Kathy S Durlacher
@httpd.apache.org Subject: Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL On Tue, Dec 11, 2018 at 2:28 PM Kathy S Durlacher wrote: > > Wget downloaded and executed, and I'm receiving the following which looks to > point to a possible pr

Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Eric Covener
On Tue, Dec 11, 2018 at 2:28 PM Kathy S Durlacher wrote: > > Wget downloaded and executed, and I'm receiving the following which looks to > point to a possible problem with the recode of the uri to get to test SSL > port 444: > > wget -r http://choiceportal-d:8084 > SYSTEM_WGETRC = c:/progra~1/w

RE: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Kathy S Durlacher
https://choiceportal-d:8084%:444{REQUEST_URI}: Bad port number. -Original Message- From: Eric Covener Sent: Tuesday, December 11, 2018 11:31 AM To: users@httpd.apache.org Subject: Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL On Tue, Dec 11,

Re: [users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Eric Covener
On Tue, Dec 11, 2018 at 11:28 AM Kathy S Durlacher wrote: > > Yes, these non-standard ports are defined: > Listen *:8084 > #Listen *:80 > Listen *:444 > #Listen *:443 I'd suggest debugging with a commnand-line client like wget or curl rather than a browser. The former will give you more concrete

[users@httpd] RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Kathy S Durlacher
Yes, these non-standard ports are defined: Listen *:8084 #Listen *:80 Listen *:444 #Listen *:443 -Original Message- From: Eric Covener Sent: Tuesday, December 11, 2018 11:12 AM To: users@httpd.apache.org Subject: [EXTERNAL] Re: [users@httpd] Help

Re: [users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Eric Covener
> How defined in test version 9 using 8084 & SSL 444 > > Did you add `Listen` directives for these non-standard ports? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@htt

[users@httpd] Help Creating Test HTTP Server with SSL

2018-12-11 Thread Kathy S Durlacher
Looking to create a test IBM HTTP Server on z/OS to convert from version 8.5 to version 9. Until the upgrade takes place, I need to keep the current environment active for users, so starting another HTTP server using different ports in place of the port 80 and SSL port 443. Test HTTP server is

Re: [users@httpd] Help with SSL not working on Ubuntu 14.04

2018-08-08 Thread Travis Johnston
Thanks Yehuda! That change to the ports.conf file was a suggestion from a different forum I tried when I was troubleshooting. I ended up removing all of that and just using Listen 80 and Listen 443 https. Glad to know it would of caused more harm than good if I left it. Thanks, *Travis Johnston,

Re: [users@httpd] Help with SSL not working on Ubuntu 14.04

2018-08-08 Thread Yehuda Katz
Hi Travis, I see you mentioned on StackOverflow that your question is resolved (extra virtual hosts in the configuration meant you weren't reaching to correct host). One recommendation based on the config you posted there: Don't use if it is critical to you that your site is available over ssl (o

Re: [users@httpd] Help with SSL not working on Ubuntu 14.04

2018-08-08 Thread Eric Ngo
Hi Can someone point me to a site where I download the windows installer (.msi) for the Apache HTTP Server version 2.4.34? I am new at this. Thanks a bunch! On Wed, Aug 8, 2018 at 2:20 PM, Travis Johnston wrote: > Hello, > > This is my first post to the group so testing the waters with an issue

[users@httpd] Help with SSL not working on Ubuntu 14.04

2018-08-08 Thread Travis Johnston
Hello, This is my first post to the group so testing the waters with an issue that I am having. I run 4 Ubuntu servers, each controlled with Webmin and Virtualmin. I am adding SSL to one of the sites but every time I visit the https://www.domain.org it gives me either one of the errors. Chrome: E

[users@httpd] Help needed on Apache http server setting

2018-05-20 Thread Sudhakar Ganesan
Hi All, We are using HTTP server to route the request to Winchill PLM. There is a requirement to force the user to change the password once the login first time into the PLM. In order to achieve this, PTC ( Winchill PLM Vendor) posted a note stating that this can be done through Apache setting.

Re: [users@httpd] Help regarding Listen directive

2018-05-18 Thread Frank Gingras
You cannot use the Listen directive twice on the same IP:PORT combo. Remove the duplicate and it will work. On Fri, May 18, 2018 at 2:11 AM salil GK wrote: > Hello > >I have tried to upgrade my http from version 2.4.25 to 2.4.33 but > encountered an issue with configuration file. In my confi

[users@httpd] Help regarding Listen directive

2018-05-17 Thread salil GK
Hello I have tried to upgrade my http from version 2.4.25 to 2.4.33 but encountered an issue with configuration file. In my configuration file I have 'Listen port' directive is repeated ( configuration files are created dynamically by application logic ). in 2.4.25 apache read the directive wis

Re: [users@httpd] Help with ProxyPass and ProxyPassReverse

2018-02-08 Thread John Iliffe
Please ignore this post. I knew I was looking at it and not seeing it and the act of sending the help request made me look again. Fixed now. Sorry for the noise. John === On Thursday 08 February 2018 20:31:45 John Iliffe wrote: > I have a HTTP mail client runnin

[users@httpd] Help with ProxyPass and ProxyPassReverse

2018-02-08 Thread John Iliffe
I have a HTTP mail client running on port 7080 on the server that must be proxied through Apache. Using a workstation, I can enter: http://192.168.1.7:7080/mail.html and it brings up the mail client correctly. I tried to use ProxyPass/ProxyPassReverse to move the mail client to run on port

Re: [users@httpd] Help: Vhost default whit other IP.

2018-02-03 Thread Frank Gingras
First step to troubleshoot vhosts is to run the apachectl -S command. It'll expose your current vhost configuration. For name-based vhosts, you always want to specify the port, and avoid IP:PORT unless you know exactly what you're doing. When in doubt, define all vhosts as *:PORT, and make sure th

[users@httpd] Help: Vhost default whit other IP.

2018-02-03 Thread Rodrigo Cunha
Hi, i've http(apache2) in debinan 8 and my setup a second vhost( www.hostB.com) with ip: 192.168.1.51:8000 but my default host in apache is www.hostA.com. My apache with received request from browser in 192.168.1.51:8000, redirect my request for www.hostA.com I need help []'s -- Atenciosamente, R

[users@httpd] Help needed on using python script from Apache Rewrite configuration

2017-05-17 Thread Debananda Pal -X (debanapa - WIPRO LIMITED at Cisco)
Hi, I have Server version: Apache/2.2.31 (Unix) and trying to pass few arguments from Apache rewrite conf file to Python (version 2.6) script. Also, I want to process the python output in rewrite configuration file. Please let me know, how can I pass variables to python script and retrieve the

Re: [users@httpd] Help: Apache Crashing Everyday

2017-04-20 Thread Luca Toscano
Hi! 2017-04-19 8:41 GMT+02:00 Jayaram Ponnusamy : > Hi Luca, > > Thanks for the details. > 1. our server's ulimit values are: > ]$ ulimit -a > max user processes (-u) 1024 > > Please let me know whether the values are sufficient to allow at least 500 > concurrent connections. > To b

Re: [users@httpd] Help: Apache Crashing Everyday

2017-04-18 Thread Jayaram Ponnusamy
Hi Luca, Thanks for the details. 1. our server's ulimit values are: ]$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 63714 ma

Re: [users@httpd] Help: Apache Crashing Everyday

2017-04-18 Thread Luca Toscano
Hi, Some suggestions: 1) check your RHEL ulimits applied to httpd, the error message "Resource temporarily unavailable: setuid: unable to change to uid" could be related to maximum number of processes (allowed by the OS) reached. This should allow you to spawn more httpd processes. 2) Have you c

[users@httpd] Help: Apache Crashing Everyday

2017-04-16 Thread Jayaram Ponnusamy
Dear All, We were runnig our site in PHP based CMS tool earlier, and normally 20-30K users will access our sites daily. But in new system with Tomcat, we are facing performance and availability issue frequently, when i access the tomcat url directly the page is loading within 3seconds, but if we a

Re: [users@httpd] Help with conditional ProxyPassMatch

2017-04-13 Thread Gryzli Bugbear
Thanks for your answer Luca ! The problem is that, I need this to work under Apache 2.2(also), and "if" seems to be available only on 2.4+. I have done some dirty work around, which seems to do the job: == http://1.1.1.1/";> ProxySet connectiontimeout=60 timeout=30 Rewrite

Re: [users@httpd] Help with conditional ProxyPassMatch

2017-04-13 Thread Luca Toscano
Hi! 2017-04-12 20:42 GMT+02:00 Gryzli Bugbear : > Hi to all, > > I want to make conditional forward proxy within Apache ,based on request > header if a given request header exists, I want to proxy the request, if > not, not proxy > and also I need to do this NOT with RewriteRule and [P] flags. >

[users@httpd] Help with conditional ProxyPassMatch

2017-04-12 Thread Gryzli Bugbear
Hi to all, I want to make conditional forward proxy within Apache ,based on request header if a given request header exists, I want to proxy the request, if not, not proxy and also I need to do this NOT with RewriteRule and [P] flags. I can't find how to define conditional proxying based on s

Re: [users@httpd] Help with rewriterule

2017-03-07 Thread Luca Toscano
2017-03-06 19:15 GMT+01:00 Robert Moskowitz : > Luca, > > Thank you for replying. > > On 03/06/2017 04:07 AM, Luca Toscano wrote: > > Hi Robert, > > 2017-03-05 21:57 GMT+01:00 Robert Moskowitz : > >> Hello, >> >> This is for Apache 2.4 on Centos7. I am migrating from Apache 2.2 on >> Centos6. >>

Re: [users@httpd] Help with rewriterule

2017-03-06 Thread Robert Moskowitz
Luca, Thank you for replying. On 03/06/2017 04:07 AM, Luca Toscano wrote: Hi Robert, 2017-03-05 21:57 GMT+01:00 Robert Moskowitz >: Hello, This is for Apache 2.4 on Centos7. I am migrating from Apache 2.2 on Centos6. I want to support redirecti

Re: [users@httpd] Help with rewriterule

2017-03-06 Thread Luca Toscano
Hi Robert, 2017-03-05 21:57 GMT+01:00 Robert Moskowitz : > Hello, > > This is for Apache 2.4 on Centos7. I am migrating from Apache 2.2 on > Centos6. > > I want to support redirecting all webmail queries to https. for either > queries to: > > webmail.foo.com or foo.com/webmail > > My old rules

[users@httpd] Help with rewriterule

2017-03-05 Thread Robert Moskowitz
Hello, This is for Apache 2.4 on Centos7. I am migrating from Apache 2.2 on Centos6. I want to support redirecting all webmail queries to https. for either queries to: webmail.foo.com or foo.com/webmail My old rules were: ServerName webmail.htt-consult.com ServerAlias webmail

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-07 Thread Spork Schivago
I'm using EA4. I'll look into the include files, but if they're what I think they are, I had an extremely difficult time getting them to work properly last time. I couldn't find a way to redirect all traffic going to port 80 to port 443 globally using the Apache configuration file. I had to us

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-07 Thread Yehuda Katz
If you want to modify the cPanel-generated configuration, look at custom config: If you are using EA4: https://documentation.cpanel.net/display/EA4/Modify+Apache+Virtual+Hosts+with+Include+Files EA3 has a similar feature, but I can't find the documentation right now. - Y On Tue, Feb 7, 2017 at 4

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-07 Thread Spork Schivago
Thank you. I have tried running curl -4 http://www.jetbbs.com/.well-known/test.html and curl -6 http://www.jetbbs.com/.well-known/test.html I'm posting a copy of the httpd -S output. httpd -S VirtualHost configuration: 45.33.78.219:80is a NameVirtualHost default serv

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
The next thing that comes to mind is your IPv6 virtual host. None of my webservers currently have IPv6 enabled, so I can't test this. Try to force the connection to use IPv4 or IPv6 and see if that makes a difference. You can try running httpd -S on the webserver to get a list of virtual hosts by

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Spork Schivago
Okay. I've been able to reproduce the results. I removed the two ServerAlias www.jetbbs.com entries (one for port 80 and the other for port 443). To prevent confusion, I'll tell my hostnames. Eugene: My local machine that I use to surf the internet Franklin: My VPS that runs Apache. on Fran

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
If you want to provide your whole config file, I suggest creating a gist or pastebin post. You should also just run dig or host on the domain name from both machines and make sure you get the same results. - Y On Sun, Feb 5, 2017 at 8:25 PM, Spork Schivago wrote: > So you don't think it's a bug

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Spork Schivago
So you don't think it's a bug in Apache? Okay. I only have two IP addresses. One is an IPv4 IP address, one is an IPv6 IP address. When I get some more time, I'll try some experimenting and see if I can duplicate the issue. If it's okay with the mailing list, I'd like to provide a copy of

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
This is a common enough setup that it is unlikely to be a bug and more likely to be a configuration error. cPanel creates VirtualHosts using the IP address of the server. For example, I have a cPanel server running behind NAT, so there are two default virtual hosts: > > ServerName 192.168.11

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Spork Schivago
Yehuda, Could you please explain what you mean in a little more detail? I only have one server running Apache and I only have that one DNS server. I don't really see how my DNS server could be setup in such away where it affects Apache's DocumentRoot's directive... When I was logged into the

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
Did you check your DNS to make sure both systems are resolving to the same IP address? - Y On Thu, Jan 26, 2017 at 3:31 PM, Spork Schivago wrote: > I have a bit of a weird problem that I'd like some help tracking down. > I'm pretty sure it's something with Apache. In my Apache 2.4.25 (cPanel)

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Erik Dobák
according to http://www.suphp.org/DocumentationView.html?file=apache/INSTALL suphp is real bullshit.

[users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-01-26 Thread Spork Schivago
I have a bit of a weird problem that I'd like some help tracking down. I'm pretty sure it's something with Apache. In my Apache 2.4.25 (cPanel) config file, I have the ServerAliases disabled. There's a "catch-all" entry for unbound IPs, that look like this: ServerName myhostname.mydomain.

Re: [users@httpd] Help on Mapping Local Directory for URL

2016-11-13 Thread Eric Covener
On Sun, Nov 13, 2016 at 4:49 AM, Jayaram Ponnusamy wrote: > Currently if any requests come it will goes to Tomcat Server only. You need to amend the configuration to not pass all requests to tomcat. What did you try? -- Eric Covener cove...@gmail.com --

[users@httpd] Help on Mapping Local Directory for URL

2016-11-13 Thread Jayaram Ponnusamy
Dear All, We are using Java Based CMS with Tomcat (Application Server) & Apache HTTP for WebServer. When the User hit the URL, the request will flow blow below: F5->WebServer->Tomcat->CMS & DataBase. All Static Files are stored under shared filesystem: /opt/apps/shared/cms/docroot and mounted on

[users@httpd] help on mod_cache to Enable cache

2016-11-07 Thread Jayaram Ponnusamy
Dear All, We are using Apache with Tomcat (CMS) using mod_jk, also we are using mod_cache to caching contents. But some reason, we are facing extreme slowness on our site after enabled mod_cache module. I could see below entries in http_errors.log continously stating that mod_cache.c(635): cache:

RE: [users@httpd] Help needed on READ error in Apache

2016-10-18 Thread Muduli, Chittaranjan
e consider the environment before printing this e-mail. -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: 15 October 2016 10:10 To: users@httpd.apache.org Subject: Re: [users@httpd] Help needed on READ error in Apache Hi, On Sat, Oct 15, 2016 at 9:56

Re: [users@httpd] Help needed on READ error in Apache

2016-10-15 Thread Yann Ylavic
Hi, On Sat, Oct 15, 2016 at 9:56 AM, Muduli, Chittaranjan wrote: > > got exception 'READ_ERROR_FROM_FILE [os error=0, line 144 of ap_proxy.cpp]: > Cannot read 0 bytes of postData from tmp file > '/tmp/domain1/_wl_proxy/_post_9995_100'', > > can someone suggest how to deal with this ? This has

[users@httpd] Help needed on READ error in Apache

2016-10-15 Thread Muduli, Chittaranjan
Hi Team, We are using http 2.2.27 and it is integrated with weblogic 9. But we are keep getting'READ error' in apache error log which resulting 503 to the request. Due to which user is getting 503 error in the page.And the number is very high in a day. Also we have defined a separa

[users@httpd] Help on Configuring LoadBalance

2016-10-10 Thread Jayaram Ponnusamy
Hi All, I am new to Apache and want to configure it for Failover. Currently our Environment is like below: ||-->WEB1 is pointing to Tomcat1 (Currently no configuration for LB and WEB1 is not talking with Tomcat2) F5 || ||-->WEB2 is pointing to Tomcat2 (Currently no configuration for LB and W

Re: [users@httpd] Help on Caching

2016-09-05 Thread Ezra Taylor
Apache has its own cache feature but I think Varnish is a better solution. Check out the page below. https://varnish-cache.org/ On Sun, Sep 4, 2016 at 4:31 AM, Jayaram Ponnusamy < jayaram.ponnus...@gmail.com> wrote: > Dear All, > > I am new to Apache, our current system architecture is like Apac

[users@httpd] Help on Caching

2016-09-04 Thread Jayaram Ponnusamy
Dear All, I am new to Apache, our current system architecture is like Apache WebServer->Tomcat Server-> DataBase & CMS & Apache Solr Search. Currently to load a page is taking 40seconds to 1minutes by using WebServer URL, however its taking lessthan 10Seconds by using Tomcat URL. We connected Tom

Re: [users@httpd] Help On RewriteRule

2016-08-11 Thread Rich Bowen
On 08/07/2016 06:47 AM, Jayaram Ponnusamy wrote: > Hi, > > I made below rewriteRule to redirect URL from > http://cmspweb1.com/sites/en_US/about/newsroom/2015/4 to > http://cmspweb1.com/sites/en_US/about/newsroom?year=2015&month=4. > Redirection is happening fine and In Address Bar we are gettin

[users@httpd] Help On RewriteRule

2016-08-07 Thread Jayaram Ponnusamy
Hi, I made below rewriteRule to redirect URL from http://cmspweb1.com/sites/en_US/about/newsroom/2015/4 to http://cmspweb1.com/sites/en_US/about/newsroom?year=2015&month=4. Redirection is happening fine and In Address Bar we are getting From URL as expected. We have filtering option to select yea

Re: [users@httpd] Help disabling weak ciphers.

2016-07-16 Thread Spork Schivago
I think I figured it out. I think I just had to scroll down a bit in Qualy's SSL Lab. I see a list of browsers and with TLSv1.0 and TLSv1.1 disabled, I now see: Server sent fatal alert: protocol_version I believe they're the ones that don't support the protocols that I've disabled. I think I'

Re: [users@httpd] Help disabling weak ciphers.

2016-07-16 Thread Spork Schivago
I made the required changes but don't get the A+ rating, still A. Forward Secrecy is enabled, which is good. I don't actually see scores for the bar graph but I do see certain ones don't go to the 100%. One was the Protocol Support. However, if I disable TLSv1 and TLSv1.1, then Protocol Sup

Re: [users@httpd] Help disabling weak ciphers.

2016-07-16 Thread Spork Schivago
Wow, thank you Dr. James Smith! I am going to try your cipher list and see if I can get the A+ rating. That's exactly what I'm after. Are there any other drawbacks besides losing support for Java 6 and IE 6 clients? I originally started writing my website to be IE 6 compatible but after lea

Re: [users@httpd] Help disabling weak ciphers.

2016-07-15 Thread Dr James Smith
I use: SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS as the setting for ciphers - this gets a A+ rating on the qualys SSL labs scoring (alt

  1   2   3   4   >