problem about trailing-slash-Collection of common programming errors


  • doitmyway
    apache document-root trailing-slash
    I’ve got a framework I need to work with and the server configuration file for the live version (the working one) specifies the document root like this:define(‘DOCUMENT_ROOT’, $_SERVER[‘DOCUMENT_ROOT’]);Now if I try running the framework on my localhost machine I keep getting a server error.HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.It doesn’t work unless I do this:define(‘DOCUMENT_ROOT’, $_SERVER[‘DOCUME

Web site is in building