My problem is that I have had someone give me some files and I need to have them display in my cgi-bin. I try to display them but it asks me the password and such. I however don't know what it is. Is there a way to find out?, (other than asking the client?). What I am wondering is this. I was given a CD with all the files on it, (including the .htaccess and .htpasswd file). Through e-mail however I was sent a different .htaccess file and a configuration.pl file. I am wondering if this is supposed to protect their data and that I won't need the password as perhaps somehow one can read from the other if I put them in the right place. Also the configuration.pl file has some information in it like an MySQL password, but I am not sure which to just use for the main .htaccess file... any ideas or help?
Thanks,
Brian
2007-04-27
05:32:31
·
3 answers
·
asked by
Brian D
1
in
Computers & Internet
➔ Security
1) I need to put them in my cgi-bin because I have cgi installed and the files are of type .cgi. For example the index file is index.cgi. I have found that cgi files that I have created are "interpreted" correctly in the cgi-bin.
(2) I am trying to edit a website, the website being the files that I recieved on the CD that I mentioned above.
(3) The CD with all the files is the website that I am trying to work with
(4) thtere is a configuration.pl file that has a couple usernames and passwords in them. Such as ones that seem to be used by SQL:
$sc_mysql_server_name
$sc_mysql_database_name
$sc_mysql_user_name
$sc_mysql_password
There are also some such as:
$encryption_key
$sc_gateway_username
$sc_gateway_password
And I wondered if somehow I cwas to use the cd_gateway_username and sc_gateway_password to login at some point but it doesen't seem to satisfy the password requirements that come up when I try to run the page.
Thanks,
Brian
2007-04-27
06:28:34 ·
update #1