My issue?

I'm trying to understand why having what appears to be two copies of
the same setup has one showing the dir/index, with the other showing
the err that i expect..

http://198.211.116.12/berat
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems...

the working srvr...

------------------------------------------

http://161.35.5.174/berat/
Index of /berat
[ICO]    Name    Last modified    Size    Description
[PARENTDIR]    Parent Directory         -
[TXT]    README.md    2024-07-21 22:20     1.0K
[DIR]    app/    2024-07-21 22:20     -
.
.
.

the dir listing, instead of the "err" statement
-from the 2nd/err server


they should be the same output.

the 2 systems are using the ipaddress as they're tmp servers..

On Tue, Jul 23, 2024 at 5:25 PM Frank Gingras <thu...@apache.org> wrote:
>
>
>
> On Tue, Jul 23, 2024 at 5:16 PM bruce <badoug...@gmail.com> wrote:
>>
>> Hi Frank..
>>
>> The 2 test servers..have pretty much the same test sites/dirs in the
>> /var/www/html dir...
>>
>> They have the same config files. I basically did a clone of the srvr
>> from digital ocean..
>>
>> As a curiosity, I did a shutdown/restart of both test apache server,
>> thinking the "tail -300 /var/logs/apache/error.log" would have pretty
>> much the same output...
>>
>> I was wrong..
>> the error apache is...
>> [Tue Jul 23 21:05:02.477041 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/.next/static/chunks/ local
>> [Tue Jul 23 21:05:02.477180 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (161.35.5.174:80)
>> [Tue Jul 23 21:05:02.477194 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://161.35.5.174/berat/.next/static/media/ shared
>> [Tue Jul 23 21:05:02.477210 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/.next/static/media/ local
>> [Tue Jul 23 21:05:02.477254 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (161.35.5.174:80)
>> [Tue Jul 23 21:05:02.477259 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://161.35.5.174/berat/public/down.svg shared
>> [Tue Jul 23 21:05:02.477263 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/public/down.svg local
>> [Tue Jul 23 21:05:02.477302 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (161.35.5.174:80)
>> [Tue Jul 23 21:05:02.477318 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://161.35.5.174/berat/public/logo.svg shared
>> [Tue Jul 23 21:05:02.477329 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/public/logo.svg local
>> [Tue Jul 23 21:05:02.477368 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (161.35.5.174:80)
>> [Tue Jul 23 21:05:02.477373 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://161.35.5.174/berat/publicfoo/ shared
>> [Tue Jul 23 21:05:02.477377 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/publicfoo/ local
>> [Tue Jul 23 21:05:02.477408 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (161.35.5.174:80)
>> [Tue Jul 23 21:05:02.477413 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:05:02.477424 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:05:02.477459 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (127.0.0.1:3000)
>> [Tue Jul 23 21:05:02.477465 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:05:02.477475 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:05:02.477508 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 189806 for (127.0.0.1:3000)
>>
>>
>>
>> the working apache is:
>>  result of Require all granted: granted
>> [Tue Jul 23 20:16:46.352097 2024] [authz_core:debug] [pid 76009]
>> mod_authz_core.c(815): [client 143.110.222.166:57950] AH01626:
>> authorization result of <RequireAny>: granted
>> [Tue Jul 23 20:16:46.352584 2024] [authz_core:debug] [pid 76009]
>> mod_authz_core.c(815): [client 143.110.222.166:57950] AH01626:
>> authorization result of Require all granted: granted
>> [Tue Jul 23 20:16:46.352596 2024] [authz_core:debug] [pid 76009]
>> mod_authz_core.c(815): [client 143.110.222.166:57950] AH01626:
>> authorization result of <RequireAny>: granted
>> [Tue Jul 23 20:16:46.352810 2024] [authz_core:debug] [pid 76009]
>> mod_authz_core.c(815): [client 143.110.222.166:57950] AH01626:
>> authorization result of Require all granted: granted
>> [Tue Jul 23 20:16:46.352815 2024] [authz_core:debug] [pid 76009]
>> mod_authz_core.c(815): [client 143.110.222.166:57950] AH01626:
>> authorization result of <RequireAny>: granted
>> [Tue Jul 23 20:16:46.353448 2024] [deflate:debug] [pid 76009]
>> mod_deflate.c(904): [client 143.110.222.166:57950] AH01384: Zlib:
>> Compressed 4677 to 787 : URL /
>> [Tue Jul 23 20:59:59.913291 2024] [mpm_prefork:notice] [pid 58743]
>> AH00170: caught SIGWINCH, shutting down gracefully
>> [Tue Jul 23 21:00:00.314389 2024] [proxy:debug] [pid 83188]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:00:00.314465 2024] [proxy:debug] [pid 83188]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:00:00.314514 2024] [proxy:debug] [pid 83188]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 83188 for (127.0.0.1:3000)
>> [Tue Jul 23 21:00:00.321607 2024] [proxy:debug] [pid 83189]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:00:00.321690 2024] [proxy:debug] [pid 83189]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:00:00.321747 2024] [proxy:debug] [pid 83189]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 83189 for (127.0.0.1:3000)
>> [Tue Jul 23 21:00:00.329192 2024] [proxy:debug] [pid 83190]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:00:00.329269 2024] [proxy:debug] [pid 83190]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:00:00.329320 2024] [proxy:debug] [pid 83190]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 83190 for (127.0.0.1:3000)
>> [Tue Jul 23 21:00:00.333077 2024] [mpm_prefork:notice] [pid 83186]
>> AH00163: Apache/2.4.58 (Ubuntu) configured -- resuming normal
>> operations
>> [Tue Jul 23 21:00:00.333201 2024] [core:notice] [pid 83186] AH00094:
>> Command line: '/usr/sbin/apache2'
>> [Tue Jul 23 21:00:00.335050 2024] [proxy:debug] [pid 83191]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:00:00.335132 2024] [proxy:debug] [pid 83191]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:00:00.335196 2024] [proxy:debug] [pid 83191]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 83191 for (127.0.0.1:3000)
>> [Tue Jul 23 21:00:00.339094 2024] [proxy:debug] [pid 83192]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://127.0.0.1:3000/ shared
>> [Tue Jul 23 21:00:00.339160 2024] [proxy:debug] [pid 83192]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://127.0.0.1:3000/ local
>> [Tue Jul 23 21:00:00.339205 2024] [proxy:debug] [pid 83192]
>> proxy_util.c(2262): AH00931: initialized single connection worker in
>> child 83192 for (127.0.0.1:3000)
>> r
>>
>> my question is...
>> why/what is causing this in the err system???
>> [Tue Jul 23 21:05:02.477373 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2154): AH00925: initializing worker
>> http://161.35.5.174/berat/publicfoo/ shared
>> [Tue Jul 23 21:05:02.477377 2024] [proxy:debug] [pid 189806]
>> proxy_util.c(2214): AH00927: initializing worker
>> http://161.35.5.174/berat/publicfoo/ local
>>
>>
>> On Tue, Jul 23, 2024 at 3:16 PM Frank Gingras <thu...@apache.org> wrote:
>> >
>> >
>> >
>> > On Tue, Jul 23, 2024 at 2:40 PM bruce <badoug...@gmail.com> wrote:
>> >>
>> >>  By vhosts, I'm assuming you mean the conf files in the
>> >>  /etc/apache/sites-available
>> >>  /etc/apache/sites-enabled
>> >> dirs.
>> >>
>> >> I have a lot of these files. I had removed/copied then to a separate
>> >> dir, and then did a global a2dissite * to test if this made a diff in
>> >> that when I test the http://1.2.3.4/foo if I get an err.. instead of
>> >> the app or the dir index.
>> >>
>> >> when I copy the files back to the dir.. and redo the a2ensite for all
>> >> the test sites..
>> >>
>> >> apachectl -S
>> >> AH00112: Warning: DocumentRoot [/var/www/html/berat_1] does not exist
>> >> AH00112: Warning: DocumentRoot [/var/www/html/chainsafe2] does not exist
>> >> AH00558: apache2: Could not reliably determine the server's fully
>> >> qualified domain name, using 10.10.0.9. Set the 'ServerName' directive
>> >> globally to suppress this message
>> >> VirtualHost configuration:
>> >> *:80                   is a NameVirtualHost
>> >>          default server temp22 
>> >> (/etc/apache2/sites-enabled/ajparrah.conf:1)
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/ajparrah.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/amaitou.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/balazsotakomaiya.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/berat.conf:3)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/berat_used_to_work_now_idx.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/chainsafe.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/coralsio.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/dashdeipayan.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/davehawkins.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/dolibarr.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/domainmod.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/drougnov.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/eapenzacharias.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/filgeary.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/flatpress.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/freescout.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 (/etc/apache2/sites-enabled/gakz.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/glozzome.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/imminion.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/invoiceninja.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/invoiceplane.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/itsowaisnoor.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/jijunair.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/jonstavis.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/larap.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/mantisbt.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/matomo.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/minthcm.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/mloberg.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/muratcan.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/nabunyalilian.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/petronius.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/priyansh.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/quaninte.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/ricardobarantini.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/saasfly.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/sendnaw.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/sendportal.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/shahramshakiba.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/siddharthssb11.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/snipe.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/soufianeelc.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/terieyenike.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/uideck.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/userlp.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 (/etc/apache2/sites-enabled/wave.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/zaidajani.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/zentaopms.conf:1)
>> >>                  alias temp
>> >> ServerRoot: "/etc/apache2"
>> >> Main DocumentRoot: "/var/www/html"
>> >> Main ErrorLog: "/var/log/apache2/error.log"
>> >> Mutex mpm-accept: using_defaults
>> >> Mutex watchdog-callback: using_defaults
>> >> Mutex rewrite-map: using_defaults
>> >> Mutex proxy: using_defaults
>> >> Mutex default: dir="/var/run/apache2/" mechanism=default
>> >> PidFile: "/var/run/apache2/apache2.pid"
>> >> Define: DUMP_VHOSTS
>> >> Define: DUMP_RUN_CFG
>> >> User: name="www-data" id=33
>> >> Group: name="www-data" id=33
>> >>
>> >> and I get
>> >> http://161.35.5.174/berat/
>> >>   dir/ndx listing...
>> >>
>> >> for the working tst srvr....
>> >>   http://198.211.116.12/berat
>> >>   The server is temporarily unable to service your request due to
>> >> maintenance downtime or capacity problems. Please try again later.
>> >>    (is the expected return as the underlying node server isn't
>> >> running..)  proxy/reverse proxy  (this all works)
>> >>
>> >> oh... on the working server... here's the data as well..
>> >>
>> >> apachectl -S
>> >> 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
>> >> VirtualHost configuration:
>> >> *:80                   is a NameVirtualHost
>> >>          default server temp22 (/etc/apache2/sites-enabled/berat.conf:1)
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/berat.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/dolibarr.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/domainmod.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/drougnov.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/filgeary.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/flatpress.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/freescout.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/glozzome.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/invoiceninja.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22
>> >> (/etc/apache2/sites-enabled/invoiceplane.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/larap.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/mantisbt.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/matomo.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/minthcm.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/petronius.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/priyansh.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/sendportal.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/snipe.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/uideck.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/userlp.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 (/etc/apache2/sites-enabled/wave.conf:1)
>> >>                  alias temp
>> >>          port 80 namevhost temp22 
>> >> (/etc/apache2/sites-enabled/zentaopms.conf:1)
>> >>                  alias temp
>> >> ServerRoot: "/etc/apache2"
>> >> Main DocumentRoot: "/var/www/html"
>> >> Main ErrorLog: "/var/log/apache2/error.log"
>> >> Mutex watchdog-callback: using_defaults
>> >> Mutex rewrite-map: using_defaults
>> >> Mutex proxy: using_defaults
>> >> Mutex default: dir="/var/run/apache2/" mechanism=default
>> >> Mutex mpm-accept: using_defaults
>> >> PidFile: "/var/run/apache2/apache2.pid"
>> >> Define: DUMP_VHOSTS
>> >> Define: DUMP_RUN_CFG
>> >> User: name="www-data" id=33
>> >> Group: name="www-data" id=33
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Tue, Jul 23, 2024 at 1:32 PM Frank Gingras <thu...@apache.org> wrote:
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jul 23, 2024 at 1:29 PM bruce <badoug...@gmail.com> wrote:
>> >> >>
>> >> >> Hi Frank.
>> >> >>
>> >> >> Thanks for reply.
>> >> >>
>> >> >> apachectl -S
>> >> >> AH00558: apache2: Could not reliably determine the server's fully
>> >> >> qualified domain name, using 10.10.0.9. Set the 'ServerName' directive
>> >> >> globally to suppress this message
>> >> >> VirtualHost configuration:
>> >> >> ServerRoot: "/etc/apache2"
>> >> >> Main DocumentRoot: "/var/www/html"
>> >> >> Main ErrorLog: "/var/log/apache2/error.log"
>> >> >> Mutex default: dir="/var/run/apache2/" mechanism=default
>> >> >> Mutex mpm-accept: using_defaults
>> >> >> Mutex watchdog-callback: using_defaults
>> >> >> Mutex rewrite-map: using_defaults
>> >> >> Mutex proxy: using_defaults
>> >> >> PidFile: "/var/run/apache2/apache2.pid"
>> >> >> Define: DUMP_VHOSTS
>> >> >> Define: DUMP_RUN_CFG
>> >> >> User: name="www-data" id=33
>> >> >> Group: name="www-data" id=33
>> >> >>
>> >> >> As a test, I did a complete "a2edissite * to disable "all" test sites
>> >> >> on the srvr that's weird.
>> >> >>
>> >> >> I expected that a 1.2.3.4/foo  in the browser would result in an err...
>> >> >>
>> >> >> Nope, it displayed the reg site.
>> >> >>
>> >> >> At the same time, the test site that displays the dir/ndx still
>> >> >> displays the "dir/ndx" listing.
>> >> >>
>> >> >> Some research online shows that others have run into similar issues,
>> >> >> but as of yet, I haven't figured out what I've done wrong.
>> >> >>
>> >> >> thanks
>> >> >>
>> >> >> On Tue, Jul 23, 2024 at 1:16 PM Frank Gingras <thu...@apache.org> 
>> >> >> wrote:
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jul 23, 2024 at 12:07 PM bruce <badoug...@gmail.com> wrote:
>> >> >> >>
>> >> >> >> ok.
>> >> >> >>
>> >> >> >> I've screwed something up...
>> >> >> >>
>> >> >> >> on the "working" test system
>> >> >> >> I took a "working" test site, copied it to /var/www/html/mmm
>> >> >> >>
>> >> >> >> did a 1.2.3.4/mmm in the browser -- 1.2.3.4 points to the working 
>> >> >> >> test srvr..
>> >> >> >>  and I get the
>> >> >> >>       "The requested URL was not found on this server."
>> >> >> >>    (expected)..
>> >> >> >>
>> >> >> >> do the same thing on the "weird" test server...
>> >> >> >>   and i get the copy of the running test site.. not the "err" for 
>> >> >> >> the
>> >> >> >> "mmm" site dir..
>> >> >> >>
>> >> >> >> I'm missing something...
>> >> >> >>  there is no "mmm.conf" for the mmm dir..
>> >> >> >>  there's nothing under the list of the available sites for "mmm"
>> >> >> >>  it's as if I've installed/enabled something that's screwing up
>> >> >> >> Apache/setup/config.
>> >> >> >>
>> >> >> >> This could also explain why I'm getting the dir/index listing.
>> >> >> >>
>> >> >> >> thoughts?
>> >> >> >>
>> >> >> >> thanks
>> >> >> >>
>> >> >> >> ps. As a test, I copied/tested the "apache.conf" from the working 
>> >> >> >> srvr
>> >> >> >> to the srvr that's screwing up... no change in action/behaviour.
>> >> >> >> Also copied/tested the foo.conf from the working srvr to the test
>> >> >> >> srvr, and re-enabled it and restarted apache..
>> >> >> >>
>> >> >> >> no behavior difference..
>> >> >> >>
>> >> >> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> >> >> >> For additional commands, e-mail: users-h...@httpd.apache.org
>> >> >> >>
>> >> >> >
>> >> >> > Start by providing the output from apachectl -S.
>> >> >> >
>> >> >> > As for the directory listing, if you alias a directory and have no 
>> >> >> > directory index file in the target, you *will* get a directory 
>> >> >> > listing if Options +Indexes is set.
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> >> >> For additional commands, e-mail: users-h...@httpd.apache.org
>> >> >>
>> >> >
>> >> > Since you have no vhosts, the DocumentRoot, Alias and Directory 
>> >> > directives in the server context will apply here.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> >> For additional commands, e-mail: users-h...@httpd.apache.org
>> >>
>> >
>> > You had no *included* or *defined* virtual host, as per the previous 
>> > apachectl -S output.
>> > In that case, everything happens in the server context.
>> >
>> > Once you define vhosts, you have to add the relevant configuration in that 
>> > context.
>> >
>> > Every single included/defined vhost on a given port requires a 
>> > distinct/unique ServerName set.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>
> None of those are errors, to be clear.  Perhaps it would help to take a step 
> back and define your problem properly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to