Hi everyone,
I'd like to disable access to update-profile pages.
I am not able to remove the content from the update-profile template, as LIST_FIELDS is mandatory, so I'd like to just disable it.
I've tried this code, from here, inside my apache2.conf with no luck (there is no redirect, no error). The mod_rewrite module is enabled. Any ideas on how to do this?
I'd like to disable access to update-profile pages.
I am not able to remove the content from the update-profile template, as LIST_FIELDS is mandatory, so I'd like to just disable it.
I've tried this code, from here, inside my apache2.conf with no luck (there is no redirect, no error). The mod_rewrite module is enabled. Any ideas on how to do this?
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/lists\/([a-z0-9]{13})\/update\-profile\/([a-z0-9]{13})$ [NC]
RewriteRule ^.*$ - [F,L]
Code:
<Directory />
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/lists\/([a-z0-9]{13})\/update\-profile\/([a-z0-9]{13})$ [NC]
RewriteCond %{REQUEST_URI} ^/index.php\/lists\/([a-z0-9]{13})\/update\-profile\/([a-z0-9]{13})$ [NC]
RewriteRule ^.*$ - [F,L]
</Directory>
Code:
<LocationMatch />
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/lists\/([a-z0-9]{13})\/update\-profile\/([a-z0-9]{13})$ [NC]
RewriteCond %{REQUEST_URI} ^/index.php\/lists\/([a-z0-9]{13})\/update\-profile\/([a-z0-9]{13})$ [NC]
RewriteRule ^.*$ - [F,L]
</LocationMatch>
Last edited: