Hello to All,
I'm new to nginx but really like it. I have a site with pictures on Joomla CMS. About a week fighting NOT to proxy php to apache. Problems with my migration are solved one by one but i want to look for a bit help with something:
Lets say i have a localhost/dir/index.php file who use POST method and generate a code with html to preview pictures stored on /var/www ( root nginx dir ). So my problem is: when i use echo(); method in my php code it simply change the code:
[code]
<img src="/images/Arizona-Muse-Willy-Vanderperre/Arizona-Muse-Willy-Vanderperre7.jpg" />
[/code]
to code
[code]
<img src="/dir/images/Arizona-Muse-Willy-Vanderperre/Arizona-Muse-Willy-Vanderperre7.jpg" />
[/code]
So my question is can i rewrite that get because my picture is in /images..... not in /dir/images/...
Any of your help will be appreciated
Br,
Ognyan