php - File not found if specify "/" in beginning. -


i start working on existing code. code uses manual routing , running live can not change coniguration files.

problem when run code in local server, no files can include because of "/" in beggining.

example: <img src="/images/header.png">

i can not find header.png. if remove "/" <img src="images/header.png"> can get.

i can not change code because runs on live server. think need change apache configuration.

i using apache 2.0.

please guide me guys. :(

it happening because of folder structure. - /images/header.png in @ root folder. , if / removed try access on current folder.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -