Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache's AcceptPathInfo on
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Sep 17, 2010 4:08 am    Post subject: Apache's AcceptPathInfo on Reply with quote

Question 1)
I've set

<Files /home/http/http/private/htm.html>
AcceptPathInfo on
</Files>

root as /home/http/http

Issue is, if I http://localhost/private/htm.html/asldrlawer, it complaints 404.

If I set "AcceptPathInfo on" directly in the configuration file (i.e not inside that block), it works, but here it does not.

Question 2)

I don't understand the acceptfilter directive... can someone help?
_________________
My blog
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Sep 17, 2010 10:41 am    Post subject: Reply with quote

Your not supposed to put the AcceptPathInfo option inside a section like that:

http://httpd.apache.org/docs/2.0/mod/core.html#acceptpathinfo

Rich
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Sep 17, 2010 11:01 am    Post subject: Reply with quote

The filename in the <Files> section will only match the basename of the file regardless of directory:

http://httpd.apache.org/docs/2.0/mod/core.html#files
http://httpd.apache.org/docs/2.0/sections.html#file-and-web
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Sep 18, 2010 4:47 am    Post subject: Reply with quote

Done that.

Thanks.
_________________
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum