I have below content on .htaccess.
RewriteOptions inherit
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.net$
RewriteRule ^doc\/\/?(.*)$ "http\:\/\/dl\.test\.net\/doc\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^test\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.net$
RewriteRule ^upload\/\/?(.*)$ "http\:\/\/dl\.test\.net\/upload\/$1" [R=301,L]
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . "http\:\/\/dl\.test\.net\/wp-content/uploads\/".{REQUEST_FILENAME} [L,R=301]
# BEGIN WordPress
# END WordPress
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^welayah\/\/?(.*)$ "http\:\/\/test\.net\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^test\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.net$
RewriteRule ^up\/\/?(.*)$ "http\:\/\/dl\.test\.net\/up\/$1" [R=301,L]
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 176.9.109.114
Website is showing 500 internal server error. On apache error log
.htaccess: RewriteRule: bad flag delimiters
Looking for help.