DirectoryIndex public/index.html

<IfModule mod_autoindex.c>
  Options -Indexes
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On

# ให้ /game-justic2/realtimechat/room.html ชี้ไป realtimechat/public/room.html บน WAMP
RewriteCond %{REQUEST_URI} !/public/ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ public/$1 [L]
</IfModule>
