Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to create a web server that I can accesses over the internet (not just locally) and can run and execute python scripts. These scripts will be doing some querying on .db files and returning processed query results. I want to be able to run POST and GET methods on my web server. How should I go about doing this? This is for a school project. From my research, I would need a dedicated computer to be my web server and I don't have those resources.
Thank you.
I would recommend Flask. It will work as a simple web server that let's you run POST and GET against it as well as serving pages. Since it is a Python application, running Python scripts are just part of the code.
In addition to it accomplishing what you want, you could run this on just about any computer you could load Python on (Windows, Linux, Mac, Raspberry PI) thus eliminating the requirement for a dedicated computer.
http://flask.pocoo.org
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Dears, I already created a Java EE web application.
This app has Java Bean, servlets, JPA, Apache server and running the server by Glassfish. When starting the app, I have to run the server manually, then the DB.
How can i let the end user use it, or installer when he clicks on it so it runs on the server and starts the application directly?
Please, I can not find an answer for this. Thanks in advance.
Create an exe for your Java EE web Application is not possible.
The WAR file is the closest to it.
More info: How to create Java webapp installer (.exe) that includes Tomcat and MySQL?"
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
We are trying to do a performance testing for a XMPP-based mobile chat application using Jmeter and Blazemeter.
As we are new to XMPP web-services.
Can anyone brief us how to use Jmeter or Blazemeter for XMPP and how to record the scripts using XMPP plugin?
Why not to try use tsung instead?
originally created for load-testing Jabber/XMPP servers although supports a lot of other protocols at the moment;
has better performance on the same load-generation servers amount than Jmeter: you will get instantly higher load on the same amount of hardware used;
ready for distributed load-generation.
Benchmark Approach: Jabber/XMPP
Load testing Ejabberd XMPP Server with Tsung
Load testing Tigase XMPP Server with Tsung
Introduction to Load Testing with Tsung
Tsung questions on SO
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to create an ACL (Access Control List) to block or allow mallicious webtraffic in the web application.
Is there a way to dynamically update the ACL (of a router, firewall, IIS, Apache webserver or Windows server) through a web application programming language like ASP.NET, PHP or any web application programming language at all?
I want to be able to dynamically make a deciscion to block ip address via the web application.
If you use older versions of IIS, you can give this a shot.
If you are on IIS 7, you should try to make use of the Dynamic IP Restrictions (DIPR) module for IIS 7.0. It provides protection against DoS and brute force attacks. DIPR automatically tracks the IPs and you don't have to do that yourself. Check this out.
If you still want to take matters into your own hand, you can look at using the IP restrictions feature settings. This basically changes the section system.webServer/security/ipSecurity in the ApplicationHost.config file, which you can programmatically do. Take a look at this. I have not tried this. So, cannot tell you this will work for sure but it is worth giving a shot at. You can always test and see if it works.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Can anyone explain to me in layman what's SSH (Secure Shell) in a shared hosting?
I know you can access the web hosting server remotely using a command line interface using an application like Putty. But does it give you have more access to the server or it's another way of creating directories or uploading files and stuff like that? Or you can install extensions or do more advanced things?
Thanks.
Depends on the restriction the host sets, but it often lets you run command line utilities, often used for things like batch processing files, changing file permissions, etc.
In other words, SSH gives you access to do most things you'd be able to do if you were logged in to the machine locally (without root access).
It is just a security layer that encrypts all data flowing to and from the server so other people can't read it's contents. This is especially useful if you are dealing with sensitive information.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've inherited a website to build. I've just come to realization that the website's server is not typical to what I've always worked with; EG - I usually create an FTP with the hosting account and work live at http://www.mycoolclients.com/dev/index.html
I've found that I must connect using; SSH. I have little direct server experience. I'm told I need to work with linux or download something like 'putty'. How do I connect to work live at this situation?
Use sftp instead of ftp.
Learning how to use ssh would definitely be valuable as it's widely used and extremely useful, but in the immediate you can just use sftp for anything that you previously used ftp for. sftp will give you the same interface as ftp, but connects via ssh.
You didn't mention what ftp software you use, but many also support connecting via sftp.