1

Topic: Wamp Help Please

Ok I just installed wamp.  I got my mySQL database set up and its working fine (by this i mean I have my own username and have it password protected).  Now I just have a few questions.

How can I solve these.

1. When I try to install the forums Apache grabs my config.php file and sets that as the main page.  I want a main page to be a file called index.* unless I state to use a different file by use a .htaccess file.

2. I would also like this to be a little secure.  You can access my phpmyadmin by doing this.   localhost/phpmyadmin/
super unsecure tongue  If possible have it so you have to use a username and password to see the phpmyadmin zone.

3. Same with SQL lite.  I dont want it to bring to http://localhost/sqlitemanager/ 
again if possible have it so you have to use a username and password to see the phpmyadmin zone.

4. Do i have to configure apache or php to use a .htaccess or is it already configured to look for that file?

Their are a few questions that I really need to be figured out quickly so a hacker dosnt come and destroy my system tongue

Re: Wamp Help Please

I haven't used WAMP before, but this holds for Apache/PHP/MySQL set up on a Windows comp regularly
1. Check out httpd.conf, DirectoryIndex. Mine is currently:
DirectoryIndex index.html index.php
2. I think that's a phpMyAdmin setting. As an alternative, look into password protecting things with .htaccess
3. See above
4. I'd do a test with something (a simple Deny from all file should do it) and see if it works. If it doesn't, you'll have to play around in httpd.conf to enable it

3

Re: Wamp Help Please

cows,

You are wide open, stop forwarding port 80 on your router until you get all this secured.

I just accessed your phpmyadmin interface, do you want me to wipe out your databases wink

Do a little bit of reading, get youself secured then open up your box.

Re: Wamp Help Please

to scure your phpmyadmin first go into the mysql database and change your root password. than in the phpmyadmin config.inc.php change the "$cfg['Servers'][$i]['auth_type'] " variable. than last of all, restart mysql. and i think you should be set

5

Re: Wamp Help Please

cows wrote:

Ok I just installed wamp.  I got my mySQL database set up and its working fine (by this i mean I have my own username and have it password protected).  Now I just have a few questions.

How can I solve these.

1. When I try to install the forums Apache grabs my config.php file and sets that as the main page.  I want a main page to be a file called index.* unless I state to use a different file by use a .htaccess file.

2. I would also like this to be a little secure.  You can access my phpmyadmin by doing this.   localhost/phpmyadmin/
super unsecure   If possible have it so you have to use a username and password to see the phpmyadmin zone.

3. Same with SQL lite.  I dont want it to bring to http://localhost/sqlitemanager/ 
again if possible have it so you have to use a username and password to see the phpmyadmin zone.

4. Do i have to configure apache or php to use a .htaccess or is it already configured to look for that file?

Their are a few questions that I really need to be figured out quickly so a hacker dosnt come and destroy my system

Gizzmo wrote:

to scure your phpmyadmin first go into the mysql database and change your root password. than in the phpmyadmin config.inc.php change the "$cfg['Servers'][$i]['auth_type'] " variable. than last of all, restart mysql. and i think you should be set

Ok here is my progress

1. Complete

2. Half way done.  Gizzmo I  changed my mySQL password so thats now protected.  Now the change the "$cfg['Servers'][$i]['auth_type'] " variable.  I have no idea what you mean their.  Little tutorial plz?

3. Done

4. Done

Re: Wamp Help Please

cows wrote:

2. Half way done.  Gizzmo I  changed my mySQL password so thats now protected.  Now the change the "$cfg['Servers'][$i]['auth_type'] " variable.  I have no idea what you mean their.  Little tutorial plz?
4. Done

Authentication method (config, http or cookie based)

config:  it will basicly leave it open for all to view
http: it will popup that little window and make you sign in that way.
cookie: you will have a web based login where you sign in. you will also need to set $cfg['blowfish_secret'] to something. the docs say "the 'cookie' auth_type uses blowfish algorithm to encrypt the password. "

cookie method is the best i think.

7

Re: Wamp Help Please

how do I use this cookie method?

Re: Wamp Help Please

set the var "$cfg['Servers'][$i]['auth_type']" to config, set the var $cfg['blowfish_secret'] to something (dont think it matters what it is) than sign in with the user name and password

9

Re: Wamp Help Please

set the var

I still dont get what u want me to do..  Set the varable.  Go ahed and laugh but I have no clue what your saying.  What do I find in what file, and what do I replace in that file to make it work?  I know Im a copy paister but that helps me learn.

10 (edited by Gizzmo 2006-03-02 02:37)

Re: Wamp Help Please

hope this helps....

change LINE: 45
 
$cfg['blowfish_secret'] = '';

with

$cfg['blowfish_secret'] = 'randomfraze';


change LINE: 71

$cfg['Servers'][$i]['auth_type']     = 'config';

with

$cfg['Servers'][$i]['auth_type']     = 'cookie';