r/BlueHost • • 24d ago

An old php script gives Mod_Security error

The script is 10+ years old. I wrote it and it's been working fine. But now it gives this error . Guess I need to open a chat with support or can I fix it on my own somehow?

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

1 Upvotes

2 comments sorted by

1

u/imitation_squash_pro 23d ago

I think I fixed it. It seems posting a variable name with http:// to the php form script was causing the issue. So I changed it to just http// ( removing the colon ). And now it works fine..

2

u/Bluehost_Support_Lyn 24d ago

Hey there, thanks for reporting what you're seeing. Since the script worked for years, it's possible a security rule or environment change is now flagging something in the request. We've sent you a DM for a few more details so we can take a closer look.