Jump to content

Recommended Posts

Posted (edited)

Is RewriteEngine allowed? My current architecture requires it. 

 

Account:

walterpowell

Domains:

walterpowell.heliohost.us (main)

waltsblog.heliohost.us

 

Thanks again.

Edited by walterpowell
Added a space (readability)
Posted

I am having zero luck today. 😁

I tested the following in /httpdocs

.htaccess:

RewriteEngine On

error_log:

[Wed Oct 16 14:06:28.617175 2024] [core:alert] [pid 3542333:tid 3542418] [client 75.112.87.226:0] /home/walterpowell.heliohost.us/httpdocs/.htaccess: Invalid command '\xef\xbb\xbfRewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

No other directive is in .htaccess

Posted

Ok. Sorry. I forgot Total Commander saves files with BOM (\xef\xbb\xbf) by default. Recreated .htacces with Termux (no BOM by default) and issue resolved. Hope this helps someone else down the line.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...