From: Bob A. <apt...@cy...> - 2003-03-08 21:11:08
|
On Sat, 8 Mar 2003 14:51:52 -0500 Alexander Dvorak <me...@ea...> wrote: > As a follow up to my previous question about trouble accessing my > phpwiki files from the internet... > > Could changing the line > 'dsn' => 'mysql://wikiuser:mypassword@localhost/phpwiki', > > to > > 'dsn' => 'mysql://wikiuser:mypassword@/phpwiki', > > be the answer? Probably not. If your site works fine as http://192.168.0.1/phpwiki/nameofmywikipage then your webserver (which I assume is Apache) can connect to the database just fine. It shouldn't be affected by where the page request comes from. Assuming you're using Apache, look for a line like ServerName localhost.local in httpd.conf. Change that line to your hostname ServerName www.example.com and make sure that www.example.com resolves in DNS (test with dig or nslookup) and in your /etc/hosts file. This looks like a nameservice/webserver configuration problem, not a problem with phpwiki. hth, -- Bob |