httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] 403 Forbidden ...
Date Tue, 13 Nov 2012 22:01:52 GMT
On Wed, Nov 14, 2012 at 8:54 AM, Lester Caine <lester@lsces.co.uk> wrote:

> Ben Johnson wrote:
>
>> My rewrite rules are stored in a config file 'mod_rewrite.conf' which is
>>> >loaded in every vhost.d config file. To get this working I've copied all
>>> >the code directly into one of the vhost.conf files and then added the
>>> >hard coded paths to the re-write rules.
>>> >
>>> >So now the question is "Is there something I can use to add the vhost
>>> >path automatically in the generic config file?"
>>> >
>>>
>> Well, how did you fix it?! :P
>>
>> As for your new question, we're not mind-readers... we'd need to see the
>> mod_rewrite rules to provide a meaningful answer.
>>
>
> lines like
> RewriteRule  ^/?wiki/view/(.+)$  /wiki/index.php?page=$1  [L]
>
> have been ammended to
>
> RewriteRule  ^/?wiki/view/(.+)$ /srv/website/eveshamtc.org.uk/**
> wiki/index.php?page=$1 <http://eveshamtc.org.uk/wiki/index.php?page=$1> [L]
>
> 'A web-path to a resource' is not using the DocumentRoot setting
>
>
That's a good point. Sorry it's a long thread and I thought I read in one
of your posts that the rewritre rules are properly mapping so I have
excluded mod_rewrite from the picture.


> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=**contact<http://lsces.co.uk/wiki/?page=contact>
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk
> Rainbow Digital Media - http://rainbowdigitalmedia.co.**uk<http://rainbowdigitalmedia.co.uk>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@httpd.**apache.org<users-unsubscribe@httpd.apache.org>
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message