Penguin

Differences between version 6 and previous revision of RewriteRules.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 6 Last edited on Saturday, September 28, 2002 10:33:20 am by MattBrown Revert
Older page: version 5 Last edited on Friday, September 27, 2002 6:35:31 pm by CraigBox Revert
@@ -16,4 +16,18 @@
  % cat >.htaccess <<EOF 
  !RewriteRule (.*) /phpwiki-1.3.3/index.php/$1 [[L] 
  !RewriteEngine On 
  EOF 
+  
+  
+For the [CRCnet] wiki I do it this way  
+  
+* In your docroot have two directories, one called wiki and another called phpwiki (or whatever) the wiki directory should have no files in it at the moment, the phpwiki directory should have the wiki source  
+* In the wiki directory create a .htaccess file that looks like the following  
+  
+ Action x-phpwiki-page /phpwiki/index.php  
+ !SetHandler x-phpwiki-page  
+ !DirectoryIndex /phpwiki/index.php  
+  
+* Make sure that !AllowOverrides is set appropriately to allow the .htaccess file to be used  
+  
+I think that is all :)