Linux / UNIX Tech Support Forum
This is a discussion on Apache and lighttpd together within the Web servers forums, part of the Mastering Servers category; Hi I recently came to know that : lighttpd is used by many well-known sites. The typical scenario is using ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
Quote:
a) as a subdomain images.domain.com -> lighttpd to send images www.domain.com -> Apache with PHP (all images and static pages linked from images.domain.com) b) Lighttpd as proxy lighttpd run on port 8080 on same server Apache run on port 80 with proxy_module You configure Apache to serve images via lighttpd stored in /images directory by adding following line of code to httpd.conf: Code:
ProxyRequests Off ProxyPreserveHost On ProxyPass /images http://0.0.0.0:8080/ ProxyPassReverse / http://0.0.0.0:8080/
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
|
||||
|
Quote:
ProxyRequests Off ProxyPreserveHost On ProxyPass /images http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ |
|
|||
|
Hmm still wont start.
Do I add those lines to the end of httpd.conf? Or do they go in a <Location /> area? Sorry maybe I should mention this. I'm just trying to get this working on my local setup first, (Windows XP, Apache 2). Does that make a difference? I have lighttpd running on 8080 - does it need to be running before I start Apache? |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can lighttpd access log be filtered? | petu | Web servers | 5 | 21-10-2008 01:10 PM |
| lighttpd ProxyPass | thunderbirdsei | Web servers | 0 | 30-04-2008 10:50 PM |
| Inactivity timer for lighttpd | petu | Web servers | 0 | 11-03-2008 12:49 PM |
| redirect to www in lighttpd | muks | Web servers | 11 | 02-06-2007 10:55 PM |
| lighttpd user cgi-bin setup | chiku | All about FreeBSD/OpenBSD/NetBSD | 1 | 15-12-2006 01:52 AM |