Revision history for ModRewriteUsingDreamhost


Revision [22874]

Last edited on 2016-05-20 07:38:42 by BrianKoontz [Replaces old-style internal links with new pipe-split links.]
Additions:
This page can now be found on the [[Docs:ModRewriteUsingDreamhost | Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ModRewriteUsingDreamhost/revisions | old revisions of this page]] is still available for reference.<<
Deletions:
This page can now be found on the [[Docs:ModRewriteUsingDreamhost Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ModRewriteUsingDreamhost/revisions
old revisions of this page]] is still available for reference.<<


Revision [18083]

Edited on 2008-01-27 02:34:53 by BrianKoontz [Migrated to doc server]
Additions:
<<===This page has moved===
This page can now be found on the [[Docs:ModRewriteUsingDreamhost Wikka Documentation Server]].
Thanks for updating your bookmarks!
An archive of [[http://wikkawiki.org/ModRewriteUsingDreamhost/revisions
old revisions of this page]] is still available for reference.<<
::c::
CategoryMigratedDocs
Deletions:
[[WikkaDocumentation Wikka Documentation]]
====Dreamhost and mod_rewrite====
>>**See also**
~-ModRewrite >>ModRewrite has great general instructions on how to get wikkawiki working with Apache's mod_rewrite, but if you run your wiki on Dreamhost's servers you will need to configure things a little differently.

===Configuration===
To get mod_rewrite working with Dreamhost you will need to create some .htaccess files. You will need to put these files into your wiki directory. You can either:
~1 SSH into your Dreamhost account and create the files directly on the server
~1 Create the files on your local computer and then FTP them to the appropriate directories
Step 1: the primary .htaccess file
In your top level wikkawiki directory create (or upload) the following file, be sure to name the file **.htaccess**:
%%
Options +Indexes +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^\./]*[^/])$ $1/
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
%%
Step 2: secondary .htaccess files
Now that mod_rewrite is turned on for the entire wiki, we need to turn it off where it isn't needed. So create (or upload) the following file (again name it **.htaccess**):
%%
RewriteEngine off
%%
into the following directories:
~3rdparty/plugins/freemind
~3rdparty/plugins/wikiedit
~css
~images
Step 3: let wikkawiki know
Modify the wikka.config.php file (back it up first) and change the 'base_url' and 'rewrite_mode' to:
%%
'base_url' => 'http://your.wikkawiki.domain/',
'rewrite_mode' => '1',
%%
CategoryDocumentation


Revision [16434]

Edited on 2007-04-19 09:14:10 by BrianKoontz [Restored]
Additions:
Options +Indexes +FollowSymLinks
Deletions:
Options Indexes FollowSymLinks


Revision [16408]

Edited on 2007-04-19 08:30:39 by IziLft [Restored]
Additions:
Options Indexes FollowSymLinks
Deletions:
Options +Indexes +FollowSymLinks


Revision [14971]

The oldest known version of this page was created on 2006-07-25 16:21:24 by XyzzyB [Restored]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki