New installation, /Login results in 404 not found
I have my installation here
https://example.com/wiki/Login
Going to this URL results in 404 Not Found.
I'm using Apache httpd under RHEL 8.
Comments
Log in or create an account to post a comment.
Re: New installation, /Login results in 404 not found
https://example.com/wiki/index.php?page=Login
Is there a way to configure WackoWiki to use this type of URL instead of apache rewrite?
Re: New installation, /Login results in 404 not found
but no change, the links are still the short ones without traditional variables in the URL
Re: New installation, /Login results in 404 not found
see Only seeing index page 404 on other pages
Re: New installation, /Login results in 404 not found
I have 'rewrite_mode' => 0, but the system keeps defaulting back to the fancy URLs.
Re: New installation, /Login results in 404 not found
Every link is now the fancy version, so I'm not able to edit pages to Call to any Action.
Re: New installation, /Login results in 404 not found
RewriteEngine Off
and made sure this file had httpd access/permissions – still no change in the URLs all over the site.
Re: New installation, /Login results in 404 not found
LoadModule rewrite_module modules/mod_rewrite.so
from the httpd config and restarted httpd
The fancy links still appear. This is getting a little beyond frustrating haha
Re: New installation, /Login results in 404 not found
You have somewhere a Apache configuration issue, rewrite_mode should only affect the wiki folder (per-directory context, .htaccess file).
Variant A (preferred)
AllowOverride All
.htaccess
in wiki root folder (directory context)Variant B
.htaccess
in wiki root folderVariant C
http://example.com/?page=Login
Variant D (only for debugging)
const AUTO_REWRITE = 0;
(in config/constants.php).htaccess
in wiki root folder, e.g.dist.htaccess
LoadModule rewrite_module modules/mod_rewrite.so
is activated.class/settings.php
Re: New installation, /Login results in 404 not found
const AUTO_REWRITE = 0; (it was previously 1)
All links in the wiki are still shown with fancy URLs and not traditional ?var=value&var2=value2
I've tried deleting all files from the _cache folder – same result
I tried copying the updated config.php and constants.php to the _cache/constants/ folder – same result
I've accessed the wiki with a different browser to rule out weird localized caching – same result
Re: New installation, /Login results in 404 not found
If you want activate mode_rewrite you have to ensure that the .htaccess file is taken into account.
Otherwise you have to delete or rename the .htaccess file.