Skip to main content
Topic: user authentication works locally but doesn't work on production server (Read 1346 times) previous topic - next topic

user authentication works locally but doesn't work on production server

Hello all,
I created a simple project and it works locally.
But once published (provided I changed the database settings in the config.php file) on production server, it doesn't work if I use user authentication and role permissions (static roles).
If I disable the user authentication features, the site works.
Just after enabling the user authentication features and republishing/reuploading the whole project I get "page not found" errors everywhere.
I already checked the .htaccess feature on the server and it's enabled by default.
What else can I check?
TIA
tony

Re: user authentication works locally but doesn't work on production server

Reply #1
@sweetman‍ please make sure publish to production is set to false, for it to point you in the direction of the error, thanks.
I suspect your issue is with apache mode_rewrite and if it is not that, then the above configuration should point you to the cause of the error.