[Pmwiki-users] Fwd: Problem setting CleanURLs for personal Pmwiki
Patrick R. Michaud
pmichaud
Sat Dec 25 08:35:01 CST 2004
On Fri, Dec 24, 2004 at 10:31:31AM -0500, slonik AZ wrote:
> Hi Everybody,
> I have serious problems configuring "CleanURLs" for my personal Pmwiki.
> I am Running SUSE-9.1 Linux, Apache 2.0.49 with mod_rewrite loaded.
> My personal wiki is located at /home/me/publix_hmtl/pmwiki and is being
> addressed as http://localhost/~me/pmwiki/
> Everything works fine except for my attempts to cleanup URLs.
> I followed instructions in
> http://www.pmwiki.org/wiki/Cookbook/CleanUrls, placed .htaccess file
> in /home/me/public_html/pmwiki/ directory, modified config.php
> accordingly, etc.
Can you send your .htaccess file? Sometimes small typos in this file
cause very odd results.
> Unfortunately, when I try http://localhost/~me/pmwiki/, my wiki is
> unaccessible.
> Browser displays error message "Object not found!" Error 404.
> /var/log/apache2/error_log shows error line
> [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/pmwiki
I'm going to guess that you've got
RewriteEngine on
RewriteRule ^([A-Z].*) /pmwiki/pmwiki.php?n=$1 [L,qsappend]
RewriteRule ^$ /pmwiki/pmwiki.php [L,qsappend]
and it should probably be
RewriteEngine on
RewriteRule ^([A-Z].*) /~me/pmwiki/pmwiki.php?n=$1 [L,qsappend]
RewriteRule ^$ /~me/pmwiki/pmwiki.php [L,qsappend]
The instructions on CleanUrls isn't clear about this -- if this solves
your problem I'll fix the instructions.
Pm
More information about the pmwiki-users
mailing list