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

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

 



Hi
Iam sharing  the /var/log/apache2/access.log.
regards
Sajesh

On Thu, Mar 31, 2022 at 12:53 AM Paul <stormy22@xxxxxxxxx> 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=""> 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

Attachment: access.png
Description: PNG image

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