SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AcceptPathInfo and Apache2

    Hi , my search friendly urls aint so friendly anymore with apache 2
    with default apache 1.2.* conf

    www.whatever.com/this.php/that/other/

    would look back to this.php and pass that & other into $PATH_INFO

    it appears that apache2 is different and requires the addition of AcceptPathInfo 'somewhere'

    I have tried it in the core directives & in <files.. etc but it does not appear to work - (just tried .htaccess as well with all possible settings)
    any input appreciated

  2. #2
    SitePoint Guru
    Join Date
    Oct 2001
    Posts
    656
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had the same problem and I was able to solve it by putting this in my .htaccess file:

    Code:
    <Files admin>
      ForceType application/x-httpd-php
      AcceptPathInfo off
    </Files>
    So apparently, setting AcceptPathInfo to 'off' actually sets it to 'on'.

    I hope this works for you as well, please let me know.

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2002
    Location
    UK
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems this bug has been fixed in apache verion 2.0.36

    see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8234
    Last edited by martm; May 5, 2002 at 09:14.

  4. #4
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Captain Proton -
    I gave that a go but with no joy I am afraid.... seems like Apache 2.0.35 has so many bugs on all platforms at the moment that I have given up worrying too much about it for now (I managed to find 3 all on my lonesome and the apache mailing lists are full of issues) , I will have a play with 2.0.36 and keep my fingers x'd !

    I saw the fix notification martm , its a shame that several of the core configuration directives just dont work - pretty surprised for the assumed to be stable first release !

    never mind apache still has complete ownage

  5. #5
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just reporting back that this IS fixed as of apache 2.0.36 along with several other fixes and a speed increase that you can nearly taste


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •