httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehuda Katz <yeh...@ymkatz.net>
Subject Re: [users@httpd] 403 Forbidden ...
Date Tue, 13 Nov 2012 17:04:04 GMT
I am going to guess that there is a conflict between your rewrite rules and
actual directory names.
I am guessing that the 403 is generated by directory index not being
allowed.

When I go to http://evesham.uk.com/wiki/index.php?page=Life+in+Evesham, the
page actually shows up (and it also does when I hit
http://evesham.uk.com/index.php?page=Life+in+Evesham).
Oddly enough, when I go to http://evesham.uk.com/Life+in+Evesham, I get
your home page.

I think MediaWiki recommends installing in /w/ (or at least something
different than the rewrite prefix you will be using)
http://www.mediawiki.org/wiki/Manual:Short_URL/Apache
Edits have been made to that page as recently as the beginning of October,
so you might want to have a look there.

- Y

On Tue, Nov 13, 2012 at 11:45 AM, Lester Caine <lester@lsces.co.uk> wrote:

> Antonio Vidal Ferrer wrote:
>
>> May be as a first step, start enabling Rewrite log. Put RewriteLogLevel
>> at 5, to
>> see what is being rewrited. Then based on that we can check what it's
>> making it
>> fail.
>>
> The rewrite is apparently doing the correct conversion from
> http://evesham.uk.com/wiki/**Life+in+Evesham<http://evesham.uk.com/wiki/Life+in+Evesham>
> to
> http://evesham.uk.com/wiki/**index.php?page=Life+in+Evesham<http://evesham.uk.com/wiki/index.php?page=Life+in+Evesham>
>
> The full format works fine, it's what is being used now as the site is
> live.
> With the 'LogLevel alert rewrite:trace5' commented out I get
>
> [Fri Nov 09 17:46:24.546411 2012] [authz_core:error] [pid 18394:tid
> 140678935852800] [client 81.138.11.136:47676] AH01630: client denied by
> server configuration: /wiki/index.php
>
> Which I presume IS the fault I'm trying to clear?
>
> Enabling the Loglevel setting I get
>
> [Fri Nov 09 17:46:43.310846 2012] [rewrite:trace2] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> init rewrite engine with requested uri /wiki/Location+and+Travel
> [Fri Nov 09 17:46:43.310894 2012] [rewrite:trace3] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> applying pattern '^.*$' to uri '/wiki/Location+and+Travel'
> [Fri Nov 09 17:46:43.310969 2012] [rewrite:trace3] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> applying pattern '^/wiki/view/(.+)$' to uri '/wiki/Location+and+Travel'
> [Fri Nov 09 17:46:43.310993 2012] [rewrite:trace3] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> applying pattern '^/wiki/(.+)$' to uri '/wiki/Location+and+Travel'
> [Fri Nov 09 17:46:43.311026 2012] [rewrite:trace2] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> rewrite '/wiki/Location+and+Travel' -> '/wiki/index.php?page=**
> Location+and+Travel'
> [Fri Nov 09 17:46:43.311047 2012] [rewrite:trace3] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> split uri=/wiki/index.php?page=**Location+and+Travel ->
> uri=/wiki/index.php, args=page=Location+and+Travel
> [Fri Nov 09 17:46:43.311067 2012] [rewrite:trace2] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> local path result: /wiki/index.php
> [Fri Nov 09 17:46:43.311089 2012] [rewrite:trace1] [pid 18791:tid
> 140678944245504] mod_rewrite.c(466): [client 81.138.11.136:47686]
> 81.138.11.136 - - [evesham.uk.com/sid#**7ff26e320370][rid#**
> 7ff26e6900a0/initial<http://evesham.uk.com/sid#7ff26e320370][rid%237ff26e6900a0/initial>]
> go-ahead with /wiki/index.php [OK]
>
> At which point I asked for some help ... I think I've checked everything
> against the http://httpd.apache.org/docs/**2.4/upgrading.html#run-time<http://httpd.apache.org/docs/2.4/upgrading.html#run-time>crib
sheet and I can get the site to give the right errors when I make a
> mistake but I am now lost as to where to go next.
>
> mod_info should be running, but I'm not seeing it currently .... still
> working on this.
>
>
> --
> 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