Re: apache setup/config properly..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Jul 24, 2024 at 6:53 AM bruce <badouglas@xxxxxxxxx> wrote:
Have rwo.3 test ubuntu servers - digital ocean.

1st server contains the initial list of webapps to test.
Apps reside in /var/www/html/...
Apps have
 chown www-data:www-data
 chmod 755

The tgt app
 /var/www/html/berat

The vhosts reside
 /etc/apache2/sites-available
 berat.conf

The 2nd test srvr is a "clone" of the 1st. So the action/webapps
should run the same.

However, running into a weird issue.

The test "berat" uses a reverse proxy with a node app, to generate
content for the app.
When the node server isn't running, the app should display an err.

test srvr1

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 server
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.

the working srvr...

test srvr2


Initially I ran both tests from the "/var/www/html/berat" dir.

But due to the issue with having the "dir" index/listing, I started
trying to figure out why.

I copied/tested the 1st srvr to the /var/www/html2/berat, changing the
berat.conf vhost for the docroot/directory as a test process.

No diff, still get the dir ndx/listing.

At this point, took a closer look at the err log
  tail -50 /var/log/apache/error.log

And I see a diff. -- don't know why, or what it means::

tst srvr1: --err
[Wed Jul 24 07:44:05.039030 2024] [mpm_prefork:notice] [pid 192785]
AH00163: Apache/2.4.58 (Ubuntu) configured -- resuming normal
operations
[Wed Jul 24 07:44:05.039068 2024] [core:notice] [pid 192785] AH00094:
Command line: '/usr/sbin/apache2'
[Wed Jul 24 07:44:05.048560 2024] [proxy:debug] [pid 198793]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:44:05.048620 2024] [proxy:debug] [pid 198793]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:44:05.048677 2024] [proxy:debug] [pid 198793]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 198793 for (127.0.0.1:3000)
[Wed Jul 24 07:44:05.050566 2024] [proxy:debug] [pid 198794]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:44:05.050610 2024] [proxy:debug] [pid 198794]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:44:05.050665 2024] [proxy:debug] [pid 198794]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 198794 for (127.0.0.1:3000)
[Wed Jul 24 07:44:05.056574 2024] [proxy:debug] [pid 198795]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:44:05.056618 2024] [proxy:debug] [pid 198795]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:44:05.056671 2024] [proxy:debug] [pid 198795]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 198795 for (127.0.0.1:3000)
[Wed Jul 24 07:44:05.061509 2024] [proxy:debug] [pid 198796]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:44:05.061550 2024] [proxy:debug] [pid 198796]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:44:05.061593 2024] [proxy:debug] [pid 198796]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 198796 for (127.0.0.1:3000)
[Wed Jul 24 07:44:05.062739 2024] [proxy:debug] [pid 198797]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:44:05.062771 2024] [proxy:debug] [pid 198797]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:44:05.062814 2024] [proxy:debug] [pid 198797]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 198797 for (127.0.0.1:3000)
[Wed Jul 24 07:44:45.362991 2024] [authz_core:debug] [pid 198795]
mod_authz_core.c(815): [client 162.234.196.167:57200] AH01626:
authorization result of Require all granted: granted
*********<<<<<<<<
[Wed Jul 24 07:44:45.363050 2024] [authz_core:debug] [pid 198795]
mod_authz_core.c(815): [client 162.234.196.167:57200] AH01626:
authorization result of <RequireAny>: granted
[Wed Jul 24 07:44:45.363391 2024] [authz_core:debug] [pid 198795]
mod_authz_core.c(815): [client 162.234.196.167:57200] AH01626:
authorization result of Require all granted: granted
[Wed Jul 24 07:44:45.363499 2024] [authz_core:debug] [pid 198795]
mod_authz_core.c(815): [client 162.234.196.167:57200] AH01626:
authorization result of <RequireAny>: granted



