1/7/2024 0 Comments Abyss web server=> "/no_exist/location" not found, pass to 404 handler "/url_rewrite.php" => "/url_rewrite.php" determines "/index.php?q=no_exist/location" exists and serves that instead but lets Drupal display the proper "page not found" informational message.=> "/admin/settings" not found, pass to 404 handler "/url_rewrite.php" => "/url_rewrite.php" determines "/index.php?q=admin/settings" exists and serves that instead.=> "/node/add" not found, pass to 404 handler "/url_rewrite.php" => "/url_rewrite.php" determines "/index.php?q=node/add" exists and serves that instead.The idea is to pass (or redirect) the missing URI location on the HTTP-404 handler "/url_rewrite.php".įor illustrative examples, let's look at the following scenarios: Another drawback is that the URL rewrite becomes only invisible to the machine but is always visible to the human. This method is useful for Abyss webservers version 2.3.2 and most other versions prior to this specific release. This solution could be rendered academic if Aprelium finally decides to implement URL rewrite in Abyss internally. For more information on configuring Abyss X1 for this purpose, please visit this Aprelium forum resource. One esoteric requirement is for the webserver to pass the server variable REQUEST_URI containing the value of the original resource requested. The method described here works only on webservers with a singular host configuration. Due to the generalized design of this solution, this method could theoretically work on virtually any webserver that can redirect missing URI location onto a php resource. This clean URL implementation has been tested on Abyss X1, one which has a properly set Custom Error to any arbitrary file that, for this purpose, will be referenced as "/url_rewrite.php".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |