Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter navins

    (@navins)

    @bcworks Thanks for letting me know that there is a possibility 🙂 Though I am not the expert with this I know at least where /cgi-bin/ is.

    With the confidence that you have provided, I will try to develop a sample py file and drop it under /cgi-bin/ and access through its file name. The problem is I don’t find any relevant information on this on the web, so I will try this and keep this thread posted.

    Thanks again!!

    Thread Starter navins

    (@navins)

    Thanks @jan and @dian. I guess like you mentioned I will revert the question to a different site. Thanks, @dian for suggesting forums! its helpful

    Thread Starter navins

    (@navins)

    Sorry Joy for bothering you again. Maybe I will tell my problem on a high level.

    My server is a Bluehost shared machine and I have an SSL. Now I have WordPress running on it and the website that is created using the WordPress runs in https. All is well so far!!! Now I have a requirement where I need to host a python restful API and it should be hosted in https. I have a lot of unknown here,

    1. How can I run python restful API on my Bluehost server that already runs my WordPress? I was not able to figure it out and that’s where I was checking can WordPress in turn host a python restful. Maybe this is a stupid question.

    2. How can I reuse the certificate that I bought for my domain name for both WordPress website and python restful API? Maybe this is also a stupid question.

    I tried to google but not able to find an understandable solution. I thought this forum can help me with what Google couldn’t personally.

    Thread Starter navins

    (@navins)

    Guys, I was able to fix this issue. I installed a plugin called “Really Simple SSL” in my WordPress and it fixed the issue.

    Hope it works for others as well!

    Thread Starter navins

    (@navins)

    Thanks Joy. So, Is it YES? Can you point me to any resources that is available to explain how can I ‘Host a python RestFul API’ from wordpress?

    Thread Starter navins

    (@navins)

    Hi Ross,

    Thanks for helping! I tried both options but still, boringengineer.com opens insecure but the http://www.boringengneer.com opens up secure. What else you think that I might need to take care?

    My .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-Proto} !https
    RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thanks,
    Navin S

Viewing 6 replies - 1 through 6 (of 6 total)