Blocking Access to a Url route in Apache

by John H
~1 minute

This serves a 403 forbidden for any route with blog.

RewriteRule ^(.*/)?blog(.*/)?/ - [F,L]

Great post talking about restricting files and paths in Apache

http://www.ducea.com/2006/08/11/apache-tips-tricks-deny-access-to-some-folders/

 

Related Articles

Working and testing redirects for Apache

Working and testing out redirects for Apache To work on a testing local install of the site make...

John H John H
5 minutes

Get Url In Laravel

There are a bunch of ways to grab the url in Laravel. Here are a few of the ways I have found....

John H John H
~1 minute

Moving Wordpress Site to a New Domain

Scenario:  You bought domain, JohnsHatDogs.com.  You configured the DNS and it's pointing to...

John H John H
5 minutes