Recently, I set up /etc/apache2/apache2.conf on Ubuntu Linux 16.04 so that an web browser user can run 127.0.0.1/login.aspx with any browser as long as we run one mod_mono_server4 server and 1 or more apache2 service instance.
From this article:
Consider a web browser which attempts to load a page while the network is unavailable. The browser will receive an error code indicating the problem, and may display this error message to the user in place of the requested page. However, it is incorrect for the browser to place the error message in the page cache, as this would lead it to display the error again when the user tries to load the same page - even after the network is back up. The error message must not be cached under the page's URL; until the browser is able to successfully load the page, whenever the user tries to load the page, the browser must make a new attempt.
A frustrating aspect of negative caches is that the user may put a great effort into troubleshooting the problem, and then after determining and removing the root cause, the error still does not vanish.
How should I set up /etc/apache2/apache2.conf on Ubuntu 16.04 so that the error message must not be cached under the page's URL?
Here is my current /etc/apache2/apache2.conf on Ubuntu 16.04":
DocumentRoot "/home/vendors/DevelopmentX64/My-Web-App/My-Web-App" ServerName localhost LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so <Directory /home/vendors/DevelopmentX64/My-Web-App/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> Alias "/" "/home/vendors/DevelopmentX64/My-Web-App/My-Web-App" AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd MonoApplications "/:/home/vendors/DevelopmentX64/My-Web-App/My-Web-App"
Any help is sincerely welcome and appreciated.