On The Web by Ircmaxell
GNU/GPL PageCache Joomla! APC php5 Lighttpd! Redhat
Home arrow Forum
Friday, 01 June 2012
 
 
Featured Site
Main Menu
Home
Articles
Services
Portfolio
Version Information
Bug Tracker
F.A.Q.
Downloads
Forum
Contact Us
Text Link Ads
Latest Version
Feed Icon Page Cache 1.0.8 stable
Release Date: 2007-06-11
Donate!
Login
Syndicate
On The Web Forums
Welcome, Guest
Please Login or Register.
Lost Password?
Lighttpd + apache2 + directadmin CP (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Lighttpd + apache2 + directadmin CP

#621
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 01:08 Karma: 8  
Sorry, the "host" has to be an IP... "127.0.0.1"
  The administrator has disabled public write access.
#622
chrda (User)
Senior Boarder
Posts: 10
graphgraph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 01:20 Karma: 0  
http://dingo.dundre.net:8080 works fine /home/user/public_html
http://dingo.dundre.net goes to /var/www/html the orginal apache folder.

any idea?

This is my running config now
Code:

 server.document-root "/var/www/html" server.port 80 server.username "lighttpd" server.groupname "lighttpd" #server.bind                = "75.126.240.194" server.tag ="lighttpd" server.errorlog            "/var/log/lighttpd/error.log" accesslog.filename         "/var/log/lighttpd/access.log"  server.modules              = (                                 "mod_rewrite",                                 "mod_alias",                                 "mod_access",                                 "mod_auth",                                 "mod_status",                                 "mod_fastcgi",                                 "mod_proxy",                                 "mod_accesslog",                                 "mod_magnet" ) $HTTP["host"] =~ "dingo\.dundre\.net" { $HTTP["url"] =~ "^.*(html|php|cgi|/|\?|\?.*)$" { proxy.server  = ("" => ( (                  "host" => "127.0.0.1",                  "port" => 8080 ) ) ) } }



Post edited by: chrda, at: 2007/05/25 01:25

Post edited by: chrda, at: 2007/05/25 01:27
  The administrator has disabled public write access.
#623
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 01:30 Karma: 8  
set
proxy.debug = "1"
then look at you apache log file and lighttpd log file (to try to see why it's failing)
  The administrator has disabled public write access.
#624
chrda (User)
Senior Boarder
Posts: 10
graphgraph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 01:48 Karma: 0  
This in error.log to lighttpd nothing found in apache logs
Code:

  2007-05-24 17:46:03: (mod_proxy.c.1080proxy start 2007-05-24 17:46:03: (mod_proxy.c.1116proxy ext found 2007-05-24 17:46:03: (mod_proxy.c.1159proxy used fair balancing 2007-05-24 17:46:03: (mod_proxy.c.1240proxy found a host 127.0.0.1 8080 2007-05-24 17:46:03: (mod_proxy.c.377connect delayed7 2007-05-24 17:46:03: (mod_proxy.c.994proxyfdevent-out 1 2007-05-24 17:46:03: (mod_proxy.c.805proxy connect delayed success 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read1545 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read0 2007-05-24 17:46:03: (mod_proxy.c.1080proxy start 2007-05-24 17:46:03: (mod_proxy.c.1116proxy ext found 2007-05-24 17:46:03: (mod_proxy.c.1159proxy used fair balancing 2007-05-24 17:46:03: (mod_proxy.c.1240proxy found a host 127.0.0.1 8080 2007-05-24 17:46:03: (mod_proxy.c.377connect delayed7 2007-05-24 17:46:03: (mod_proxy.c.994proxyfdevent-out 1 2007-05-24 17:46:03: (mod_proxy.c.805proxy connect delayed success 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read7346 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read0 2007-05-24 17:46:03: (mod_proxy.c.1080proxy start 2007-05-24 17:46:03: (mod_proxy.c.1116proxy ext found 2007-05-24 17:46:03: (mod_proxy.c.1159proxy used fair balancing 2007-05-24 17:46:03: (mod_proxy.c.1240proxy found a host 127.0.0.1 8080 2007-05-24 17:46:03: (mod_proxy.c.377connect delayed8 2007-05-24 17:46:03: (mod_proxy.c.994proxyfdevent-out 1 2007-05-24 17:46:03: (mod_proxy.c.805proxy connect delayed success 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read236 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read1806 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read0 2007-05-24 17:46:03: (mod_proxy.c.1080proxy start 2007-05-24 17:46:03: (mod_proxy.c.1116proxy ext found 2007-05-24 17:46:03: (mod_proxy.c.1159proxy used fair balancing 2007-05-24 17:46:03: (mod_proxy.c.1240proxy found a host 127.0.0.1 8080 2007-05-24 17:46:03: (mod_proxy.c.377connect delayed10 2007-05-24 17:46:03: (mod_proxy.c.994proxyfdevent-out 1 2007-05-24 17:46:03: (mod_proxy.c.805proxy connect delayed success 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read236 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read2063 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read0 2007-05-24 17:46:03: (mod_proxy.c.1080proxy start 2007-05-24 17:46:03: (mod_proxy.c.1116proxy ext found 2007-05-24 17:46:03: (mod_proxy.c.1159proxy used fair balancing 2007-05-24 17:46:03: (mod_proxy.c.1240proxy found a host 127.0.0.1 8080 2007-05-24 17:46:03: (mod_proxy.c.377connect delayed10 2007-05-24 17:46:03: (mod_proxy.c.994proxyfdevent-out 1 2007-05-24 17:46:03: (mod_proxy.c.805proxy connect delayed success 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read236 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read2007 2007-05-24 17:46:03: (mod_proxy.c.961proxyfdevent-in 4 2007-05-24 17:46:03: (mod_proxy.c.645proxy have to read0

  The administrator has disabled public write access.
#625
chrda (User)
Senior Boarder
Posts: 10
graphgraph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 01:54 Karma: 0  
Changed the config to this.
Code:

 server.document-root "/home/admin/domains/dingo.dundre.net/public_html/"


But still the same error. so it looks like the lighttpd doesnt take the domain name with it. its get converted to the ip. and when apache gets the ip instead of host it thinks its the main webfolder.

Thats what i think atleast.

Doesnt look like the lighttpd solution works to good with vhosts :/
  The administrator has disabled public write access.
#628
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 14:23 Karma: 8  
hmmm... Try a post on Lighttpd.net's forums...
  The administrator has disabled public write access.
#637
chrda (User)
Senior Boarder
Posts: 10
graphgraph
Click here to see the profile of this user
Re:Lighttpd + apache2 + directadmin CP 2007/05/25 17:11 Karma: 0  
yea ill do that, thank again
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
get the latest posts directly to your desktop
Whiplash Claims - Gold Necklace - Whiplash - Jewellery
 
Top! Top!
Generated in 0.24970507621765 Seconds