|
|||||||
| General Discussion and support for your general issues associated with web design. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
My desktop is running WinXP Pro IIS Web Server. I access that through localhost while using it. When on my laptop (win xp home), i can use my browser and open http://192.168.1.2/ and see all the websites with no problem. but, if while on my laptop, i try to use myphpadmin, i see all the links try to open http://localhost/anything which gives me an error. I can't use phpmyadmin. MySQL databases work fine. I just don't have access to phpmyadmin links. the question: How can i access my Local Web Server from my laptop using http://localhost?? I guess one solution would be to edit phpmyadmin config files, but i prefer to avoid that. any ideas?? thanks! |
|
#2
|
||||
|
||||
|
Here's a better solution: in config.inc.php (phpmyadmin), look for $cfg['PmaAbsoluteUri'] (line 32 in mine, yours might be different) and give it a blank value:
PHP Code:
|
|
#3
|
|||
|
|||
|
yeah!
Oh man, beautiful!thanks! D. |
|
#4
|
|||
|
|||
|
But,
Now i get this red line on phpMyAdmin home.. The $cfg['PmaAbsoluteUri'] directive MUST be set in your configuration file! Weird.. i saw on the config file, a comment saying that this line does not need to be specified. should i care?
|
|
#5
|
||||
|
||||
|
If it's working fine without it set, just ignore the message. But, if you experience problems, you could give it the following value:
PHP Code:
This is not recommended though, since it will not work when you try to access phpmyadmin from a computer outside your network. If it's not giving you problems, just leave it blank
|
|
#6
|
||||
|
||||
|
localhost is supposed to be the web server on the actual computer you are on since its URL is always 127.0.0.1
what I did instead for my local network was to update the hosts file to assign a domain name (eg. local.home) to the ip address of the computer running the web server.
__________________
Stephen Free Computer Help, blog, forum Web design ebooks and software JavaScript scripts and tutorials |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|