httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahriyar \"Shehi\" Imanov" <sh...@imanov.name>
Subject Re: [users@httpd] mod-rewrite: ReWrite failure due to a "reserved" word?!
Date Wed, 27 May 2009 19:56:56 GMT
Ok, let me make this easier for you guys:

http://www.audith.net/acp/components/index.do

is our example page. If you are using some sniffer program, or header reader 
[like FF extension "LiveHTTP headers". ], you can see that pages my code 
produces, have this header : "X-Powered-By: Audith CMS codename Persephone". 
So, as you can see, URL like

http://www.audith.net/acp/components/register2.do

is mine, an expected result - whereas

http://www.audith.net/acp/components/register.do

is not.

Shehi

----- Original Message ----- 
From: "Shahriyar "Shehi" Imanov" <shehi@imanov.name>
To: <users@httpd.apache.org>
Sent: Wednesday, May 27, 2009 10:41 PM
Subject: Re: [users@httpd] mod-rewrite: ReWrite failure due to a "reserved" 
word?!


> hi again eric,
>
> i thought about that... i am coding cms, so redirections made by code are 
> traceable. no, software [php that is] is not doing this. why would it do 
> that only with one word ["register" in this case] anyway?
>
> As you said, I accessed pages through index.php, like:
> http://URL.com/index.php/acp/components/register.do
>
> interestingly got 403 again? But why? Its 100% not PHP, or my code [since 
> I am able to "mark" all redirections and identify them]... Why I can't 
> access [403]:
> http://URL.com/index.php/acp/components/register.do or
> http://URL.com/index.php/acp/components/getregister.do or
> http://URL.com/index.php/acp/components/2312register.do
>
> whereas I can access everything else like
> http://URL.com/index.php/acp/components/registerasdasd.do
> http://URL.com/index.php/acp/components/register2.do
> http://URL.com/index.php/acp/components/foobar.do
> http://URL.com/index.php/acp/components/while.do
>
> I even can access these [200]:
> http://URL.com/index.php/acp/register
> http://URL.com/index.php/acp/Register.do
>
> Again but not these:
> http://URL.com/index.php/acp/register.do [403]
> http://URL.com/index.php/acp/Register.do [301]
>
> But again, forget 301's... Code only does 301. Why 403's do occur?! I 
> realize this is not mod-rewrite related now :)
>
>
> Shehi
>
> ----- Original Message ----- 
> From: "Eric Covener" <covener@gmail.com>
> To: <users@httpd.apache.org>
> Sent: Wednesday, May 27, 2009 10:24 PM
> Subject: Re: [users@httpd] mod-rewrite: ReWrite failure due to a 
> "reserved" word?!
>
>
>> What happens when you remove rewrite from the equation and just send
>> the requests through your index.php?
>>
>> IOW, is the 403 issued by the PHP code?
>>
>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message