i have a web application which consists of php files and images.
in my php files i refer to a file image like this
Code: Select all
"../".$my_root_site."images/thumbs/".$_SESSION['res'] etc ...
new location unless i modify all of my files (and they are many!!!) and do
Code: Select all
"../../".$my_root_site."images/thumbs/".$_SESSION['res'] etc ...
I'm studying for Apache alias and i saw redirect and alias. What am i supposed to add in Apache in order
for my php files to see the new path and not the old path. Shall i use regex?
Please, any advice would be very helpful!!!
Thanks