Re: mod-rewrite: ReWrite failure due to a "reserved" word?!

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

 



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@xxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Wednesday, May 27, 2009 10:41 PM
Subject: Re: 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@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Wednesday, May 27, 2009 10:24 PM
Subject: Re: 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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