Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

My Web Application that calls out to an IMS RESTful API deployed on IBM Cloud ends up generating a Web Page that reads "403 Forbidden nginx" !!!

3100026MKR gravatar image
Question by Subhasish Sarkar  (74) | Dec 07, 2018 at 12:02 PM ibm-cloudzosconnectzcee

I have a simple Web Application (written in HTML5, CSS and JavaScript) hosted on my Local system that calls out to an IMS RESTful API and everything works so very fine when I run the Web Application on my Local system. I have attached the screenshot (Screenshot0).

My Web Application basically has only two files - one JPG File and an HTML Document. I have attached the screenshot (Screenshot1).

Now, I have followed the instructions laid down at https://www.ibm.com/developerworks/cloud/library/cl-deploy-a-hello-world-webpage-to-bluemix-app/index.html in order to deploy my Web Application to IBM Cloud; the only exception being point number 6 of Step 1. Obviously, as I already have a working Web Application on my Local system and I just want to deploy that Application to IBM Cloud, I selected the Repository type of Clone and entered my GitHub Source Repository URL (where I had already uploaded my two Web Application files, the JPG File and HTML Document).

I could successfully deploy the App in IBM Cloud and I even have 1 instance of the App running normal. I have attached the screenshot (Screenshot2).

However, whenever I click on the 'Open the Deployed App' button (I have attached the screenshot - Screenshot3), I end up on a Web Page that reads "403 Forbidden nginx" (I have attached the screenshot - Screenshot4). I have tried different things but cannot get past this error condition.

Any assistance would be greatly appreciated !!!

alt text

screenshot0.jpg (123.4 kB)
screenshot1.jpg (124.1 kB)
screenshot2.jpg (168.0 kB)
screenshot3.jpg (167.1 kB)

People who like this

  0   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
3100026MKR gravatar image Subhasish Sarkar (74)   Dec 07, 2018 at 12:03 PM 0
Share

alt text

screenshot4.jpg (67.3 kB)

2 answers

  • Sort: 
100000QUKJ gravatar image
Accepted answer

Answer by cipresso (167) | Dec 07, 2018 at 02:27 PM

Hi @Subhasish Sarkar, Could you try renaming your html file to index.html? I think the app structure requires that an index.html exists at the root. Thanks, --Ted

Comment
Subhasish Sarkar

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
3100026MKR gravatar image

Answer by Subhasish Sarkar (74) | Dec 10, 2018 at 05:50 AM

Thanks a ton @cipresso for your assistance !!! Your answer was bang on !!! Issue now resolved !!!

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

154 people are following this question.

Answers

Answers & comments

Related questions

Configuring IMS to access z/OS Connect EE for API calls. 2 Answers

CWWKE0702E Could not resolve module com.ibm.zosconnect.logger.fs, after upgrading z/OS Connect to v3.0.9 (PI96947) 1 Answer

ZOS connect EE API requester issue : Unable to invoke external API from a CICS transaction program 1 Answer

CWWKO0801E Error while executing a COBOL Program that call an IMS RESTful API. 2 Answers

[zosconnect] - API/Services path/name standards 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges