Question

assets not loading 403 & document 404.. cialis token? apache error AH01797: client denied by server configuration

Hi I’ve got a WordPress website and when I go to a URL containing the word ‘specialis’ the assets don’t load. The dev console shows 403 error on the assets (CSS, JS & images) and the document 404.

What’s strange is if I go to speciali the assets load.

I can’t figure out why the assets load for speciali and don’t load for specialis.

The .htaccess file doesn’t have anything conflicting in it.

I’ve searched the database for all specialis entries and there’s nothing obvious there.

Here’s what the apache error log shows -

[access_compat:error] [pid 16518:tid 139963730081536] [client myip:53260] AH01797: client denied by server configuration: /sites/mysite/public_html/wp-content/themes/mysite-child/css/global.css, referer: https://mysite.com/specialis

The file and folder permissions are also OK.

My friend says a cialis token is causing this issue. I’ve never heard of a cialis token.

Can someone please advise on how to fix this so the assets load again?

Many thanks in advance


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

As the file permissions are correct what I could suggest is:

  • If you have a plugin like WordFence, check if it is blocking specific requests or words
  • Check your .htaccess file for any deny rules
  • Check your Apache config file and your Apache Vhost config for any deny rules
  • If you have a content delivery network like Cloudflare, make sure that you don’t have specific deny rules there

Let me know how it goes. Regards, Bobby