GsmCorner Posted December 21, 2003 Share Posted December 21, 2003 hi all, just install oscommerce, You need to .htaccess your /admin directory so that it is password protected. You can use the password manager in your server admin area like cpanel. i tried to password protect the admin directory but it comes up with an error, An error occured while attempting to protect the directory Details Unable to write the protected directories list file any idea why it comes up with this error ? cheers Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 install the admin with access levin contrib, works great Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 hi mibble, just done that now... but when i go to the admin link it comes up as 'The page cannot be found' The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. it said that before i just did that admin thing.... any idea why it says that ? Cheers Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 what is the domain address? Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 http://66.98.138.88/~gsmcorner/catalog/admin/index.php ^^ there.. thanks Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 there is something wrong with the path in your admin/includes/configure.php is what i am guessing, without being able to see it. can you post that, then i can see what the path says. compare it with catalog/includes/configure.php Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 hi, is this the bit u need to see ? define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); cheers Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 put '/catalog' in front of '/admin/, so it is '/catalog/admin' i went to http://66.98.138.88/~gsmcorner/admin/index.php and was prompted for the logon screen Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 hi sorry i remember now, i moved the admin folder, i've just moved it back to the catalog folder now the link works now but the user and pass dont work ? cheers Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 you can delete the .htaccess file and then use the contribution i sent u earlier, or you will have to open your .htaccess file and see where it points to as the passwd file, and the user that is required Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 i've already done that contribution you sent me...not sure if i did it right though lol... Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 did you run the sql query on the database? also, did you upload the programs? did you figure out the username and password for the .htaccess file? Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 yep i did the database thing and uploaded the files but whats this with the .htaccess file ? i dont see any file called that ? Tom Link to comment Share on other sites More sharing options...
GsmCorner Posted December 21, 2003 Author Share Posted December 21, 2003 now my site aint working or the admin bit lol... http://66.98.138.88/~gsmcorner/catalog/admin/index.php ill start again tomorrow.. cheers Tom Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 the .htaccess file is a hidden file, however you should be able to see it through your ftp program if you can access via the unix shell, cd to the admin folder and then 'cat .htaccess' and it will tell you the name required, and the path to the file that is required. you can also change the password, do a 'man htpasswd' it will show you the format of what to do. i will repost on my ftp site tomorrow, the section i have on how to create or modify the .htaccess files Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2003 Share Posted December 21, 2003 ok it is on my ftp, ftp.recoverdata.com it is a text file, explains about htaccess files Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.