How do I Convert nginx to Apache rewrites

My local machine is Apache and this is the redirect scheme on nginx. How do I write this using RewriteRules? location / { if (!-e $request_filename){ rewrite ^/$ /index.php?url=home; } } location /admin { rewrite ^/admin$ /access.php; rewrite ^/admin/(.*)$ /access.php?page=$1; } location /s { rewrite ^/s/([^\/]+)(\/|)?$ index.php?url=share&share=$1; } location /media { rewrite ^/media/([^\/]+)(\/|)?$ index.php?url=home&media=$1; }…

SYNPROXY not working?

I have a firewall looking something like this: # Kernel settings sysctl -w kernel.printk=”4 4 1 7 ” sysctl -w kernel.panic=10 sysctl -w kernel.sysrq=0 sysctl -w kernel.shmmax=4294967296 sysctl -w kernel.shmall=4194304 sysctl -w kernel.core_uses_pid=1 sysctl -w kernel.msgmnb=65536 sysctl -w kernel.msgmax=65536 sysctl -w vm.swappiness=20 sysctl -w vm.dirty_ratio=80 sysctl -w vm.dirty_background_ratio=5 sysctl -w fs.file-max=2097152 sysctl -w net.core.netdev_max_backlog=262144 sysctl…