Re: [users@httpd] Help with mod_rewrite

2023-05-09 Thread Marc Serra
log entries, and then uncomment another rule. Repeat > until the loop appears. > > If you have a specific question about one log entry, do ask it. > > On Thu, Apr 20, 2023 at 2:18 AM Marc Serra wrote: >> >> Thank's for answer Frank, >> >> A simple https:

Re: [users@httpd] Apache VirtualHost Config Tool management

2023-04-27 Thread Marc Serra
I used ISPConfig for years and it's a great tool! If you have money for the license or your hosting provider has it for free, plesk web host edition it's a great option too. Missatge de Curtis del dia dj., 27 d’abr. 2023 a les 15:41: > > I might also suggest ispconfig > > https://ispconfig.org.

[users@httpd] Help with mod_rewrite

2023-04-18 Thread Marc Serra
guration error. Use 'LimitInternalRecursion' t o increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. Can anyone help me? Thank's -- Marc Serra -- <https://www.manxa.com> Manxa 1876, S.L. Ctra. Les Tries, 85.17800 Olot (Giron

[users@httpd] GeoIP module problem

2022-11-11 Thread Marc Serra
3.698490 2022] [access_compat:error] [pid 2668535:tid 140474346104576] [client 90.161.x.x:38306] AH01797: client denied by server configuration: /var/www/vhosts/mydomain.tld/httpdocs/ca [Fri Nov 11 13:40:33.860555 2022] [access_compat:error] [pid 2668535:tid 140474713110272] [client

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
Please don't spend more time on this until I write another email. I found sometrhng strange on our PHP code. Missatge de Marc Serra del dia dj., 24 de març 2022 a les 12:42: > > > Pretty bad numbers actually, aren't you limited by the network > > bandwidth between ab an

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
00% 48396 (longest request) > Sorry, more questions than answers, but results on my (poor) laptop look like: Oh, no! Thank's for all your answers, questions and time! > Or with a shorter resource (1KB) and 10x more requests to amortize the ramp > up: -- Marc Serra --

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
Hi again, I tested the settings with Apache Bench ... ab -l -H 'Accept-Encoding: gzip,deflate' -k -n 1 -c 1000 https://www.DOMAIN1.TLD/index.html I'm not sure if the following are good numbers or bad numbers. Can anyone help me interpret this result please? This is ApacheBench, Version 2.

Re: [users@httpd] Re: Are this option

2022-03-18 Thread Marc Serra
ge de Yann Ylavic del dia dv., 18 de març 2022 a les 11:19: > > On Fri, Mar 18, 2022 at 8:27 AM Marc Serra wrote: > > > > Thank's for your comments Frank, > > > > Reading the Apache documentation > > (https://httpd.apache.org/docs/2.4/en/mod/mpm_common.

Re: [users@httpd] Re: Are this option

2022-03-18 Thread Marc Serra
hreadsPerChild seems very low. Depending on your content, > you could likely ramp up to a much higher value, which means that you would > need less parent processes. > > > > On Wed, 16 Mar 2022 at 08:14, Marc Serra wrote: >> >> I'm sorry to insist ... if th

[users@httpd] Re: Are this option

2022-03-16 Thread Marc Serra
I'm sorry to insist ... if this list is not the right place to ask that question, could anyone tell me where to do it? Thank's Missatge de Marc Serra del dia dc., 9 de març 2022 a les 18:01: > Hi, I want to configure an apache server to support a high load site. Are > these

Re: [users@httpd] mod_evasive [OT?]

2022-03-10 Thread Marc Serra
> > Distributed Application Platform Services > > *Northwestern University* > > 4th Floor > > 2020 Ridge Avenue > > Evanston, IL 60208-0801 > > *darryl.ba...@northwestern.edu * > > (847) 467-6674 <+18474676674> > > > -- Marc Serra Organització i S

[users@httpd] Are this option

2022-03-09 Thread Marc Serra
Hi, I want to configure an apache server to support a high load site. Are these settings correct? /etc/apache2/mods-enabled/mpm_event.conf StartServers 2 MinSpareThreads 75 MaxSpareThreads 250 ThreadLimit

Re: [users@httpd] Issues with accessing web page using DNS URL

2021-08-18 Thread Marc Serra
If you ping (or dig, or nslookup, or ...) your www.mywebpage.com (the noip name) from outside your home is resolved to you public IP address? I think it's not an apache related issue. El dc., 18 d’ag. 2021, 20:41, va escriure: > I set up my router to port forward. I was using NOIP with my pre

Re: [users@httpd] Can't get the list of loaded modules with apache2 -M

2021-07-26 Thread Marc Serra
Try to source your envvars by running it like this source /etc/apache2/envvars and then /usr/sbin/apache2 -M El dl., 26 de jul. 2021, 19:18, Andrea Croci va escriure: > Hi, I have Apache 2.4.48 installed in Ubuntu 20.04 by adding the > ondrej-ppa. When I do > > sudo apache2 -M > > (and other

Re: [users@httpd] blacklisting

2021-06-16 Thread Marc Serra
------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Marc Serra Organització i Sistemes -- Manxa 1876,

Re: [users@httpd] Improve memory use [EXT]

2021-06-14 Thread Marc Serra
wrappers for >PHP {mileage may vary on this if you have a large number of PHP code >basese}; > > > > *From:* Marc Serra > *Sent:* 14 June 2021 10:08 > *To:* users@httpd.apache.org > *Subject:* [users@httpd] Improve memory use [EXT] > > > > Hi again,

[users@httpd] Improve memory use

2021-06-14 Thread Marc Serra
ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D

Re: [users@httpd] Is ServerLimit 256 in prefork mode somehow hardcoded?

2021-06-01 Thread Marc Serra
o mod_mpm_event, but before I go that way, I > would like to know why I cannot more than 256 servers in prefork mode. > > > - To > unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional > commands, e-mail: users-h...@httpd.apache.org -- Marc Serra Organ

Re: [users@httpd] Poor Load Balancer performance

2021-05-27 Thread Marc Serra
Thank's for your reply Eric. if you have thousands of connections you need to have more servers and > then a balancer will help spreading the load (not increasing performance) > among all the servers, or add bigger figures to your mpm settings in your > single server (if the hardware will be able

Re: [users@httpd] Poor Load Balancer performance

2021-05-27 Thread Marc Serra
MinSpareServers 200 MaxSpareServers 400 MaxRequestsWorkers 800 MaxConnectionsPerChild 1 Missatge de Eric Covener del dia dj., 27 de maig 2021 a les 13:15: > On Thu, May 27, 2021 at 7:06 AM Marc Serra wrote: > > I has inverted the results! I'm sorry! > > I see -- I think this is a cas

Re: [users@httpd] Poor Load Balancer performance

2021-05-27 Thread Marc Serra
1 requests Missatge de Eric Covener del dia dj., 27 de maig 2021 a les 12:51: > On Thu, May 27, 2021 at 6:22 AM Marc Serra wrote: > >> I got better performance without the load balancer. >> > > >> Results when I run 'ab -k -n 1 -c 1000 >> htt

[users@httpd] Poor Load Balancer performance

2021-05-27 Thread Marc Serra
ProxyPreserveHost On ProxyPass / balancer://mycluster/ ProxyPassReverse / balancer://mycluster/ The index.html file is a 90KB plain text file for both node1 and node2 I'm missing something? The problem is the way virtualbox handles this network configuration and in a real world the result

Re: [users@httpd] Why so much difference in memory used per process in apache2 between two different systems

2021-05-17 Thread Marc Serra
Thank's Daniel, > The list of modules is different. I don't think you can compare event and prefork servers as if they should behave the same, even more if you have a different list of modules. Consider in prefork each process is a worker, while on event processes are not workers, but threads of

Re: [users@httpd] Why so much difference in memory used per process in apache2 between two different systems

2021-05-17 Thread Marc Serra
Thank's for answer Yann, > MPM prefork is single threaded, while MPM event uses multiple threads, > and each thread "consumes" 8MB of rss (for its stack) on a typical > linux system. > The default thread stack size can be changed with "ulimit -s" (or > LimitSTACK= on systemd), depending on the loa

Re: [users@httpd] Why so much difference in memory used per process in apache2 between two different systems

2021-05-17 Thread Marc Serra
d_security, it's a module that use enough memory. > Also on server2 there are modules not loaded on server1. BTW what's your problem? Your server is plenty of ram and RSS memory is not creating any problem. Right? > > > 17 maggio 2021 13:34, "Marc Serra" wrote: &g

[users@httpd] Why so much difference in memory used per process in apache2 between two different systems

2021-05-17 Thread Marc Serra
Hi to all, I already posted this question to stackoverflow.com but no answer after 9 days: https://stackoverflow.com/questions/67439771/why-so-much-difference-in-memory-used-per-process-in-apache2-between-two-differe I hope the apache gurus in this list can help me :) I have a pair of Ubuntu ded

RE: [users@httpd] domain name Question

2011-10-17 Thread Marc Serra
] domain name Question Hi All, I have a domain name registered with a ISP. Do I need my own DNS server to be able to host my website usine Apache? Yours Sincerely Stephen Grant Brown Marc Serra - OiS mse...@manxa.es Manxa 1901 S.L. Ctra. Les Tries 85 17800 Olot (Girona) Telf

[users@httpd] Open links of indexed directory to new window

2011-10-13 Thread Marc Serra
Hi! I'm calling a diretory index from an iframe. I want to open this files (links) in a new window... here the page: http://portal.manxa.es/cataleg/v2/industrial/ca/promos2.htm It's possible using the apache (or htaccess) config? Thank's! Marc Serra - OiS mse...@manxa.

Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
I don't know does snide mean, but I hope nothing bad ;-) I tried to search in: http://www.apache-ssl.org/docs.html and http://httpd.apache.org/docs/2.0/ssl/ , but i don't find an answer for me. Your links seems better. Sorry for bugging. Tomorrow i try it, I'm very tired now... B-( > I hate to

Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Thanks for a reply joshua. Really? And can you give me an example of this? For a directory that requires SSL: SSLRequireSSL AllowOverride AuthConfig But for a file? Does would you mean?: "/var/www/localhost/htdocs/ssl/file.under.ssl.html"> SSLRequireSSL Allow

Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Thanks, and I know your solution, but isn't possible. I can't not move this file from this directory, and (for application requirements) the other files on this directory cannot be under SSL. > I guess the easiest way would be to put that SSL enabled > file into a sub-dir all on it's own?

[EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Hi gurus! I need to secure with SSL only one file from a directory that contains a lot more files. How can I do that? I know how secure an entire directory, with SSLRequireSSL option, but is possible only for a file? Thank's! ---