Re: [users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread Frank Gingras
Surely it will, but in practice, with shared hosting, you'd assign a single vhost to each customer. This is where Alias / AliasMatch comes into play. On Mon, 4 Apr 2022 at 11:35, Jim Albert wrote: > On 4/4/2022 11:16 AM, Eric Covener wrote: > > On Mon, Apr 4, 2022 at 11:11 AM A wrote: > >>

[users@httpd] Re: [External] : Re: [users@httpd] configure fails using --with-pcre with httpd-2.4.53

2022-04-04 Thread Jack Swan
I also had this problem, but changing it to point to the pcre2-config file fixed it for me on RHEL 7, but... On some operating systems this is still failing for me. Solaris 10 is one example. The configure script uses the "which" command. On my Solaris 10 system "which" is an actual csh

Re: [users@httpd] httpd memory usage

2022-04-04 Thread Paul Gregory
Thanks Frank. I was looking at that.   I'm running "make test" on php 7.4.28 now.   I was on 7.4.25. I'll take a look at php-fpm. Regards, Paul On 4/4/22 10:14 AM, Frank Gingras wrote: The culprit is mod_php here (php7_module). I highly recommend unloading that module, and using php-fpm to

Re: [users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread Jim Albert
On 4/4/2022 11:16 AM, Eric Covener wrote: On Mon, Apr 4, 2022 at 11:11 AM A wrote: Hi, I am planning to make changes to Apache web server so that it can serve multiple websites (not sub-domains) from port 80. This will save money for someone who has more than one website. That person need

Re: [users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread Frank Gingras
Sounds like simple Alias directives in the main vhost should suffice. On Mon, 4 Apr 2022 at 11:17, Eric Covener wrote: > On Mon, Apr 4, 2022 at 11:11 AM A wrote: > > > > Hi, > > > > I am planning to make changes to Apache web server so that it can serve > multiple websites (not sub-domains)

Re: [users@httpd] Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread Nick Folino
https://httpd.apache.org/docs/2.4/ On Mon, Apr 4, 2022 at 11:12 AM A wrote: > Hi, > > I am planning to make changes to Apache web server so that it can serve > multiple websites (not sub-domains) from port 80. > > This will save money for someone who has more than one website. That > person

[users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread Eric Covener
On Mon, Apr 4, 2022 at 11:11 AM A wrote: > > Hi, > > I am planning to make changes to Apache web server so that it can serve > multiple websites (not sub-domains) from port 80. > > This will save money for someone who has more than one website. That person > need not buy more than one hosting

Re: [users@httpd] httpd memory usage

2022-04-04 Thread Frank Gingras
The culprit is mod_php here (php7_module). I highly recommend unloading that module, and using php-fpm to serve your php content: https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM On Mon, 4 Apr 2022 at 09:50, Paul Gregory wrote: > Sure thing. Here it is. > > # ./apachectl -M >

[users@httpd] Serve multiple websites (not sub-domains) from port 80

2022-04-04 Thread A
Hi, I am planning to make changes to Apache web server so that it can serve multiple websites (not sub-domains) from port 80. This will save money for someone who has more than one website. That person need not buy more than one hosting plan, one hosting plan will suffice. Based on the incoming

Re: [users@httpd] httpd memory usage

2022-04-04 Thread Paul Gregory
Sure thing.  Here it is. # ./apachectl -M Loaded Modules:  core_module (static)  so_module (static)  http_module (static)  mpm_event_module (static)  authn_file_module (shared)  authn_core_module (shared)  authz_host_module (shared)  authz_groupfile_module (shared)  authz_user_module (shared)  

Re: [users@httpd] httpd memory usage

2022-04-04 Thread Frank Gingras
The output from apachectl -M would help. On Mon, 4 Apr 2022 at 08:18, Paul Gregory wrote: > Hello, > httpd is eating my server memory. 12GB of installed memory. > I've read a lot of info on memory tuning, but can't seem to make it use > less than shown below. > > Thanks for any and all help,

[users@httpd] httpd memory usage

2022-04-04 Thread Paul Gregory
Hello, httpd is eating my server memory.   12GB of installed memory. I've read a lot of info on memory tuning, but can't seem to make it use less than shown below. Thanks for any and all help, Paul   PID USER  PR NI    VIRT    RES    SHR S  %CPU %MEM TIME+ COMMAND 15890 apache    20