https://httpd.apache.org/docs/current/mod/mod_rewrite.html https://httpd.apache.org/docs/2.4/mod/mod_alias.html
Hello!
/etc/apache2/mods-enabled/dir.conf
/etc/apache2/sites-enabled/000-default.conf
ServerAdmin Filomaticsystems@gmail.com DocumentRoot "/var/www/test-server" ServerName test-server.filomatic.de ErrorLog ${APACHE_LOG_DIR}/test-server.filomatic.de-error.log CustomLog ${APACHE_LOG_DIR}/test-server.filomatic.de-access.log" common Alias "/myapp/" "/opt/myapp-1.2.3/" #AliasMatch "^/myapp" "/opt/myapp-1.2.3" RewriteEngine On RewriteBase "/myapp/" RewriteRule "^index\.html$" "welcome.html" RewriteRule Filomatic.html$ index.php [PT] #Alias "/" "/opt/myapp-1.2.3/" RewriteEngine On #RewriteBase "/" #RewriteRule "^index\.html$" "welcome.html" #RewriteRule Filomatic.html$ index.php [PT] AddCharset UTF-8 .utf8 Options +FollowSymLinks RewriteEngine On RewriteRule go$ index.php [PT] RewriteRule Filomatic.html$ index.php [PT] #RewriteRule Roman-Pantring\.(.*)\.(.*)\.(.*).html$ index.php?page=$1&dir=$2&menu=$3&%{QUERY_STRING} RewriteRule Filomatic\.(.*)\.(.*).html$ index.php?page=$1&dir=$2 RewriteRule Filomatic\.(.*).html$ index.php?page=$1