eZ Community » Forums » General » How to ban content/view/full in the URL?
expandshrink

How to ban content/view/full in the URL?

How to ban content/view/full in the URL?

Friday 02 June 2006 12:56:05 pm - 2 replies

I want to ban user to visit links like http://www.mysite.com/content/view/full/55. By doing this someone can acctualy see content. What is the best way to do that?

On the other side, registration info email, which user gets to confirm his account, contains link like this http://www.mysite.com/content/view/full/55.

Monday 05 June 2006 9:54:34 am

Hi;
you can take a look at this page:
http://ez.no/products/ez_publish/...lish_site/the_news_page/news_archive

see this chapter: <b>Creating an URL alias for the News archive</b>

i think, it can help you. blunk.gif Emoticon

Wednesday 07 June 2006 11:41:59 pm

You can block urls in a .htaccess file in your site root (when using the Apache web server):

<FilesMatch "^content/view/full">
  Order Allow,Deny
</FilesMatch>

See also:
http://httpd.apache.org/docs/1.3/mod/core.html#filesmatch
http://httpd.apache.org/docs/1.3/mod/mod_access.html#order

Modified on Wednesday 07 June 2006 11:44:49 pm by Marc Boon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from