Welcome to the Linux Foundation Forum!

Lab 8.1 trailing /


On lab 8.1 if I use this config
ScriptAlias /scripts/ /new-cgi/

Require all granted

it gave me 404 not found sometimes
replacing it to:
ScriptAlias /scripts /new-cgi

Require all granted

works perfect on ubuntu 16.04


  • sswuste

    It might have to do with this:

    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  

    This is documented in the default httpd.conf which comes with the distribution.

    But to be absolutely sure you might provide some sample URL's which presented you with the 404 and which did not.


Upcoming Training