Re: mod_rewrite woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> What RewriteLogLevel is that? Try 9.
> 
> On Thu, Jan 20, 2011 at 3:23 PM, --[ UxBoD ]-- <uxbod@xxxxxxxxxxxx>
> wrote:
> > ----- Original Message -----
> >> On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- <uxbod@xxxxxxxxxxxx>
> >> wrote:
> >> > ----- Original Message -----
> >> >> Did you set RewriteEngine on?
> >> >>
> >> >> Where do you define your rules? If there's a VirtualHost
> >> >> handling
> >> >> the
> >> >> request, they need to be defined there.
> >> >
> >> > Hello Eric,
> >> >
> >> > Thank you for the response. Yes it is a virtual host and I am
> >> > using
> >> > the following directives for it:
> >> >
> >> > <VirtualHost *:80>
> >> > Â ÂServerAdmin webmaster@xxxxxxxxxxxxxx
> >> > Â ÂDocumentRoot "/www/somedomain.com"
> >> > Â Â<Directory /www/somedomain.com>
> >> > Â Â Â ÂAllowOverride All
> >> > Â Â</Directory>
> >> > Â ÂServerName www.somedomain.com
> >> > Â ÂServerAlias somedomain.com www.somedomain.co.uk
> >> > Â Âsomedomain.co.uk
> >> > Â ÂErrorLog "logs/www.somedomain.com-error.log"
> >> > Â ÂCustomLog "logs/www.somedomain.com-access.log" common
> >> > </VirtualHost>
> >> >
> >> > I have hardened Apache though I did try changing the directives
> >> > in
> >> > httpd.conf for /www to have AllowOveride All as-well but to
> >> > no-avail. It seems odd though that a normal re-direct is working
> >> > fine.
> >>
<snip>
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/ ->
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] applying pattern '^(.*)$' to uri ''
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='mosConfig_[a-zA-Z_]{1,21}(=|\%3D)' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='base64_encode.*\(.*\)' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='(\<|%3C).*script.*(\>|%3E)' [NC] => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='GLOBALS(=|\[|\%[0-9A-Z]{0,2})' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='_REQUEST(=|\[|\%[0-9A-Z]{0,2})' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/ ->
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] applying pattern '(.*)' to uri ''
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='/www/somedomain.com/' pattern='!-f' => matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (4) [perdir /www/somedomain.com/] RewriteCond: input='/www/somedomain.com/' pattern='!-d' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/ ->
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (3) [perdir /www/somedomain.com/] applying pattern '.*' to uri ''
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (5) setting env variable 'HTTP_AUTHORIZATION' to ''
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b927780/initial] (1) [perdir /www/somedomain.com/] pass through /www/somedomain.com/
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/index.html -> index.html
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] applying pattern '^(.*)$' to uri 'index.html'
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='mosConfig_[a-zA-Z_]{1,21}(=|\%3D)' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='base64_encode.*\(.*\)' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='(\<|%3C).*script.*(\>|%3E)' [NC] => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='GLOBALS(=|\[|\%[0-9A-Z]{0,2})' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='' pattern='_REQUEST(=|\[|\%[0-9A-Z]{0,2})' => not-matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/index.html -> index.html
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] applying pattern '(.*)' to uri 'index.html'
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='/www/somedomain.com/index.html' pattern='!-f' => matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='/www/somedomain.com/index.html' pattern='!-d' => matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='/index.html' pattern='!^/index.php' => matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (4) [perdir /www/somedomain.com/] RewriteCond: input='/index.html' pattern='(/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$' [NC] => matched
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (2) [perdir /www/somedomain.com/] rewrite 'index.html' -> 'index.php'
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] add per-dir prefix: index.php -> /www/somedomain.com/index.php
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] strip per-dir prefix: /www/somedomain.com/index.php -> index.php
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (3) [perdir /www/somedomain.com/] applying pattern '.*' to uri 'index.php'
123.123.123.123 - - [20/Jan/2011:20:35:40 +0000] [www.somedomain.co.uk/sid#76adb38][rid#b969900/subreq] (5) setting env variable 'HTTP_AUTHORIZATION' to ''

-- 
Thanks, Phil

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux