My goal is to serve images, javascript, css, etc that complements the dynamic app installed as an ICF handler.

asked 23 Sep '11, 05:46

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840
accept rate: 32%

edited 02 Feb '12, 11:10


The two options I could find.

1) The NW webserver can be configured to serve static files from a specific folder by setting the parameter icm/HTTP/file_access_<xx> (tcode RZ10). Bellow is a sample setting to serve files from the server folder c:webserverstatic in the webserver path /static/

icm/HTTP/file_access_0 = PREFIX=/static/, DOCROOT=c:\webserver\static

Using this approach the files have to be maintained directly in the server filesystem.

2) Create a BSP application just to collect the static files (CSS, javascript, images, etc). This is done in SE80 and the files are MIME objects inside the BSP app. Each static resource gets the URL of the BSP app plus the object name. With this option the files can be maintained using the GUI.

permanent link

answered 24 Sep '11, 15:09

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×6
×2
×1

question asked: 23 Sep '11, 05:46

question was seen: 4,867 times

last updated: 02 Feb '12, 11:10