[dokuwiki] Re: install question re: access via Internet

  • From: Stephen Ronan <sronan@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 2 Mar 2006 12:12:01 -0500 (EST)

Seems to be working now after I copied the Alias /dokuwiki line and the related directory information below it from /etc/dokuwiki/apache.conf to /etc/apache2/apache2.conf
and cleared my browser cache
thanks again for you help
-S


On Thu, 2 Mar 2006, Stephen Ronan wrote:

thanks for your help, Bob and Chris.
I feel like I've made a little progress but am not there yet. the phpinfo page shows up okay, providing info such as:
PHP Version 4.4.0-3ubuntu1
Server API Apache 2.0 Handler
etc.


Trying this:
sudo dpkg-reconfigure dokuwiki
let me select the global option I hadn't been offered in the initial setup.

I have apache2 installed. I tried installing apache-perl but that interfered with apache2 which I needed in order to run RT: Request Tracker so I uninstalled apache-perl.

I continue to get the same response message as before via Firefox (asking me what application to use to open the dokuwiki/index.php file) and a page not found error using IE.

Any additional suggestions would be very much appreciated.

Thanks,
Steve

On Wed, 1 Mar 2006, Bob Baddeley wrote:

This is definitely an apache/php configuration problem and not a dokuwiki problem. When it says "you have chosen to open blah blah blah" that means the server isn't handling the page like it should be. It's letting you download it instead of parsing it. First, can you confirm that php is installed and that the module is running in apache? Try creating a file called index.php and having the contents of the file say "<?php phpinfo(); ?>" Once you can view this file from the internet and it outputs useful information, then your sever will be set up well enough to start using dokuwiki.

Bob Baddeley

Chris Smith wrote:
Stephen Ronan wrote:
hi
When I read the documentation I expected to be prompted during installation for whether I wanted access to be available via the Internet or just locally. But my installation yesterday using apt-get dokuwiki on a newly set up Ubuntu server seemed to skip that question. And it looks like access is only available via http://127.0.0.1/dokuwiki
Since i don't have anything like Firefox installed on the server it's a little hard to tell what's going on via that address.
I've tried substituting "allow from all" for "allow from 127.0.0.1 in dokuwiki/apache.conf
but now when I try to open /dokuwiki from a browser in the LAN, I'm getting:
You have chosen to open
doku.php
which is a PHP file
what should Firefox do with this file?
open with
save to disk...


Is there another way to run the installation that will in fact offer the option of making dokuwiki available via the Internet? Or is there some place that lists the changes needed to move my system from local access only to Internet access?

Thanks,
  Steve
I am not familiar with Ubuntu, but it sounds more like your apache configuration. Apache's config file (normally httpd.conf) often comes preset to listen to port 80 on localhost only. You'll need to edit that.

Listen 80

should do the trick. If you are using Apache 1.3 you may need to check and remove any conflicting BindAddress & Port directives. Apache 2.0 only uses Listen.

Cheers,

Chris

-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: