htaccess driving me nuts!
#1
Posted 07 April 2005 - 04:15 PM
I followed the very clear instructions on - although he does neglect to tell you to upload in ASCII
But when I tried to access the admin pages I got a Page Not Found message.
I see that there is already a .htaccess file in my directory on install. Am I meant to overwrite that? Should I putting the .htpasswd file in a particular directory?
What am I doing wrong?
Please help as everything else about the install has gone really well
#2
Posted 07 April 2005 - 05:01 PM
#3
Posted 07 April 2005 - 05:36 PM
/catalog/pass/admin
/catalog/pass/htacces etc.
Remember to change path to admin dir if you change it.
Hopes that will help
From Emil Larsen
#4
Posted 07 April 2005 - 07:49 PM
Seekers-, on Apr 7 2005, 11:36 AM, said:
/catalog/pass/admin
/catalog/pass/htacces etc.
Remember to change path to admin dir if you change it.
Hopes that will help
From Emil Larsen
Uh, I've had this same problem and I did replace the htaccess file for my admin directory. Things seem to work okay, but is it necessary for me to revert back and add a buffer directory like you suggest? Do you know what the original htaccess does?
Thanks,
JD
This post has been edited by circus_bricoleur: 07 April 2005 - 07:51 PM
#5
Posted 07 April 2005 - 08:21 PM
# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # Fix certain PHP values #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule>
#6
Posted 08 April 2005 - 12:45 AM
Vger
Parse Error Quick Install Guide $this in uploads.php 1064 - You have an error in your SQL syntax;
My Contributions
Register Globals Patch Files Fixed Width Site With CSS Cobalt Template for BTS Flame Template for BTS CCGV(trad)
Add Store Details to Contact page Different Borders For Info Boxes Thumbnail PDF Catalogue Black Buttons BACS Payment Module AuthorizeNet AIM module
#7
Posted 11 April 2005 - 09:15 PM
I don't have the option to secure any directory using the control panel of my webhost.
I created the .htaccess and the .htpasswd using a .htaccess and .htpasswd Code Generator.
After installing this I do get a logon screen but I can't login.
Then I used another generator but had the same problem, I can't login.
I also noticed that both generaters encrypted my password different.
Can someone please tell me (in simple words) how i can protect my admin folder?
Thank you.
#8
Posted 11 April 2005 - 09:27 PM
1. Your hosting company does not allow the use of any files beginning with a period (dot) - such as Yahoo, Lycos
2. Your .htaccess file is not written correctly - and this can vary according to which type of server you are on.
3. You are on a Windows server, in which case .htaccess won't work anyway - as it is a feature of Apache. For Windoze servers you need to create a Login based on a text file e.g.
User = abc
Pass = 123
Vger
Parse Error Quick Install Guide $this in uploads.php 1064 - You have an error in your SQL syntax;
My Contributions
Register Globals Patch Files Fixed Width Site With CSS Cobalt Template for BTS Flame Template for BTS CCGV(trad)
Add Store Details to Contact page Different Borders For Info Boxes Thumbnail PDF Catalogue Black Buttons BACS Payment Module AuthorizeNet AIM module
#10
Posted 11 April 2005 - 11:45 PM
Vger
Parse Error Quick Install Guide $this in uploads.php 1064 - You have an error in your SQL syntax;
My Contributions
Register Globals Patch Files Fixed Width Site With CSS Cobalt Template for BTS Flame Template for BTS CCGV(trad)
Add Store Details to Contact page Different Borders For Info Boxes Thumbnail PDF Catalogue Black Buttons BACS Payment Module AuthorizeNet AIM module

Sign In
Register
Help



MultiQuote