My .htaccess contains following ReWrite rule:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^acp/([\/-_a-z0-9\.]*) /index.php/acp/$1 [NC,QSA,L]
RewriteRule ^news/([\/-_a-z0-9\.]*) /index.php/news/$1 [NC,QSA,L]
</IfModule>
It works fine when I visit pages like:
http://URL.com/acp/components/
http://URL.com/acp/components/index.do
http://URL.com/acp/components/index.do?arg=value
http://URL.com/acp/components/register2.do
etc. However, 403 is issued when I try URL's such as these:
http://URL.com/acp/components/register.do
http://URL.com/acp/components/2register.do
http://URL.com/acp/components/getregister.do
And when I go to:
http://URL.com/acp/components/Register.do
I get redirected by 301 here:
http://URL.com/acp/index..do
IN ALL of my Apache conf files, there are no Aliases, VHosts or anything else
related to the keyword "register". I had this problem with some other keywords
as well, in the past, but I am afraid I don't remember them at this moment.
I posted this issue in Bugzilla, but was redirected here to discuss it with the
fellow users here.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47273
I still don't know what is the ReWrite Log, since my XAMPP Apache, and Fedora
Apache, both only happen to have access_log and error_log, thats all. My
access_log has lines like these:
shehi-pc - - [27/May/2009:19:28:31 +0300] "GET /acp/components/register2.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:29:11 +0300] "GET /acp/components/while.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:29:20 +0300] "GET /acp/components/if.do HTTP/1.1"
200 261
shehi-pc - - [27/May/2009:19:29:27 +0300] "GET /acp/components/2register.do
HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:29:47 +0300] "GET /acp/components/getregister.do
HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:30:06 +0300] "GET /acp/components/geTregister.do
HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:30:18 +0300] "GET /acp/components/Register.do
HTTP/1.1" 301 547
shehi-pc - - [27/May/2009:19:30:18 +0300] "GET /acp/index..do HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:30:33 +0300] "GET /acp/components/asregister.do
HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:30:41 +0300] "GET /acp/components/egister.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:30:47 +0300] "GET /acp/components/Register.do
HTTP/1.1" 301 547
shehi-pc - - [27/May/2009:19:30:47 +0300] "GET /acp/index..do HTTP/1.1" 403 1123
shehi-pc - - [27/May/2009:19:32:18 +0300] "GET /acp/components/send.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:32:25 +0300] "GET /acp/components/members.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:32:28 +0300] "GET /acp/components/member.do
HTTP/1.1" 200 261
shehi-pc - - [27/May/2009:19:32:31 +0300] "GET /acp/components/users.do
HTTP/1.1" 200 261
Nothing inside error_log though [I thought 404, 403 and alike are considered to
be errors, guess they are not :) ].
ANY help, support, tip, suggestion to solve, or at least identify this problem
is welcome!
Shehi