3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 243 Views |
-
template for Security not found

25 October 2012 at 10:54pm
My customer found a horriable page http://mysite.com/Security
and he got this error msg:
[Notice] Undefined property: Security::$template
GET /Securityfollowed by 404.
how to redirect /Security to the 404 specified in the CMS?
-
Re: template for Security not found

4 November 2012 at 2:53am
Did you modify or extend the default Controller.ss template?
What version of SS are you currently using? -
Re: template for Security not found

8 November 2012 at 11:19pm
I am using 3.0.2 release 2. I did not extend the default Controller.ss.
For now, I have to put this in my .htaccess to force a redirect
RewriteCond %{REQUEST_URI} ^/Security$
RewriteRule ^(.*)$ /notfound/%1 [PT]
RewriteCond %{REQUEST_URI} ^/Security/$
RewriteRule ^(.*)$ /notfound/%1 [PT]
| 243 Views | ||
|
Page:
1
|
Go to Top |


