The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

phpsuEXEC and url's with query string

Discussion in 'General Discussion' started by anup123, Jun 18, 2005.

  1. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    I have been breaking my head but it just doesn't work.
    Enabling phpsuExec causes all url's with a query string to fail
    and so also the post

    for phpClassifieds.

    Any clue as to why this could be happening.

    TIA
    Anup
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Did you chmod 755 all of your Php scripts?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That is odd. The only thing that should break is HTTP_AUTH, the rest is, as Andrew said, down to file permissions.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Are you saying that this is only happening with phpClassifieds? Or does it occur for all URLs containing query strings (which would be a spot annoying to say the least)?

    The first things I would do would be to look at how query strings in phpClassifieds URLs differ from those that do work and secondly double check that there is no mod_security interference.
     
  5. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    permissions are all fine. 755
    no .htaccess anywhere, auth moved to httpd.conf
    there are no issues with respect to any php without query string even in phpclassifieds.
    The moment any link with query string is accessed the page doesn't move ... it stays stuck on the same page --> query strings ignored.
    there is nothing in mod_security logs to give any hint of it being responsible.

    query strings look like this:

    set.php?file_name=config/general.inc.php

    All DB Based interaction is failing most likely becuase of the query string issue.
    Same thing was happening when tried suPHP

    Have no other php stuff on server (as this is the first thing that im trying .... not a big php fan) Don't do much of third party hosting so no phpBB or other php programs on server.

    Since recompiling always gets the old outdated pspell back in, retrying is a pain but i would again try and see if i can get anywhere close to being successful. Any inputs would be god sent :)

    Thanks
    Anup
     
    #5 anup123, Jun 19, 2005
    Last edited: Jun 19, 2005

Share This Page