Hi All
I'm trying to create a python-based website using wsgi, following instructions such as these.
This all works just fine as long as I'm accessing the website from the same PC on which it is hosted. However, when I try to access it from another PC on the same network (there shouldn't be any firewall between the two), it tells me the host can't be found. I'm using port 8080 for this.
I'm really just starting out with lighttpd and I'm not sure how to configure this exactly.
I'm wanting to take traffic and redirect to another server say "http://localhost/url_a/" and redirect the request and responses from that to "http://other_server:8080/"
Another example would be "http://localhost/url_a/" going to "http://other_server:8081/url_b/"
What exactly should I look into for accomp
I need to set up a simple web server with PHP on Windows XP that a number of different people will use for local testing.
I'm using LightTPD 1.4.30-4-IPv6-Win32-SSL and PHP 5.2.
So far I've created this folder structure:
tools/
LightTPD/
htdocs/
PHP/
I set up PHP as CGI and the document root as server_root + "/htdocs".
I'm trying to have multiple domains.
Followed the instructions from web and added the lines in lighttpd.conf file:
$HTTP["host"] =~ “(^|.)example.com$” {
server.document-root = “/var/www/example.com″ }
but when I restart the server I get the error:
(configfile.c.859) source: /etc/lighttpd/lighttpd.conf line: 37 pos:
13 invalid character in variable name 2012-02-15 07:38:57:
(conf
I have a web server running on port 8080. I'd like to visit it via port 80, so I did this:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-port 8080
it works if i access the server from other machines using
http://ipoftheserver/
but it doesn't work if I access the server from the same machine using
http://localhost/
why is that?
thanks in advance.
Hello all!
Im in the process of installing lighttpd on my server as i need it for streaming possibilities.
I have sucessfully installed lighttpd but having a hard time making it work properly. It loads html files, but no php files.
Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.10)
This guide explains how you can use mod_mysql_vhost to create simple
virtual hosts on a lighttpd web server on Ubuntu 12.10. With
mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL
database.
Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.04)
This guide explains how you can use mod_mysql_vhost to create simple
virtual hosts on a lighttpd web server on Ubuntu 12.04. With
mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL
database.
I have a Lighttpd server as a front end for Ruby on rails.
Some subdomains (server1.domain.com, server2.domain.com) are configured with proxy.
But also have a standard static web server at www.domain.com.
It works, but the call without subdomain (domain.com) does not work.
How could I configure Lighttpd for it?
Configuration for proxy:
$HTTP["host"] =~ "www.domain." {
alias.url = ( "/sys