I have ubuntu server and installed Apache and PHP. All my web works fine.

I want images, from the web, to work with lighttpd server on different port than apache, for example 8080. So, in html I will have

    <img src="http://myweb.com:8080/@content/img.jpg" />

How to install and configure lighttpd without disrupting apache ?

link|improve this question
What have you tried so far? This is a site for professionals. We don't mind helping if you're stuck, but you have to show that you've at least put a little tiny drop of effort into solving your problem. – MDMarra Nov 15 '11 at 12:05
I can install lighttpd an configure to work with another port but if that disrupting apache than I will have a problem... – tasmaniski Nov 15 '11 at 12:06
How would it disrupt apache other than contending for resources? – MDMarra Nov 15 '11 at 12:08
Ok , I will try that now. I don't want to post some crap on this web so if it is, vote down to delete... – tasmaniski Nov 15 '11 at 12:10
feedback

1 Answer

up vote 4 down vote accepted

Set server.port to 8080 in the lighttpd config.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.