Jump to content

Websockets


gatekeeper

Recommended Posts

For web sockets, there are topics on this if you search "sockets" on the forum, but they're mostly users who tried doing it using Java, and it didn't work. I don't know if anyone has ever tried doing it with Python. Might be worth trying.

 

As for cgi-bin not running code, do you have a link to a script that won't run so we can figure this out?

 

Once we have a link to a broken script and I can take a look I'll pass this to Krydos for you. He's the expert on the Python stuff around here and will probably also have input on the web sockets (I don't know much about either of these topics beyond how to get a script running, I mostly do PHP work...)

Link to comment
Share on other sites

It's because you have a flask app installed. The .htaccess that goes with that redirects all requests, so you can't access the cgi-bin folder. Renaming the .htaccess lets the server find the file, though the app.py is not a valid Python file or a valid python web app, so it just produces a 500 error instead.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...