logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: auto-index like commands; what are they??
Author
Danll



Joined: 02 Aug 2013
Posts: 49
Location: USA, Houston

PostPosted: Fri 28 Feb '14 23:24    Post subject: auto-index like commands; what are they?? Reply with quote

I get many GET requests that have auto-index like sort commands attached.

As in

Code:
GET /~account/directory/subdirectory/?M=A;S=D HTTP/1.1


I know what ?C=N,?C=M,?C=S,?C=D,?O=A, and ?O=D are supposed to do. But I also get lots of ?M=A, ?N=A, ?S=D. My Apache system just seems to reject those, and throws the requester my index file. What are those supposed to do? Why are people asking for things with those constructs?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 01 Mar '14 0:52    Post subject: Reply with quote

See Autoindex Request Query Arguments
http://httpd.apache.org/docs/2.4/mod/mod_autoindex.html
Back to top
Danll



Joined: 02 Aug 2013
Posts: 49
Location: USA, Houston

PostPosted: Sat 01 Mar '14 3:43    Post subject: Reply with quote

Unless I'm mistaken, that page describes just the autoindex requests I said I knew about (because I've looked at that page). This page doesn't tell me, for example, is what ?M=A is supposed to do. Lots of requests to my site come with that command.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 01 Mar '14 10:35    Post subject: Reply with quote

Sorry, my bad

Those look to be old ... from Apache 1.3
http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html
Back to top
Danll



Joined: 02 Aug 2013
Posts: 49
Location: USA, Houston

PostPosted: Sat 01 Mar '14 17:02    Post subject: Reply with quote

So let me understand. I'm running 2.2.24. Why am I getting commands that are aimed at 1.3? Are these 1.3 auto-index commands really no longer applicable in 2.2?

Now, I should say that I recently upgraded to 2.2 from 1.3, so I guess these requests are coming from people who think they're still dealing with 1.3?

I'm confused.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 02 Mar '14 8:03    Post subject: Reply with quote

The look to be no longer applicable starting with 2.0.

As to why you're still getting them, your guess is as good as any.
Back to top
Danll



Joined: 02 Aug 2013
Posts: 49
Location: USA, Houston

PostPosted: Sun 02 Mar '14 17:33    Post subject: Reply with quote

Thank you. That works for me. Clearly I'm getting them because I used to be running 1.3, and people are still flinging the same auto-index options at me because of that. I think I'm safe to just ignore them.

I was just wondering if such commands were in some way malicious. Probably not.
Back to top


Reply to topic   Topic: auto-index like commands; what are they?? View previous topic :: View next topic
Post new topic   Forum Index -> Apache