403 Forbidden Response is seen for Images when using Dispatcher, a / is also appended to the end of the filename in the URL.


  • AEM 
  • Apache
  • Dispatcher 


The extra slash is due to Apache's mod_dir module which appends / to a request URL that maps to a directory.


Set DirectorySlash directive to off in Apache's mod_dir module:
      <Directory />
          <IfModule disp_apache2.c>
             # enable dispatcher for ALL request if this is too restrictive,
             # move it to another location
             # RequestHeader add uid "admin"
           DirectorySlash Off
           SetHandler dispatcher-handler
         Options FollowSymLinks
         AllowOverride None

Additional information

DirectorySlash Directive http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryslash Interference with Mod_Dir (Apache) https://docs.adobe.com/docs/en/dispatcher/disp-tshoot.html#Interference with mod_dir (Apache)

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책