Browser Finds CSS File but Doesn’t Load It

Apache, Lighttpd, nginx, Cherokee
Post Reply
onghyr
Posts: 1
Joined: 2026-03-09 03:36
 

Browser Finds CSS File but Doesn’t Load It

Post by onghyr »

Here is the situation:

I have two machines where both were upgraded from openSUSE 15.0 to openSUSE 15.1. The systems are configured almost identically, and both are running apache2 among other services.

Both web servers are using exactly the same HTML, PHP, and CSS files. The only difference inside the /etc/apache2 directory is a single entry in ip-based_vhosts.conf, where the IP addresses are adjusted for each machine. The /etc/sysconfig/apache2 configuration is identical on both systems.

For context, these two machines operate in an active/passive cluster. Only one node actively provides services while the other stays on standby.

The issue is that on one machine the CSS file is detected and loaded correctly, while on the other machine the file can be located but is not actually loaded by the browser. My suspicion is that the wwwrun user might somehow be missing read permissions for that CSS file on the problematic server.

The CSS file is stored inside a subdirectory of the document root, and files in other subdirectories are being accessed without any problems.

At this point I’m running out of ideas. Are there any other settings or factors that could affect access permissions or prevent the CSS file from being loaded?

Any suggestions would be greatly appreciated.
Post Reply