Hello Peter,

Thanks for replying.

Here is the .htaccess:

# Use mod_rewrite to enable "Clean URLs" for a PmWiki installation.
RewriteEngine On
# The rewrite base will be the document root
RewriteBase /                   <= [3]
# Send requests without parameters to index.php
RewriteRule ^$  index.php       [L]
# Send requests for index.php to index.php
RewriteRule ^index.php$ index.php       [L]
# Send requests to index.php, appending the query string part.
RewriteRule ^([A-Z0-9\xa0-\xff].*)$     index.php?n=$1  [QSA,L]

[3] If I put /mywiki1/ here, I get "404: /mywiki1/index.php not found on 
this server" (??) when I call "http://mywiki1.tld";.

The location of the .htaccess is shown below.

... my directory structure look like this:

server_document_root/pmwiki/... <= [1]
server_document_root/mywiki1/   <= [2]
server_document_root/mywiki1/.htaccess
server_document_root/mywiki1/favicon.ico
server_document_root/mywiki1/index.php
server_document_root/mywiki1/cookbook/...
server_document_root/mywiki1/local/config.php
server_document_root/mywiki1/pub/...
server_document_root/mywiki1/wiki.d/...
...

[1] no URL points here
[2] this is where the shortest URL to call mywiki1 points to;
      there is an index.php here with "include('../pmwiki/pmwiki.php');"
      ... and the .htaccess

Harald


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to