Open njurgens opened 10 years ago
I agree with this, also i updated the htaccess with
RewriteRule ^(.*)$ index.php [L,QSA]
removing the slash before index.php
I tried all of your hints, but Wikitten does not work correctly on my local machine. The home page shows, but when I click on any of the .md files in the menu, the error 404 (not found) appears. I configured the path in the config.php, but nothing helps. At my hoster’s web space, everything works fine. So I guess there must be anything in my local Apache configuration that I have overlooked.
Maybe check if modrewrite is enable in your local apache
# a2enmod rewrite
Yes, it is enabled: LoadModule rewrite_module modules/mod_rewrite.so
Sorry, forgot to say my local machine runs on GNU/Linux (Antergos, an Arch derivative) 64-bit and has Apache 2.4 and PHP 7.2 installed.
The web server is also GNU/Linux with Apache 2.4 and PHP 7.2.
I run my local webpage out of my home directory using
mod_userdir
. Whenever I would click a link I would get "index.php was not found on this server". Eventually I figured out it was necessary to addRewriteBase /~my-user-name/
to the.htaccess
. It might be useful to mention in the installation instructions that you need to set theRewriteBase
directive if you don't want to or can't run the wiki from the webroot.