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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
||||
|
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. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
||||
|
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? |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lighttpd ProxyPass | thunderbirdsei | Web servers | 0 | 04-30-2008 10:50 PM |
| Inactivity timer for lighttpd | petu | Web servers | 0 | 03-11-2008 12:49 PM |
| Can lighttpd access log be filtered? | petu | Web servers | 2 | 01-18-2008 10:59 AM |
| redirect to www in lighttpd | muks | Web servers | 11 | 06-02-2007 10:55 PM |
| lighttpd user cgi-bin setup | chiku | All about FreeBSD/OpenBSD/NetBSD | 1 | 12-15-2006 01:52 AM |