I have a joomla setup in my /home/joomla directory. I installed both Apache and Lighttpd i have configured Lighttpd to proxy only static files, and lighttpd is listening on port 81. Now what i want is
whenever request for static files are made, instead of going to
www.domain.com/whatever/bg.jpg
it should redirect to
domain.com:81/whatever/bg.jpg
using .htaccess
also notice that www.domain.com changed to domain.com
please please i need a quick help for it :)
try this in your .htaccess file:
Alright i found out the way :)
Learned a lot about htaccess files in one day :)