I'm makin a small site, and a friend of mine is going to help me. However, when I send him my IP, he gets a forbidden error. I think it is something in my access.conf file (phpDev, Apache 1.3.27, MySQL4). I'd like him to have access mostly to the PhpMyAdmin, but the others would be a plus.
What do I need to do?
Allowing another IP to access my server
Moderator: General Moderators
http://httpd.apache.org/docs/mod/core.html#listen
Will perhaps get you more info regarding Apache.
In phpMyAdmin, you need to edit the $cfg['Servers'][$i]['host'] parts of the config.inc.php to reflect your public IP/host. Most commonly doing local development we use localhost or 192.168.0.2/127.0.0.1 or so...
After adding the public ip, you need to rearrange the usertable so that the user(s) you have today fits your new configuration: Steveo31@192.168.0.2 would look like Steveo31@your-public-host.com and User2@your-friends-host.com.
More about that: http://dev.mysql.com/doc/mysql/en/Adding_users.html
Might not help, but I gave you some directions to investigate...
Will perhaps get you more info regarding Apache.
In phpMyAdmin, you need to edit the $cfg['Servers'][$i]['host'] parts of the config.inc.php to reflect your public IP/host. Most commonly doing local development we use localhost or 192.168.0.2/127.0.0.1 or so...
After adding the public ip, you need to rearrange the usertable so that the user(s) you have today fits your new configuration: Steveo31@192.168.0.2 would look like Steveo31@your-public-host.com and User2@your-friends-host.com.
More about that: http://dev.mysql.com/doc/mysql/en/Adding_users.html
Might not help, but I gave you some directions to investigate...
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA