menu
Logo
  • Why azing?
  • Blog
  • Help
ENarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo ENarrow_drop_down
  • DE
  • EN
  • Why azing?
  • Help
2sxc
drive_folder_upload
  • homeChecklist Templates
  • south
  • fiber_manual_recordDevelop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Enable CORS in DNN/2sxc for local development
  • south

folder_sharedJS: Enable CORS in DNN/2sxc for local development

  • info Convert to information
  • insert_drive_file Convert to boilerplate
  • homeChecklist Templates
  • south
  • fiber_manual_recordDevelop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Enable CORS in DNN/2sxc for local development
  • south

folder_sharedJS: Enable CORS in DNN/2sxc for local development

Folders and checklists

  • check_circleCORS - Activate for Local Development

Parts of this checklist (0) expand_more

These are small document-parts which are used in other documents. They are not a starting point for any real activity. Because of this, they will be listed further down and the search will not list them unless requested. 

For older insallations, you need to set up CORS requests in the web.config. Prefer to update your installation if possible; newer 2sxc versions handle this automatically.

Two changes are required::

  1. Add a rewrite rule to return HTTP 200 to option requests (more about HTTP preflight requests)
  2. Add customHeaders definitions to respond correctly to CORS requests
Logo
Legal | Content Copyright CC-BY 4.0
bug_reportReport Bug
  • info
  • Links
  • Permissions
code Share
code
URL copied to clipboard.
Embed Checklist close
Copy Copy
Content Copyright

CC-BY 4.0

Translations

None

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/Obosouan
View & Use

Public (can be used by everybody)

Edit & Admin

Default (all members can edit)

This catalog has a simple permission model, where all members have the same permissions. For advanced permissions, upgrade to Enterprise.

Here you can see how this document is used and linked by other documents

Used in (1)

Others referencing this

  1. CORS - Activate for Local Development
Uses these (2)

Documents linked from this document

  1. IIS Rewrite Rule for HTTP CORS preflight requests
  2. customHeaders definitions to send the correct headers for CORS requests
How it Behaves

How this document is categorized changes how it behaves.

This is a partial document. It is listed below the normal documents, and is hidden in the default search.

It belongs to CORS - Activate for Local Development

Type

This is a Checklist. Lists are converted into checkboxes.

Get something to say?

Comment to start a discussion or make a note
send

please log on to chat

close

Durchsuche ganz Azing