--- ./web/.htaccess.orig
+++ ./web/.htaccess
@@ -5,7 +5,7 @@
 
   # uncomment the following line, if you are having trouble
   # getting no_script_name to work
-  #RewriteBase /
+  RewriteBase /pdns-gui
 
   # we skip all files with .something
   # comment the following 3 lines to allow periods in routes