Revision history for ModRewrite


Revision [1841]

Last edited on 2009-01-31 02:04:48 by DarTar [Removed carriage return]

No Differences

Revision [1282]

Edited on 2008-11-01 23:23:06 by DarTar [Removed HomePage link]
Deletions:
HomePage


Revision [626]

Edited on 2008-02-01 17:22:23 by DarTar [removing the note, unless I'm missing something]
Additions:
~-[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**. ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL http://wikkawiki.org/wikka.php?wakka=DotMG into http://wikkawiki.org/DotMG. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Wikka works with or without ##mod_rewrite## but this page will guide you through the steps required to create nicer URLs by activating URL rewriting functionality.
Note: this may not work when you installed wikka in some subdirectory. In that case, edit ##.htaccess## and add the following line, right after the line that reads ##""RewriteEngine on""##:
If after following the instruction above mod_rewrite is still not working, first make sure that Wikka is actually running on Apache. Creating a page with just ##""<?php phpinfo();?>""## and calling this page up in the browser will give a host of information about the environment PHP is running in.
Some Apache versions for Windows have a bug that will lowercase all URLs when using mod_rewrite. This is a problem in Wikka, specifically when [[http://wikkawiki.org/ModRewriteDevelopment | creating new pages]]. We're looking into the possibility of creating a workaround for this.
Deletions:
<<NOTE: We **strongly** suggest you read this page on the Wikka [[http://wikkawiki.org/ModRewrite | main server]].
The main server contains many user contributions on this issue.<<
~-[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##""http://wikkawiki.org/wikka.php?wakka=DotMG""## into ##""http://wikkawiki.org/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Wikka works with or without ##mod_rewrite##.
Note: this may not work when you installed wikka in some subdirectory. In that case, edit ##.htaccess## and add the following line, right after the line that reads "**RewriteEngine on**":
If after following the instruction above mod_rewrite is still not working, first make sure that Wikka is actually running on Apache. Creating a page with just %%(php)<?php phpinfo();?>%% and calling this page up in the browser will give a host of information about the environment PHP is running in.
Some Apache versions for Windows have a bug that will lowercase all URLs when using mod_rewrite; this is a [[ModRewriteDevelopment | problem in Wikka specifically when creating new pages]]. We're looking into the possibility of creating a workaround for this.


Revision [550]

Edited on 2008-01-30 16:31:18 by YanB [removing jsnx.com]
Additions:
~-[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##""http://wikkawiki.org/wikka.php?wakka=DotMG""## into ##""http://wikkawiki.org/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Deletions:
~-[[[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##""http://wikka.jsnx.com/wikka.php?wakka=DotMG""## into ##""http://wikka.jsnx.com/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---


Revision [375]

Edited on 2006-12-27 12:25:29 by YanB [partial reviewing]
Additions:
~-[[[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##""http://wikka.jsnx.com/wikka.php?wakka=DotMG""## into ##""http://wikka.jsnx.com/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Deletions:
~-[[[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##"''http://wikka.jsnx.com/wikka.php?wakka=DotMG""## into ##""http://wikka.jsnx.com/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---


Revision [374]

Edited on 2006-12-27 12:25:02 by YanB [partial reviewing and updating]
Additions:
HomePage
<<NOTE: We **strongly** suggest you read this page on the Wikka [[http://wikkawiki.org/ModRewrite | main server]].
The main server contains many user contributions on this issue.<<
~-[[http://wikkawiki.org/ModrewriteInSubdirectoryWorkaround | ModrewriteInSubdirectoryWorkaround]]
~-[[http://wikkawiki.org/ServerErrorWorkaround | ServerErrorWorkaround]]
~-[[http://wikkawiki.org/MissingToolbarWorkaround | MissingToolbarWorkaround]]
~-[[http://wikkawiki.org/MissingImagesWorkaround | MissingImagesWorkaround]]
~-[[http://wikkawiki.org/MissingStylesWorkaround | MissingStylesWorkaround]]
~-[[[[http://wikkawiki.org/ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; ##mod_rewrite## "rewrites" URLs so it can do things like translate the URL ##"''http://wikka.jsnx.com/wikka.php?wakka=DotMG""## into ##""http://wikka.jsnx.com/DotMG""##. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Wikka works with or without ##mod_rewrite##.
During installation, Wikka will try to figure out if mod_rewrite is available. If Wikka does not detect ##mod_rewrite##, it's possible to manually configure Wikka to use it after installation.
- Edit ##[[ConfigurationOptions | wikka.config.php]]## (found in the root directory of the Wikka installation). ---
That's it. Notice the small change. We are just removing "wikka.php?wakka=" and then setting ##rewrite_mode## to 1. **Note that the two configuration settings must always match** - if not, you'll end up with strange errors and pages not found.
Note: this may not work when you installed wikka in some subdirectory. In that case, edit ##.htaccess## and add the following line, right after the line that reads "**RewriteEngine on**":
Check your logs! For instance, if you see a "File does not exist: /some/internal/path/to/HomePage" in your ##error_log##, check ##wikka.config.php## and make sure ##base_url## is set to the correct pathname to access your wiki, //and that it includes a trailing slash (/)!// For example, if you normally access your wiki using ## ""http://yourdomain.com/mywiki"" ##, then your ##base_url## must be set to:
CategoryEN CategoryReview
Deletions:
[[WikkaDocumentation Wikka Documentation]]
~-ModrewriteInSubdirectoryWorkaround
~-ServerErrorWorkaround
~-MissingToolbarWorkaround
~-MissingImagesWorkaround
~-MissingStylesWorkaround
~-[[ModRewriteDevelopment | Development/Discussion]] >>The Apache webserver has a module called **##mod_rewrite##**; mod_rewrite "rewrites" URLs so it can do things like translate the URL http://wikka.jsnx.com/DotMG into http://wikka.jsnx.com/wikka.php?wakka=DotMG. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL. ---
Wikka works with mod_rewrite. And Wikka works without mod_rewrite.
During installation, Wikka will try to figure out if mod_rewrite is available. If Wikka does not detect mod_rewrite, it's possible to manually configure Wikka to use it after installation.
- Edit wikka.config.php (found in the root directory of the Wikka installation). ---
That's it. Notice the small change. We are just removing "wikka.php?wakka=" and then setting rewrite_mode to 1. **Note that the two configuration settings must always match** - if not, you'll end up with strange errors and pages not found.
Note: this may not work when you installed wikka in some subdirectory. In that case, edit .htaccess and add the following line, right after the line that reads "**RewriteEngine on**":
Check your logs! For instance, if you see a "File does not exist: /some/internal/path/to/HomePage" in your ##error_log##, check ##wikka.config.php## and make sure ##base_url## is set to the correct pathname to access your wiki, //and that it includes a trailing slash (/)!// For example, if you normally access your wiki using ## http://yourdomain.com/mywiki ##, then your ##base_url## must be set to:
CategoryDocumentation


Revision [194]

The oldest known version of this page was created on 2006-08-22 04:40:16 by BrianKoontz [partial reviewing and updating]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki