Joomla in a subfolder

Hello,

I managed to get joomla clean url if joomla is in the root of my domain
by following the wiki but i cant get it to work in the scenario
http://mydomain/joomlafolder/ (i.e if joomla is in a folder in my
website clean url doesnt work at all)

any ideas? i tried googling but no luck so far

Posted at Nginx Forum:

problem fixed by modifying the code in the wiki to this:

location /joomlasubfolder/ {
error_page 404 = @joomla;
log_not_found off;
}

location @joomla {
rewrite ^/(.*)$ /joomlasubfolder/index.php?q=$1 last;
}

Posted at Nginx Forum: