Apache+Swoole����������
Apache����ʹ�ô���ָ���Rewrite��ʵ�֡�
ServerName www.swoole.com DocumentRoot /data/webroot/www.swoole.com DirectoryIndex index.html index.php Options Indexes FollowSymLinks AllowOverride None Require all granted # ProxyPass /admin ! # ProxyPass /index.html ! # ProxyPass /static ! # ProxyPass / http://127.0.0.1:9501/RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ http://127.0.0.1:9501$1 [L,P]