flyhead Posted August 12, 2008 Posted August 12, 2008 On Sunday I was trying to hyperlink an image on the homepage to some text about our Rush Services. I was only able to get the image to link but wanted username & password---Clearly a problem. Germ and lindsay were trying to assist, but not before I had the issue of everytime you went to the URL it would ask for username & password again. This could of been happening even when I was working on the hyperlink but since it was already in my cache I was unaware. I have looked at the files I modified top.cfm and emergencytext.cfm(the text about rush services) and can not figure it out. I have since uploaded the old original files but am still having the problem of asking for username & PW when you enter the URL. In trouble any ideas. URL www.masterdatachecks.com Thanks
flyhead Posted August 12, 2008 Author Posted August 12, 2008 Link was not working. www.masterdatachecks.com
BryceJr Posted August 12, 2008 Posted August 12, 2008 www.masterdatachecks.com <-- asking for username and password Looking at your previos thread, I think you still have htaccess file or you password protected your whole site.
flyhead Posted August 13, 2008 Author Posted August 13, 2008 Bruce--Can you give me any direction on what I should be looking for? I believe I was in top.cfm and another file I created called emergencyservice.cfm. I deleted the emergencyserivce.cfm file and uploaded the last original file I saved for the top.cfm. Any advice?
sLaV- Posted August 13, 2008 Posted August 13, 2008 Bruce--Can you give me any direction on what I should be looking for? I believe I was in top.cfm and another file I created called emergencyservice.cfm. I deleted the emergencyserivce.cfm file and uploaded the last original file I saved for the top.cfm. Any advice? Steve, check in your root (or catalog, or shop) directory for a .htpasswd file ... if you have one of these then you have password protected your store ... you simply need to remove this .htpasswd file and then modify your .htaccess file in THE SAME DIRECTORY and remove the section where it states that authentication is required If you dont have a .htpasswd file still check your .htaccess file ... you might've added authentication required in there .. N.B - BE REAL CAREFUL WITH THE .htaccess FILE ... IF YOU REMOVE OR EDIT THE WRONG THING IN HERE YOUR IN TROUBLE!!
flyhead Posted August 15, 2008 Author Posted August 15, 2008 There is no htpasswd in the public/catalog file. However there is a htpasswd in my catalog admin file. I do not know if this helps but here is the the htaccess for the public/catalog file. # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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 # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule>
sLaV- Posted August 16, 2008 Posted August 16, 2008 There is no htpasswd in the public/catalog file. However there is a htpasswd in my catalog admin file. I do not know if this helps but here is the the htaccess for the public/catalog file.# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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 # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Nope doesnt look like your .htaccess file is password protecting your store ... you might have your config files mixed up.. paste your /admin/includes/configure.php and your /includes/configure.php files
germ Posted August 16, 2008 Posted August 16, 2008 I think it is a .htaccess problem. I also think yoiu've just posted in the wrong one. You pasted in this one: /public/catalog That's not the "root". The .htaccess file causing the problem is in the root folder. I know a .htaccess login box when I see one, and that's what comes up on the screen. At least it sure looks like one to me. :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
flyhead Posted August 18, 2008 Author Posted August 18, 2008 Germ--I am sure it gets old assisting us youngsters, but what exactly should I be looking for in the public/catalog file? Thanks
germ Posted August 18, 2008 Posted August 18, 2008 Nothing. The one (.htaccess file) you want should be in /public If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
flyhead Posted August 18, 2008 Author Posted August 18, 2008 Germ--It is probably me I have post the htaccess file under the /public and nothing looks out of the norm. What do you think? Thanks DirectoryIndex index.cfm index.php index.pl Redirect /logo [url="http://www.masterdatachecks.com/logo.cfm"]http://www.masterdatachecks.com/logo.cfm[/url] AddHandler phpCGI .php .phtml .php3 Action phpCGI /cgi-bin/phpCGI AddHandler phpCGI .php .phtml .php3 Action phpCGI /cgi-bin/phpCGI
flyhead Posted August 18, 2008 Author Posted August 18, 2008 Germ--Here is the .htaccess file for the public/catalog if that helps out. # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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 # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule>
germ Posted August 18, 2008 Posted August 18, 2008 Redirect /logo http://www.masterdatachecks.com/logo.cfm What does logo.cfm do? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
flyhead Posted August 18, 2008 Author Posted August 18, 2008 It might be one of the logos we have on our home page. Should I fiddle with code? Maybe take it out?
flyhead Posted August 18, 2008 Author Posted August 18, 2008 Germ for President!!!! I just took out that redirect and I am now in business. Thanks a million. I have a feeling I am going to be telling you that all the time. Thanks
germ Posted August 18, 2008 Posted August 18, 2008 Well gee.... :blush: What a happy accident. :lol: I really don't know anything about Cold Fusion files (that's what ".cfm" files are). I thought maybe it was some sort of logon script, but it's not. Anyway, nice to have you "up and running" again! ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.