tst srvr2: --working
[Wed Jul 24 07:42:58.603344 2024] [mpm_prefork:notice] [pid 91665]
AH00163: Apache/2.4.58 (Ubuntu) configured -- resuming normal
operations
[Wed Jul 24 07:42:58.603420 2024] [core:notice] [pid 91665] AH00094:
Command line: '/usr/sbin/apache2'
[Wed Jul 24 07:42:58.605463 2024] [proxy:debug] [pid 91670]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:42:58.605510 2024] [proxy:debug] [pid 91670]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:42:58.605546 2024] [proxy:debug] [pid 91670]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 91670 for (127.0.0.1:3000)
[Wed Jul 24 07:42:58.607920 2024] [proxy:debug] [pid 91671]
proxy_util.c(2154): AH00925: initializing worker
http://127.0.0.1:3000/ shared
[Wed Jul 24 07:42:58.607954 2024] [proxy:debug] [pid 91671]
proxy_util.c(2214): AH00927: initializing worker
http://127.0.0.1:3000/ local
[Wed Jul 24 07:42:58.607989 2024] [proxy:debug] [pid 91671]
proxy_util.c(2262): AH00931: initialized single connection worker in
child 91671 for (127.0.0.1:3000)
[Wed Jul 24 07:43:03.630662 2024] [authz_core:debug] [pid 91667]
mod_authz_core.c(843): [client 162.234.196.167:46026] AH01628:
authorization result: granted (no directives)  *************<<<<<<
[Wed Jul 24 07:43:03.630780 2024] [proxy:debug] [pid 91667]
mod_proxy.c(1521): [client 162.234.196.167:46026] AH01143: Running
scheme http handler (attempt 0)
[Wed Jul 24 07:43:03.630789 2024] [proxy:debug] [pid 91667]
proxy_util.c(2576): AH00942: http: has acquired connection for
(127.0.0.1:3000)
[Wed Jul 24 07:43:03.630796 2024] [proxy:debug] [pid 91667]
proxy_util.c(2641): [client 162.234.196.167:46026] AH00944: connecting
http://127.0.0.1:3000/ to 127.0.0.1:3000
[Wed Jul 24 07:43:03.630940 2024] [proxy:debug] [pid 91667]
proxy_util.c(2864): [client 162.234.196.167:46026] AH00947: connected
/ to 127.0.0.1:3000



the test vhost is
 (docroot/dir is diff based on testing in the dirs)
<VirtualHost *:80>
    ServerAdmin foo@xxxxxxxxx
    ServerName  temp22
    ServerAlias temp
#
# as test.. run from html2
# all other apps are in html
# this is the same as the "clone" vhost
    DocumentRoot   /var/www/html2/berat

    #test for styles..
    #does order matter??? -- the actual ip is used to test..

     #ProxyPass /_next/static/   http://198.211.116.12/berat/.next/static/
     #ProxyPassReverse /_next/static   http://198.211.116.12/berat/.next/static/


#a     ProxyPass /_next/static/css
http://198.211.116.12/berat/.next/static/css/
#a     ProxyPassReverse /_next/static/css
http://198.211.116.12/berat/.next/static/css/

#a     ProxyPass /_next/static/chunks/app/
http://198.211.116.12/berat/.next/static/chunks/app/
#a     ProxyPassReverse /_next/static/chunks/app
http://198.211.116.12/berat/.next/static/chunks/app/

#a     ProxyPass /_next/static/chunks/
http://198.211.116.12/berat/.next/static/chunks/
#a     ProxyPassReverse /_next/static/chunks
http://198.211.116.12/berat/.next/static/chunks/

#a     ProxyPass /_next/static/media/
http://198.211.116.12/berat/.next/static/media/
#a     ProxyPassReverse /_next/static/media
http://198.211.116.12/berat/.next/static/media/

     #ProxyPass http://161.35.5.174/down.svg
http://161.35.5.174/berat/public/down.svg
     #ProxyPassReverse http://161.35.5.174/down.svg
http://161.35.5.174/berat/public/down.svg

#a     ProxyPass "/down.svg"   http://161.35.5.174/berat/public/down.svg
#a
     ProxyPassReverse "/down.svg"   http://161.35.5.174/berat/public/down.svg

#a     ProxyPass "/logo.svg"   http://161.35.5.174/berat/public/logo.svg
#a
     ProxyPassReverse "/logo.svg"  http://161.35.5.174/berat/public/logo.svg

     #ProxyPass "/_next/image"   http://161.35.5.174/berat/.next/image
     #ProxyPassReverse "/_next/image"   http://161.35.5.174/berat/.next/image


#aa     ProxyPass /_next/image/    http://161.35.5.174/berat/public/hero1
#http://161.35.5.174/berat/public

