خرید بک لینک

Vote count: 0

I am trying to access files in my wamp webserver. I am able to use phpmyadmin on my android device through 192.168.1.21:8080/phpmyadmin. However, when I try to access a file, 192.168.1.21:8080/test/login.php or any other file in my /www/ folder it says

Forbidden, You don't have permission to access/ on this server.

I am ruing Apache 2.4.17, PHP 5.6.16, Windows 10, 64bit

Ultimately I am trying to run a basic android login program with a SQL database. When I run the the app I get a:

java.io.FileNotFoundException: http://192.168.1.21:8080/test/login.php

Everything works fine from my server machine, but I prefer to test on an actual device. I am not sure what I am doing wrong.

Here is what I have in my httpd.conf

Listen 0.0.0.0:8080
ServerName localhost:8080
HostnameLookups Off
DocumentRoot "D:/wamp64/www/"
<Directory />
Options Indexes FollowSymLinks
AllowOverride none
Require local
</Directory>
<Directory "D:/wamp64/www/">
Options Indexes FollowSymLinks
AllowOverride all
#Require local
#Require ip 192.168.1
Require all granted
</Directory>

I have tried many different combinations of Require Allow and Deny, whatever I could find I tried. My windows Firewall is tued off for private networks I have tried tuing it off for public as well.

Any suggestions would be appreciated.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 19 فروردين 1395 ساعت: 13:16

صفحه بندی