s4n7h0 / xvwa

XVWA is a badly coded web application written in PHP/MySQL that helps security enthusiasts to learn application security.
GNU General Public License v3.0
1.69k stars 339 forks source link

login redirection #19

Closed AliBawazeEer closed 8 years ago

AliBawazeEer commented 8 years ago

Hi .. facing issue

whenever i login and enter admin admin , i get redirected to http://localhost/var/www/html/xvwa/login.php ??

The requested URL /var/www/html/xvwa/login.php was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.168.56.102 Port 80

pwd : /var/www/html/xvwa/ ls : login.php exist

Thank you

AliBawazeEer commented 8 years ago

even when you look at the images , you find ( <img src="/var/www/html/xvwa/img/XVWA4589.png" height="130" weight="20/" data-pin-nopin="true">

s4n7h0 commented 8 years ago

@AliBawazeEer /var/www/html should be your web root directly and this path is automatically picked up by web servers. You should be using localhost/xvwa/login.php instead. Also ensure you use correct configuration parameters specified here https://github.com/s4n7h0/xvwa#manual-installation-method