fe1lho Posted May 4, 2006 Posted May 4, 2006 Hi, I just tried to edit htaccess file into the admin directory to restrict the access of the admin panel. But no way.. I'm using Centos With Apache 2.0 It seems that the file htaccess is not used Any Good idea ? Regards
glamourfish Posted May 4, 2006 Posted May 4, 2006 Just found this...not really sure what it means, but maybe it will help you!!! :-" # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work <Files *.php> Order Deny,Allow Deny from all </Files> if at first you do succeed...try not to look surprised!
fe1lho Posted May 4, 2006 Author Posted May 4, 2006 Solved... Into APACHE 2.0 It seems that I need to set authentication attribute into the file /etc/httpd/conf.d/MySite.conf Now it works Thanks for your help Regards
glamourfish Posted May 4, 2006 Posted May 4, 2006 Still not sure if I actually helped....but OK! You're welcome!! :blush: if at first you do succeed...try not to look surprised!
smithveg Posted May 8, 2006 Posted May 8, 2006 Just found this...not really sure what it means, but maybe it will help you!!! :-" # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work <Files *.php> Order Deny,Allow Deny from all </Files> i'm not understand your coding. somore i don't understand how to use .htaccess i found .htaccess in /../catalog and /../catalog/admin directory. i wonder to know how to use it and how can i edit it to set the security password to my admin site. do i need to do any code edit in httpd.conf? what is the relation between SSL and .heaccess? fish, can you help me one more times. ;) smithveg **** Hello World! ^.^ I'm a Internet naive. Browse my working profile Malaysia Web Services - OPerion Website Marketing System
IronHide8 Posted May 8, 2006 Posted May 8, 2006 I also need help. How should I edit the .htaccess file in admin directory?
glamourfish Posted May 8, 2006 Posted May 8, 2006 Htaccess is something that you use to allow access to a specific page. SSL is secure socket layer used for submitting/sending information privately over the internet. Read more about it here: http://www.webopedia.com/TERM/S/SSL.html what is it that you need to know or do? htaccess can sometimes be set up in your hosting provider's control panel. Sometimes not. If not you can set this up with PHP, but I suggest contacting your hosting company to find out if it's something they provide. if at first you do succeed...try not to look surprised!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.