#     ProxyPassReverse /_next/image/   http://161.35.5.174/berat/public/hero1
#http://161.35.5.174/berat/public



     #ProxyPass /   http://161.35.5.174/berat/public/
     #ProxyPassReverse /   http://161.35.5.174/berat/public/


#     ProxyPass "hero.jpg&w=640&q=75"   http://161.35.5.174/berat/public/hero1
#     ProxyPassReverse "hero.jpg&w=640&q=75"
http://161.35.5.174/berat/public/hero1

#     ProxyPass /_next/image?url=""> http://161.35.5.174/berat/public/hero2
#     ProxyPassReverse /_next/image?url=""> http://161.35.5.174/berat/public/hero2

#     ProxyPass /_next/image?url=""> http://161.35.5.174/berat/public/hero2
#     ProxyPassReverse /_next/image?url=""> http://161.35.5.174/berat/public/hero2

#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero1
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero1

#     ProxyPass /_next/image?url=""> http://161.35.5.174/berat/public/hero2
#     ProxyPassReverse /_next/image?url=""> http://161.35.5.174/berat/public/hero2

#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero1
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero1

#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero2
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero2

#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero1
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero1

#a     ProxyPass /_next/image/   http://161.35.5.174/berat/publicfoo/
#a
     ProxyPassReverse /_next/image   http://161.35.5.174/berat/publicfoo/

     #ProxyPass /_next/static/media/
http://161.35.5.174/berat/.next/static/media/
     #ProxyPassReverse /_next/static/media
http://161.35.5.174/berat/.next/static/media/


#     ProxyPass "/_next/image/"   qqqqq
#     ProxyPassReverse "/_next/image/"   qqqqq



#/_next/image?url=""> # /_next/image?url=""> #/_next/image?url="">
#/_next/image?url=""> #/_next/image?url="">
#      Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero1%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero1|i"
#      Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero1%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero1|i"

#      ProxyHTMLEnable on

#      AddOutputFilterByType SUBSTITUTE text/html text/xml
text/_javascript_ application/json
#a      Substitute "s|1920|77777|i"
#a      Substitute "s|648|64888|i"

#      Substitute "s|Ideal Experience|BBBBBBBBBBBB|i"


      #Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero2%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero2|i"
      #Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero2%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero2|i"

#      Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero2%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero2|i"

      #Substitute "s|http://uat.site.co.jp/|http://jp.uat.site2uk.co.uk/|i"

#a      AddOutputFilterByType SUBSTITUTE text/html text/xml
text/_javascript_ application/json

#test
 RewriteEngine On
#a RewriteCond %{HTTP:Connection} Upgrade [NC]
#a RewriteCond %{HTTP:Upgrade} websocket [NC]
#a RewriteRule /(.*) ws://127.0.0.1:3000/$1 [P,L]

#a      Substitute "s|1920|77777|i"
#a      Substitute "s|648|64888|i"


    #test for styles..

#ww     ProxyPass /berat http://127.0.0.1:3000/
#ww     ProxyPassReverse /berat http://127.0.0.1:3000/

##--- leave this alone.. it works jul22/24
## gets the 200 code for the content..
     ProxyPass /berat http://127.0.0.1:3000/
     ProxyPassReverse /berat http://127.0.0.1:3000/

#     ProxyPass /_next/static/chunks/
http://198.211.116.12/berat/.next/static/chunks/
#     ProxyPassReverse /_next/static/chunks
http://198.211.116.12/berat/.next/static/chunks/

#test

#ttest substitute below
 RewriteEngine On
    SetOutputFilter INFLATE;proxy-html;SUBSTITUTE;DEFLATE;
    ProxyHTMLInterp On
    ProxyHTMLExtended Off


      AddOutputFilterByType SUBSTITUTE text/html
#text/xml text/_javascript_ application/json
      #Substitute "s|Ideal Experience|zz zz BBBBBBBBBBBB|"
      Substitute "s|/_next/static/|\.\./\.next/static/|"

     #Substitute "s|/_next/static/chunks|\.\./\.next/static/chunks|"
     #ProxyPass /_next/static/   http://198.211.116.12/berat/.next/static/

     #Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero2%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero2|i"
