Help with htaccess and urls rewrite - Joomla! Forum - community, help and support
i've put in current htaccess comes joomla seeing url requests using in access logs this:
get /index.php?option=http//www.somesite.com/rest of url
these getting response of 200 server has me concerned. these 403 error.
in htaccess, have put following:
#if uri contains "http:" or "ftp:" or "https"
rewritecond %{query_string} ^.+http\:
rewritecond %{query_string} http\: [or]
rewritecond %{query_string} ftp\: [or]
rewritecond %{query_string} https\: [or]
#or if uri contains "["
rewritecond %{query_string} \[ [or]
#or if uri contains "]"
rewritecond %{query_string} \] [or]
# send blocked request homepage 403 forbidden error!
rewriterule ^(.*)$ index.php [f,l]
this doesn't seem work. assistance appreciated.
thanks.
get /index.php?option=http//www.somesite.com/rest of url
these getting response of 200 server has me concerned. these 403 error.
in htaccess, have put following:
#if uri contains "http:" or "ftp:" or "https"
rewritecond %{query_string} ^.+http\:
rewritecond %{query_string} http\: [or]
rewritecond %{query_string} ftp\: [or]
rewritecond %{query_string} https\: [or]
#or if uri contains "["
rewritecond %{query_string} \[ [or]
#or if uri contains "]"
rewritecond %{query_string} \] [or]
# send blocked request homepage 403 forbidden error!
rewriterule ^(.*)$ index.php [f,l]
this doesn't seem work. assistance appreciated.
thanks.
yukon wrote:i've put in current htaccess comes joomla seeing url requests using in access logs this:
get /index.php?option=http//www.somesite.com/rest of url
these getting response of 200 server has me concerned. these 403 error.
take @ thread: http://forum.joomla.org/index.php/topic,244279.0.html
pretty rewrite condition covered here. since newb when comes nuts , bolts of these rewrite conditions , mean, put list in .htaccess as-is. there later discussion suggesting of lines redundant or can covered catch-all rewrite, left mine alone. see 0 noticeable impact of sites' performance , far can tell , of attempts slipping through 200 returning 403.
good luck!
Comments
Post a Comment