linuxibm-wasibmhttpserver

Not able to access resource directory by ibm HTTP Server


I deployed my application successfully & configured plugin, I also set the alias in httpd.conf file but when I hit the URL it find the context root but it is not able to access resource directory which contains java-script,css, HTML code.

When I debug it in browser I found this.

ERROR CODE:

You don't have permission to access /Contextroot/style/style.css on this server.

I am using WAS 8.5.5.8 & RHEL 7

Thanks for your help in advance.


Solution

  • Pending your error_log entry, one of two causes is likely:

    1) If your ErrorLog entry says "... denied by server configuration"

    <Directory /Contextroot/>
      Order deny,allow
      allow from all
      satisfy any
    </Directory>
    

    2) If yourErrorLog entry begins with "(13)Permission denied"

    Your added content is not accessible by the user IHS runs as -- this is just normal filesystem permissions.