URLs not working without trailing /

From a filesystem perspective, Apache treats dir as different to dir/ so if you visit url/dir it redirects the request to url/dir/

It uses the server name configuration directive to build the redirect URL. So if your server name doesn't work, it will redirect to a URL that doesn't work.

Look for a ServerName variable in httpd.conf and change it to 192.168.0.100 (or to a DNS name that works if you have one)

I changed the ServerName setting in the conf from "webserv" to the hostname of the server and that works now thanks.
 
Back
Top Bottom