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.