[pmwiki-users] CleanURLs problem in apache 2.2
Julius Thijssen
jultus at gmail.com
Sun Jun 21 07:47:23 CDT 2009
On Fri, Jun 19, 2009 at 01:03, Chris Cox<ccox at endlessnow.com> wrote:
> On Thu, 2009-06-18 at 23:24 +0200, Julius Thijssen wrote:
>> On Thu, Jun 18, 2009 at 22:35, Chris Cox <ccox at endlessnow.com> wrote:
>>
>> > RewriteEngine On
>>
>> > RewriteRule ^[/]*$ /pmwiki/pmwiki.php [QSA,L]
>> > RewriteRule ^([^/a-z~].*)$ /pmwiki/pmwiki.php?n=$1 [QSA,L]
>>
>> Index did go to the pmwiki.php, that's a first.
>> Skin- and other paths are broken with that.
>
> We use skins here... didn't break anything. Can you provide more detail
> as to what would break? See my other note below...
I got a page with only text/links and standard browser background.
> $EndScriptUrl = '://labs.mycompany.com';
> $EndPubDirUrl= '://labs.mycompany.com/pmwiki/pub';
>
> $ScriptUrl = $UrlScheme.$EndScriptUrl;
> $PubDirUrl = $UrlScheme.$EndPubDirUrl;
> (maybe PubDirUrl is what was missing with regards to
> your skins?)
yes, that seemed to be the solution.
>> Did you use a .htaccess file or apache config?
>
> .htaccess file sitting is /srv/www/htdocs
> (apache configed to allow the overrides)
Someone here using direct apache2 server config on a recent version of
Debian or Ubuntu?
It still doesn't work (links are all 404, not found) with these Rewrite rules.
J
More information about the pmwiki-users
mailing list