View file comm/.htaccess
php_value session.use_trans_sid 1 DirectoryIndex index.php AddDefaultCharset UTF-8 Options -Indexes php_value session.cookie_lifetime 0 Options SymLinksIfOwnerMatch php_flag magic_quotes_gpc Off php_flag magic_quotes_runtime Off php_flag magic_quotes_sybase Off # Не создаются переменные argc и argv php_flag register_argc_argv Off # Глобальные переменные! php_flag register_globals Off RewriteEngine On Options +FollowSymlinks RewriteRule ^([0-9]+)/*$ ./comm.php?id=$1 [NC]