#     Substitute
"s|/_next/image?url="">
#      Substitute
"s|/_next/image?url="" href="http://161.35.5.174/berat/public/hero1%7Ci" rel="noreferrer" target="_blank">http://161.35.5.174/berat/public/hero1|i"
#      Substitute
"s|/_next/image?url="">       Substitute
"s|/_next/image\?url="">
#      Substitute
"s|/_next/image?url=""> #      Substitute
"s|/_next/image?url="">
#http://198.211.116.12
#/_next/image?url="">

#EnableSendfile off
# test above

#a RewriteCond %{HTTP:Connection} Upgrade [NC]
#a RewriteCond %{HTTP:Upgrade} websocket [NC]
#a RewriteRule /(.*) ws://127.0.0.1:3000/$1 [P,L]


#a      AddOutputFilterByType SUBSTITUTE text/html text/xml
text/_javascript_ application/json
#a      Substitute "s|1920|7777744|i"
#a      Substitute "s|648|6488811|i"



#test2
     #ProxyPass /_next/image/    http://161.35.5.174/berat/public/hero1
#http://161.35.5.174/berat/public

     #ProxyPassReverse /_next/image/   http://161.35.5.174/berat/public/hero1
#http://161.35.5.174/berat/public



#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero1
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero1

#     ProxyPass "/_next/image?url=""> http://161.35.5.174/berat/public/hero2
#     ProxyPassReverse "/_next/image?url=""> http://161.35.5.174/berat/public/hero2



    #DocumentRoot   /var/www/html/berat


    <Directory    /var/www/html2/berat>

  Header Set Pragma "no-cache"
  Header Set Expires "Thu, 1 Jan 1970 00:00:00 GMT"
  Header Set Cache-Control "max-age=0, no-store, no-cache, must-revalidate"
  Header Unset ETag
  FileETag None

            #ProxyRequests Off
            #ProxyPreserveHost On
            #<Proxy *>
            #  Require all granted
            #</Proxy>

            #ProxyPass / http://127.0.0.1:3000/

            #ProxyPassReverse / http://127.0.0.1:3000/

    #        DirectoryIndex index.html index.php

    #        Options -Indexes +FollowSymLinks +MultiViews
            Options +FollowSymLinks   +MultiViews

            AllowOverride All
            #Options -MultiViews
            #i think or 2.4 Order allow,deny
            #i think for 2.4 Allow from all

            #use for 2.4?
            Require all granted
            ##Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All Require all granted


            ##Options Indexes FollowSymLinks MultiViews
            ##Options -Indexes FollowSymlinks
            #Options FollowSymlinks
            #AllowOverride All
            ##Order allow,deny
            ##allow from all
            #Require all granted




    </Directory>

    ##Alias "/berat" "/var/www/html/berat/"


    LogLevel debug
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


as far as I can determine, the enabled/installed mods for apache are
the same on both systems.


any thoughts/comments for why the test servers would have diff
displays for same code?

the url(s) is actual test servers


On Tue, Jul 23, 2024 at 7:00 PM Frank Gingras <thumbs@xxxxxxxxxx> wrote:
>
>
>
> On Tue, Jul 23, 2024 at 6:39 PM bruce <badouglas@xxxxxxxxx> wrote:
>>
>> 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 <thumbs@xxxxxxxxxx> wrote:
>> >
>> >
>> >
>> > On Tue, Jul 23, 2024 at 5:16 PM bruce <badouglas@xxxxxxxxx> 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 <thumbs@xxxxxxxxxx> wrote:
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jul 23, 2024 at 2:40 PM bruce <badouglas@xxxxxxxxx> 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 <thumbs@xxxxxxxxxx> wrote:
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jul 23, 2024 at 1:29 PM bruce <badouglas@xxxxxxxxx> 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 <thumbs@xxxxxxxxxx> wrote:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Tue, Jul 23, 2024 at 12:07 PM bruce <badouglas@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
>> >> >> >> >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> > 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-unsubscribe@xxxxxxxxxxxxxxxx
>> >> >> >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >> >> >>
>> >> >> >
>> >> >> > Since you have no vhosts, the DocumentRoot, Alias and Directory directives in the server context will apply here.
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>> >> >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >> >>
>> >> >
>> >> > 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-unsubscribe@xxxxxxxxxxxxxxxx
>> >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >>
>> >
>> > 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-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>
> Show the relevant vhosts for those requests, and the relevant error log entries.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Crickey - can you provide the uncommented lines from each vhost, and relevant error log entries as well? What you provided is far too lengthy and messy.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux