Re: Unable to load javascript files with the apache configuration file

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

 



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-apache@xxxxxxxxxxxxxxxxxxxxx>
wrote:



Date: Wednesday, March 30, 2022 15:57:52 +0530
From: SAJESH PC <pc.sajesh800@xxxxxxxxx>

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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





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



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




[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