As well, do not forget that you will need to bump the log level to see useful details about 404 errors on 2.4.
On Wed, 30 Mar 2022 at 15:23, Paul <storm...@stormy.ca> wrote: > On 2022-03-30 2:17 p.m., SAJESH PC wrote: > > Iam sharing a screenshot of the browser console errors. Hope this helps. > > Probably not an apache error. In the <head> section of your HTML, you > should have something like: > <script src="../jscrips/whatever.js"></script> > and it might be that you've just got the path wrong. > > Otherwise pleas send, as text, the relevant lines from /var/log/apache > -- either error.log or auth.log > > P. > > > > > On Wed, Mar 30, 2022 at 8:14 PM Richard < > lists-apa...@listmail.innovate.net> > > wrote: > > > >> > >> > >>> Date: Wednesday, March 30, 2022 15:57:52 +0530 > >>> From: SAJESH PC <pc.sajesh...@gmail.com> > >>> > >>> Hi, > >>> I have set up a http server with the configuration given as > >>> attachment. But it is not serving javascript files from the folder > >>> javascript. It is giving a 404 return code. The real intention here > >>> is that the javascript files should not be accessible directly but > >>> through html files only or when accessed through software only. How > >>> to correct the configuration file. > >> > >> Have you looked at the output in your errors file? It will likely be > >> rather more informative than a simple "404". > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > >> For additional commands, e-mail: users-h...@httpd.apache.org > >> > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > > For additional commands, e-mail: users-h...@httpd.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >