App works in Linux but not Windows


#1

i have a working application which i developed in Linux, i transfered it in windows(wamp) but application seems not to be loading the route. i get this error when i try to login

The requested URL /login was not found on this server
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80


#2

Have you followed this in your Windows environment?

http://www.slimframework.com/docs/v3/start/web-servers.html#apache-configuration


#3

Thanks, i just did but the page isnt loading anymore. what i see now is the list of all folders without the public folder


#4

Is your front controller (index.php) visible in that directory listing? If not, then the first issue is that your DocumentRoot isn’t correctly set.


#5

Its visible. I’m thinking the issue has to do with my apache httpd.conf. below is my configuration

AllowOverride All Require all denied

i was posting the whole conf but being limited for being a new user


#6

Hi @youngxorse

Can you please try this Slim 3 Hello World application and tell us if it works under windows and apache?