How to change Apache File Access Policies

Discussion in 'Apache' started by nvidura, Oct 8, 2011.

  1. #1
    As the title say, how can i do it? My application cannot access locations other than httpdocs. How can my application access ROOT.

    Web Server Apache
    OS is CentOS
    Application is written in Java/Tomcat
    Host Godaddy Virtual dedicated server with Plesk 10.3 controll panel.

    as the way i see there must be a Apache configuration file to do this. I cannot locate it. Many Thanks
     
    nvidura, Oct 8, 2011 IP
  2. helpinghost

    helpinghost Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    53
    #2
    I believe this is a Tomcat setting you should look for and not Apache.
    But I have to admit, I do not know which one it is.
     
    helpinghost, Oct 10, 2011 IP
  3. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #3
    this is definitely not tomcat. I'm 100% confident. There should be some OS or Apache setting...
     
    nvidura, Oct 11, 2011 IP
  4. helpinghost

    helpinghost Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    53
    #4
    I understand you are very confident in this, however, take a look at the setting context path in your TOMCAT server.xml.
    :)
     
    helpinghost, Oct 11, 2011 IP
  5. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #5
    For the one last time, I just started checking the server.xml i'll post you the feedback...
     
    nvidura, Oct 12, 2011 IP
  6. helpinghost

    helpinghost Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    53
    #6
    Also, how are you connecting apache and tomcat? Are you using mod_jk or what exactly?
     
    helpinghost, Oct 12, 2011 IP
  7. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #7
    i'm using modjk...
     
    nvidura, Oct 12, 2011 IP