I want to work with local web pages using the seleniumIDE
It requires URL's.
So I'd like to set up localhost, 127.0.0.1
I don't need anyone else or network access to it, however it would be ideal if it could still load resources for css, js and their frameworks.
Basically I have a html page I want to see in a browser using a local server
What's the simplest way to get a local web server running so I can do this. I'm on Ubuntu though I imagine the answer could apply to other *nix variations.
I'm more familiar with frameworks like ruby on rails which include a web server I can stop/start but in this case I don't need an application framework, just a basic web server for a html page via a get
apt-get install nginx
? For the actual setup read the manual and/or man pages..htaccess
type config or URL rewriting? does it need a backend e.g. PHP and a database? if you just need static pages - do as marco suggestedapt-get install nginx
orapt-get install apache2
- your/etc/hosts
file already points localhost to127.0.0.1
so you can just drop you files into document root,/usr/share/nginx/html
for nginx or/var/www/html
for apache