Hi,
I'm looking for a way to restrict the access to my site to registered users. I would be registering the users through the admin panel.
I realize there would be a way through .htacess and userlist file, but I'm wondering if there's a way from within s9y.
Thanks
Restricting access to index page
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Restricting access to index page
Hi!
There are several ways you can do this:
1. Make your blog categories read-only to logged in authors. This will still allow visitors to open your blog, but they will see no entries.
2. Create a custom .htaccess file with a fixed password list to "block" people.
3. Use the serendipity_event_httpauth plugin (available from spartacus) to use a password prompt so that people must log in. This plugin however only works when your Apache server runs PHP as a module, not a CGI.
HTH,
Garvin
There are several ways you can do this:
1. Make your blog categories read-only to logged in authors. This will still allow visitors to open your blog, but they will see no entries.
2. Create a custom .htaccess file with a fixed password list to "block" people.
3. Use the serendipity_event_httpauth plugin (available from spartacus) to use a password prompt so that people must log in. This plugin however only works when your Apache server runs PHP as a module, not a CGI.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/