mod_rewrite - Apache HTTP Server Version 2.4
Quote:
DocumentRoot "/var/www/example.com"
AliasMatch "^/myapp" "/opt/myapp-1.2.3"
<Directory "/opt/myapp-1.2.3">
RewriteEngine On
RewriteBase "/myapp/"
RewriteRule "^index\.html$" "welcome.html"
</Directory>
|
/etc/apache2/sites-available
! -d not a directory
! -f not a file
! is a negation
= equal to
!= not equal to