Questions tagged [http-server]

28 questions
0
votes
1 answer

Is running a HTTP server elevated a security risk?

I have written my own web server in c++, and now I want it to run with real time priority, but for changing the priority to real time one needs the application to be running in elevated mode. Hence my question Is running a HTTP server elevated a…
nom
  • 151
  • 5
0
votes
1 answer

serving html remotely from mac os x

TL;DR: simple HTTP server is accessible locally, but how can I make it available remotely in order to view the served files from another computer on the network? I'm using a zero-configuration command line HTTP server to serve up a web site (a…
Sam
  • 103
  • 4
0
votes
3 answers

Real world stats on Web Server Performance for static content (Apache, Lighty, IIS, Cherokee, Tomcat, etc.)

On a project I'm on (private web based application accessed by 1,000s of users) we're looking to shard off the loading of static content to a separate server (e.g. as a CDN) for improved performance. I'm only looking to serve up static (.JS, .CSS,…
scunliffe
  • 223
  • 4
  • 11
0
votes
1 answer

Change a config file through a http server

hey, first sorry for my bad english, and I do not know if the best place for this is here or stackoverflow :/ - I need to do a webpage on which someone can change a file on a linux machine. Think in a page that you can access from other computers…
Leo
  • 103
  • 4
0
votes
0 answers

Apache Redirect with context/subcontext

I have a URL which I want to redirect as it does not exit RedirectRule "^/abcd/xyvx?fafa&flaj=AB12A" "https://hello.com/abcd/404_page" When I do this it does not regonize but below works RedirectRule "^/abcd"…
Venkat
  • 1
0
votes
1 answer

Proper way to put http-server into background

I'm using raspbian on a pi Zero to serve a simple static HTML page with an index.js and some styling. I'm using the npm package http-server I've installed it globally. https://www.npmjs.com/package/http-server In the terminal (using ssh), I've done…
0
votes
1 answer

Unable to change owner and group of Nginx error_log and access_log

Unable to change owner and group of Nginx error_log and access_log I want to change the owner and group of nginx's error_log and access_log straight away from nginx (not manually using chgrp and chown). While keeping nginx running as root so that it…
0
votes
0 answers

Move to a new server - redirect complete traffic (http + https)

I have a runninig server with multiple services on subdomains running on it (all using https), with nginx as reverse proxy. In some days I will move everything 1:1 to another server (new IP, new location). The problem is, that the change of the DNS…
mathse
  • 3
  • 1
0
votes
1 answer

Webpage always takes 5 seconds to load the first time using Nginx

I've deployed a webserver using Nginx. The webserver is under a virtual machine using Virtualbox. Everything seems to work properly. Connections are carried out on a local network context. The problem is that my webpages under the webserver always…
0
votes
3 answers

Disable https when Nginx reverse proxy to IP address

I configured Nginx as a reverse proxy on my server for a site, say example.com I want the client to access my site using an IP address, something like http://192.0.2.67 The problem is that there is a redirection on the example.com site setting HTTP…
setiawan
  • 1
  • 3
-1
votes
1 answer

Lightweight Windows HTTP server for static content from CD/DVD

I need a very lightweight Windows HTTP server to put onto CD/DVD. I've tried just using “file:” “protocol”, but there're too many problems: IE disallows JavaScript by default. There's a workaround with “saved from internet” comment, but CSS3 Pie…
Athari
  • 99
  • 3
-2
votes
2 answers

What will happen if I force https for my image hosting site via .htaccess but embed an image with an http link?

I've built myself a small image hosting service for my own projects and I recently switched the site to https which works perfectly. Now I made a .htaccess file with a rewrite rule as described here so if I browse to http://myservice/image.jpg it…
Christian
  • 333
  • 7
  • 17
-4
votes
1 answer

I can not start HTTP server Admin on AS400

The error message is... CPF9898 Escape 40 19/03/16 11:11:55.552230 QLWISVRA QSYS *STMT QLWIIHSMOD QHTTPSVR *STMT From module . . . . . . . . : QLWIMSG 5761SS1 V6R1M0 080215 Job Log MLCNAS05 19/03/16 11:11:55 Page 2 Job name . . . . . . . . .…
Tom
  • 1
  • 1
  • 1
1
2