>Don't, use /server-status.
Thanks I also use that. But that page has a lot of information.
Still I don't know which number in that page is the sign of reaching
ServerLimit.
Do you mean that I always have to look at MaxRequestWorkers which is the number
of apache processes?
Regards,
Mahmood
Hello
I want to know what is the relation between ServerLimit and MaxRequestWorkers?
I have read about them on the apache website, but still I don't know are these
two equal or one should be greater than the other? If yes, by how much
approximately and why?
Also, I want to count the connections
>Did you see this syntax error?
OK I commented that line and left that to the apache's default.
Now I can see MPM status
# apache2 -V
[Fri Jul 10 21:15:32.121146 2020] [core:warn] [pid 49516] AH00111: Config
variable ${APACHE_PID_FILE} is not defined
[Fri Jul 10 21:15:32.121269 2020] [core:warn]
The server is Ubuntu 18.04 and I installed that via apt. The apachectl command
says it is using MPM.
# apachectl status
Apache Server Status for localhost (via ::1)
Server Version: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1
Server MPM: prefork
Server Built: 2020-03-13T12:
Hi
The output of "apache2 -V" and "apache2 -l" commands show that MPM prefork is
not available in my apache web server.
# apache2 -V
[Fri Jul 10 15:13:36.293467 2020] [core:warn] [pid 25107] AH00111: Config
variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apach
Hello
With the following MPM settings
ServerLimit 500
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 500
MaxConnectionsPerChild 0
I would like to know how can I reduce th
One more thing. With this output
WKWWKWRKKRKWWKWWRWWRRKWWKRWKKR.RWR._W_R.RKRKK.RCWWKW_R.W..KKWWK.
WCWKKK_KWWWRR.R..WWKWWRK.WWWRRW.WWW.WRK_WR.R..KWWKKRW.KCWK.W
..R_..WW
..
>But it's more straightforward to use /server-status if you care about
>things like ServerLimit then trying to reverse engineer from netstat.
OK I can see that report.
It is saying that 109 requests currently being processed., 18 idle workers.
Is that 109 the same as the number of apache2 proce
Hello
When I set ServerLimit to 500, does that include all TCP connection states? I
mean
are all these counted by ServerLimit? Or just ESTABLISHED is counted?
tcp6 0 0 192.168.168.91:443 X:18212 FIN_WAIT2 -
tcp6 0 0 192.168.168.91:443 X:14756 TIME_WAIT
Hello
When I count the number of apache2 processes, I get about 151, but when I check
the number of connections, I get about 208 connections. I want to know if there
is any relation between these two. Also, isn't 151 processes low? We have 32GB
of RAM with 10 cores. We want to have a support for
Hi
Using Apache and Centos 7, I have put two specific files in `/var/www/html` as
below
[root@sn acme-challenge]# pwd
/var/www/html/.well-known/acme-challenge
[root@sn acme-challenge]# ls -l
total 8
-rw-r--r--. 1 root root 88 Dec 21 12:19 8KyeoB4HPzOPR6Et9uBPWoldME6LGIBV3ps
Hi,In Centos with the name of httpd, I see two IncludeOptional statements in
/var/etc/httpd/conf/httpd.conf
# grep -r IncludeOptional /etc/httpd/
/etc/httpd/conf/httpd.conf:IncludeOptional conf.d/*.conf
/etc/httpd/conf/httpd.conf:IncludeOptional sites-enabled/*.conf
I don't see such statements
Hi
I have configured a Centos server with httpd for ssl support. Prior to that
when I entered http://w.x.y.z I was able to see in the install page. After
configuring ssl, I removed all files from /var/www/html and was able to see the
test page when entering https://somewhere.com
Now whe
Hi,
It is possible to have http://sub.somewhere/portal1 and
https://sub.somewhere/portal2
For that, I have to define a document root in 000-default.conf and an entry for
portal1 and then define an entry for portal2 in default-ssl.conf.
Is that a valid configuration? Or I have to define all direct
>This is because SSL-certs require domain names and don't work properly
>with 'bare IP addresses'. You'll never get that fixed unless you start
>using a domainname and a correct certificate (LetsEncrypt for example).
Thank you very much for the help.
Regards,
Mahmood
>Is default-ssl site "enabled" via the debian/ubuntu tools e.g. a2ensite?
# a2enmod ssl
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb al
>Is mod_ssl actually loaded/enabled?
>Try removing the lines and check your
>httpd config syntax (apache2ctl -S)
root@webshub:~# grep IfModule /etc/apache2/sites-available/default-ssl.conf
#
#
root@webshub:~# apachectl -S
AH00558: apache2: Could not reliably determine the server's fully quali
As I posted earlier, SSLEngine is on
$ cat /etc/apache2/sites-available/default-ssl.conf
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
Options FollowSymLinks
AllowOverride All
O
Hi again
>From another computer I tried to access the IP address via wget command. See
>this output
[mahmood@rocks7 ~]$ wget http://w.x.y.z
--2018-08-20 10:30:38-- http://w.x.y.z/
Connecting to w.x.y.z:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html
>OTOH, seems to be some
>special setup, defaulting to an address from the loopback network
>(127.0.1.1).
I also noted that, but don't know what to do.
>As you seem to receive some resources via HTTP, the request should get
>logged somewhere.
I use "tail -f /var/log/apache2/access.log" an
>what's in the logs of your httpd server? Any errors reported during
>httpd startup and/or your accesses?
When I restart apache2 service, I see these lines in the syslog
Aug 13 22:19:36 webshub systemd[1]: Stopping The Apache HTTP Server...
Aug 13 22:19:36 webshub apachectl[20543]: AH00558: apac
>Now, when I open https://w.x.y.z in the browser, I get>>>An error occurred
>during a connection to w.x.y.z. SSL received a record that exceeded the
>maximum permissible >length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
Excuse me... Isn't there any idea?
I searched the web about the erro
>In ports.conf have a 443 port listen configured? You enable mod_ssl with
>a2enmod mod_ssl?
root@webshub:~# netstat -tulpn | grep 443tcp6 0 0 :::443
:::* LISTEN 14709/apache2
I enabled mod_ssl
root@webshub:~# a2enmod ssl
Considering depen
Hi,
I am totally confused with the configuration of ssl via apache2. The server's
page is reachable by an IP address. So, when I enter http://w.x.y.z I am able
to see the web page and the content of
/etc/apache2/sites-available/000-default.conf is
DocumentRoot /var/www/html
>Try "openssl s_client -debug -connect host:port" to see if your machine can
>contact the server at all.
Should I run that on my laptop (the remote machine) or the server?
>You should try to telnet to port 443 from a) the localhost
The output seems to be fine
mahmood@ce:~$ telnet localhost 443
No Idea?
I have stuck at that….
Regards,
Mahmood
From: Mahmood Naderan
Sent: Thursday, June 21, 2018 12:59 PM
To: Alex K; users@httpd.apache.org
Subject: RE: [users@httpd] https not working
Have you enabled ssl and rewrite modules? I would verify also that there is no
firewall blocking 443
; Mahmood Naderan
Subject: Re: [users@httpd] https not working
Hi,
Have you enabled ssl and rewrite modules? I would verify also that there is no
firewall blocking 443.
Alex
On Wed, Jun 20, 2018, 18:24 Mahmood Naderan
wrote:
Hi,
My web site works on http without any problem. The location is
Hi,My web site works on http without any problem. The location is
/var/www/html/shob/ and I want to define an HTTPS virtualhost. So, I COPIED the
content relative to my website from
/etc/apach2/sites-available/000-default.conf to
/etc/apache2/sites-available/default-ssl.conf and the content is
>Weird, do you actually use multiviews or is it just interfering with
Well, no...
>other rewrites intended to do something with /sbh/index ?
>
>You'd need to configure it to understand "php" could be a negotiated
>type (since it really isn't)
I removed the multiviews and now the page is shown!
>What files exist beginning with index and what do you expect to be served?
root@ce:/var/www/html/shb# find . -name index*
./index.php
./ow_updates/classes/index.php
./ow_updates/index.php
./ow_libraries/vendor/smarty/smarty/demo/index.php
./ow_plugins/forum/controllers/index.php
./ow_plugins/iism
Hi,With the following apache2 configuration:
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
I can access the web page and I am able to login to the portal. All pages,
including Dashboard, Groups
Thanks for the reply.
According to the following output, mod_rewrite is installed
root@webshub:/var/www/html# apachectl -M
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally to
suppress this message
L
rectly see the web installer (complain about
/install not found) while I can see that with php command?
That mean the files are there but apache can not find them.
Regards,
Mahmood
On Sunday, June 3, 2018, 10:37:03 PM GMT+4:30, Mahmood Naderan
wrote:
Hi,About my problem with apac
Hi,About my problem with apache which I described in another thread, I will
know explain what I did from scratch.
See the system specs below
root@webshub:/var/www/html# ls
backedupindex.html install_info.txt ow_install ow_smarty
ow_userfiles shub
captcha.php ow_core
18 11:42:39 +
> From: Mahmood Naderan
>
> root@webshub:/var/www/html# php -S localhost:8080
> PHP 7.2.5-0ubuntu0.18.04.1 Development Server started at Tue May 29
22:56:54 2018
>
> Listening on http://localhost:8080
> Document root is /var/www/html
>
> [Tue May 29
staller file is found
The question is why I can not access that from a remote machine.
Regards,
Mahmood
On Wednesday, May 30, 2018, 2:14:23 AM GMT+4:30, John Hicks
wrote:
On 05/29/2018 04:05 PM, Mahmood Naderan wrote:
Consider the following apach2 config file on an Ub
Consider the following apach2 config file on an Ubuntu 18.04 as below
root@web1:/var/www/html# cat /etc/apache2/sites-available/000-default.conf
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
OK. The correct thing is to add
AddHandler cgi-script .cgi
Options FollowSymLinks Indexes ExecCGI
DirectoryIndex /rocks/7.0/install/rolls/index.cgi
Allow from all
Thanks for your help and ideas Eric.
Regards,
Mahmood
>Maybe I was unclear. Put it back along with AddHandler cgi-script .cgi
>if you want the subdirs to look like the root.
No it is not OK to have something like this
ServerName rocks-7-0.my.org
DocumentRoot /var/www/html/rocks/7.0
Options FollowSymLinks Indexes ExecCGI
AllowOverr
>I think someone previously told you to undo:
> DirectoryIndex /install/rolls/index.cgi
>But this is what would cause the root index.cgi to be used by the
>subdirectoryes.
Yes I did that and it only works for the main folder where index.cgi exists.I
am thinking about *recursive cgi* confi
>If your app uses *.cgi for CGIs, useAddHandler cgi-script .cgi
>instead of SetHandler.
Hi,
I did that and now the error has beendisappeared.
I tried to define alias and wrote“AddHandler cgi-script .py” which seems to be
incorrect. Many thanks for yourhelp. Anyway…
The cgi in the m
Dear Eric,
Can you explain a bit more on what should I do with the cgi probblem?
Regards,
Mahmood
On Saturday, December 30, 2017, 9:12:00 PM GMT+3:30, mahmood n
wrote:
>You need to scope the SetHandler/AddHandler to just the things that
>are actually CGI. Check the manual.
If
>DirectoryIndex contains a list of files to try, not a full path. >My guess is
>that it's supposed to be >DirectoryIndex index.cgi instead of the path.
Well I change that to "DirectoryIndex index.cgi", howeverby visiting the url
from the web browser, I see the content of index.cgi as a plain tex
is A.B.C.D, what is the URL for accessing the charts?
Thanks,
// Naderan *Mahmood;
From: Igor Galić
To: users@httpd.apache.org
Sent: Fri, November 26, 2010 7:28:36 PM
Subject: Re: [us...@httpd] What is the default location?
- "Mahmood Naderan" wr
Hi,
I am new to apache so my question may be too simple. I have installed apache2
and when I enter the ip address (http://A.B.C.D/) in the web browser I can
successfully see the message "It works!" fine.
I also have installed Munin and set the htmldir variable to
/var/www/A.B.C.D/web/monito
45 matches
Mail list logo