could you tell me how to rewrite the following configuration code into a version of Apache or a .htaccess file?
can only write Nginx, Apache can"t.
location /data/coa/ {
if ( $cookie_user_id !~ "\d" ) {
rewrite ^/data/coa/(.*)$ http://$host/L37.html;
}
}
Thank you