Results 1 to 2 of 2
Hi,
totally new to linux, but managed to setup debian running lighttpd & samba with amazing speed.
Short story: we are a microsoft house, but with all sorts of server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-09-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 11
Lighttpd mod_rewrite
Hi,
totally new to linux, but managed to setup debian running lighttpd & samba with amazing speed.
Short story: we are a microsoft house, but with all sorts of server problems, convinced my boss to try out linux for a new project. And so far things have been going good (except for about 5-6 hours getting raid to work for debian)
And now we only need one final last detail
I need lighty (lighttpd) to rewrite urls for me !
(I had to remove refrences to http: in front of the urls, because I'm not allowed to post them since I'm new here.)
requests for
//goliat/watermark/ANDERSP/s/MXXA00022588.jpg
should redirect to
//goliat/img.php?src=/myndir/photographs/ANDERSP/s/MIRA00022588.jpg
//goliat/watermark/JFK/s/MXGA00022588.jpg
should redirect to
//goliat/img.php?src=/myndir/photographs/JFK/s/MIRA00022588.jpg
so the two variables I need from the source url are
//goliat/watermark/<foldername>/s/<filename>
Not going to well trying to figure this one out and this could mean live and death for the project!
I'll gladly donate 10$ to a open source project of your choice (or your own pocket) if somebody can answer this quick and easy for me
- 08-09-2010 #2Just Joined!
- Join Date
- Aug 2010
- Posts
- 11
All other urls not starting with /watermark should just go to the static file handler.


Reply With Quote
