<Directory></Directory> refers to the full filesystem path. I strongly doubt that you have /jscripts/ on your system.
On Sun, 3 Apr 2022 at 03:45, SAJESH PC <pc.sajesh...@gmail.com> wrote: > Hi all, > I got it corrected by changing <Directory "/javascript/"> to <Directory > "/jscripts/">. What is the real problem here? > regards > > > On Sat, Apr 2, 2022 at 2:39 AM Ruben Safir <mrbrk...@panix.com> wrote: > >> On 3/30/22 14:17, SAJESH PC wrote: >> > Iam sharing a screenshot of the browser console errors. Hope this helps. >> > >> >> fwiw apache looks like it is working just file >> >> and it is not a great idea to send images on mailing lists. >> >> > On Wed, Mar 30, 2022 at 8:14 PM Richard >> > <lists-apa...@listmail.innovate.net >> > <mailto:lists-apa...@listmail.innovate.net>> wrote: >> > >> > >> > >> > > Date: Wednesday, March 30, 2022 15:57:52 +0530 >> > > From: SAJESH PC <pc.sajesh...@gmail.com >> > <mailto: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 >> > <mailto:users-unsubscr...@httpd.apache.org> >> > For additional commands, e-mail: users-h...@httpd.apache.org >> > <mailto:users-h...@httpd.apache.org> >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> > For additional commands, e-mail: users-h...@httpd.apache.org >> >> >> -- >> So many immigrant groups have swept through our town >> that Brooklyn, like Atlantis, reaches mythological >> proportions in the mind of the world - RI Safir 1998 >> http://www.mrbrklyn.com >> >> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 >> http://www.nylxs.com - Leadership Development in Free Software >> http://www2.mrbrklyn.com/resources - Unpublished Archive >> http://www.coinhangout.com - coins! >> http://www.brooklyn-living.com >> >> Being so tracked is for FARM ANIMALS and extermination camps, >> but incompatible with living as a free human being. -RI Safir 2013 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >>