Comments (7)
Is mod_rewrite
installed? If yes, is AllowOverride
set to All
in your Apache conf / VirtualHost config? The links depend on URL rewriting to work, as they route all requests through the index.php file, where each file is parsed and served.
from wikitten.
Im not using a virtual host like you mention in the Setup guide, and when I do sudo a2enmod rewrite it says Module rewrite is already enabled.
from wikitten.
Having mod_rewrite
installed isn't enough. You still have to tell apache to allow the .htaccess
file to set up RewriteRules
by specifying AllowOverride All
or at least AllowOverride FileInfo
.
What OS are you using?
from wikitten.
Im using ubuntu server.
So what do I need to add to the virtualhosts config?
I assume I need to add something like:
<Directory /var/www/Wikitten>
AllowOverride All
Or something similar?
Thanks
from wikitten.
Yes. On an Ubuntu system that you haven't configured diferently, you should find the default virtual host config in the /etc/apache2/sites-available/default
file. Make sure it says AllowOverride All
(or at least AllowOverride FileInfo
) under your document root directory section in the file, then restart Apache (sudo service apache2 restart
)
from wikitten.
Cool
Thanks
Perhaps add that to the Installation part of your wiki page??
You mention about VirtualHosts, but I didnt realise I need to change that parameter, maybe others have this problem??
Thanks
Alex
from wikitten.
You are right, perhaps I should mention this requirement on the website. Or even provide a no-htaccess alternative.
Anyway, I'm glad it works for you now.
from wikitten.
Related Issues (20)
- Do Bootstrap accordions work?
- PHP 7 support? HOT 2
- pastebin网站上的笔记如何使用呢?
- one user write,and everyone can read
- 【BUG】Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/wwwroot/Wikitten/renderers/Markdown/Markdown.php on line 1799
- Code Snippets HOT 1
- Uncaught Exception: Page 'index.md' was not found HOT 3
- Error 403 on saving markdown page that contains the String `/etc/`
- HTTP 200 when page doesn't exist HOT 1
- Proposal: new theme-s HOT 1
- Feature Request HOT 9
- Why is there an inconsistency between the live version and the GitHub version? HOT 3
- Major Upgrade Features Planned to make this my Evernote replacement... HOT 2
- How about disqus support?
- Nginx? HOT 2
- Req: Mermaid (via Mermaid-PHP perhaps?)
- can wikitten create table of Contents automatic?
- Index wrong on windows HOT 2
- how to customize css HOT 1
- Possible failure when running built-in php server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikitten.