RobG64 Posted May 20, 2021 Share Posted May 20, 2021 Hello! As the title says, I'm getting the error, below, when I try to access the login page (the website displays fine). This is a new install on IONOS hosting and the .htaccess file is being read (I've posted that file below as well. I've tried commenting out the .htaccess line by line, removing the file, even tried throwing one in from one of my Wordpress sites :), but nothing helped. I appreciate any suggestions! Thanks - Rob Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. # Start ProcessWire:pwbphp (update 17) # block all PHP files (optional fallback if root .htaccess missing) <FilesMatch "\.(php|module|inc)$"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order allow,deny Deny from all </IfModule> </FilesMatch> # End ProcessWire:pwbphp Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 20, 2021 Share Posted May 20, 2021 If that's all you have in your /.htaccess then there is something wrong with it. The full PW .htaccess should look something like that: https://github.com/processwire/processwire/blob/master/htaccess.txt So please double check that first. If that's fine try to change the rewrite base in your /.htaccess which is necessary sometimes. Another thing could be wrong read/write/execute permissions on files and folders. There are already a few guides and tips for this error even on IONOS/1&1. Try either the forum search or Google search for that. Last but not least... welcome to the forum! Link to comment Share on other sites More sharing options...
teppo Posted May 20, 2021 Share Posted May 20, 2021 3 hours ago, RobG64 said: # Start ProcessWire:pwbphp (update 17) # block all PHP files (optional fallback if root .htaccess missing) <FilesMatch "\.(php|module|inc)$"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order allow,deny Deny from all </IfModule> </FilesMatch> # End ProcessWire:pwbphp This looks like the .htaccess file found from /site/. You should check the one in your websites root directory (one folder above /site/) instead. As @wbmnfktr mentioned, similar issues have been covered here before. This one could be related (though I'm kind of guessing here). It's a bit old so there have been some changes to the root .htaccess file since then as well: 1 Link to comment Share on other sites More sharing options...
RobG64 Posted May 20, 2021 Author Share Posted May 20, 2021 Thank you both - I thought the file looked wrong but that was what was in my /site folder after the installation completed. Sorry if I was being repetitive but I didn't find any answers doing a search, in the forums, that helped. I'll post an update after I resolve! Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 20, 2021 Share Posted May 20, 2021 1 minute ago, RobG64 said: in my /site folder Don't change anything in your /site/.htaccess that's fine how it looks. Check the one in your web root. That's the one that needs to be complete and which might need some tweaks. For a better understanding where to look: The important files and folders are: site, wire, .htaccess and index.php Link to comment Share on other sites More sharing options...
RobG64 Posted May 21, 2021 Author Share Posted May 21, 2021 Mea culpa! You were both right! I thought it was the .htaccess file within the /site directory - once I realized it was the file at the root I simply uncommented out "RewriteBase /" and all is good ? Thanks both! Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 21, 2021 Share Posted May 21, 2021 Perfect! Have fun with ProcessWire. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now