Apache on mos
  • Moderator
    Doraemon
    Posts: 137 from 2003/7/1
    From: Calella Republ...
    Anyone have a tutorial or a easy how-to install apache on morphos???
    Im using miamiDX and I want to use apache with php.

    thttpd will be wellcome too

    (both with php support)

    Thx 4 all
  • »14.11.03 - 13:32
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    Have much fun reading the docu.
    Pegasos PPC
  • »14.11.03 - 13:38
    Profile
  • Butterfly
    Butterfly
    Yvan
    Posts: 79 from 2003/3/28
    From: Zurich Switzer...
    Concerning thttpd: Did you already tried this:

    http://wuarchive.wustl.edu/mirrors/NetBSD/NetBSD-current/pkgsrc/www/thttpd/README.html

    The thttpd version on my Amiga didn't support any cgi stuff, so php shouldn't work. But I have an old version so I don't know how it is today.

    Apache?? Hmm, I gave up on my Amiga and started up my linux box.
  • »14.11.03 - 13:52
    Profile
  • Cocoon
    Cocoon
    Posts: 48 from 2003/5/13
    I wrote an article about using Apache and PHP but the text is in french ...

    The Apache package I choose is not the latest but it works with PHP included : Apache_1.3.12.lha on Aminet. All things available on http://amiga-apache.home.pages.de seem to be less old but more complex.

    thttpd from http://louise.amiga.lu works too with PHP but doesn't support MySQL calls (what I needed).

    It would be great to port a recent version of Apache ... About MySQL, the MorphOS version still have problems (maybe due to ixemul ?).
  • »14.11.03 - 14:10
    Profile
  • Caterpillar
    Caterpillar
    Posts: 38 from 2003/4/3
    I installed thttpd on MorphOS by just copying the drawers into my GG: environment, but it doesn't seem to work, it always gives me an 403 Error. Any idea what goes wrong?
  • »14.11.03 - 20:31
    Profile Visit Website
  • Cocoon
    Cocoon
    Posts: 48 from 2003/5/13
    1. Just uncompressed the thttpd archive where you want.
    2. Start it with "starthttpd", be sure your TCP/IP stack is running
    3. Run a browser and select the URL "http://127.0.01" or "http://localhost" or "http://192.168.0.x" with x to complete your IP address. I have to say it doesn't work with 127.0.0.1 (certainly due to a bad loopback configuration in Miami)
    4. Try again with "test.php" at the end of the URL
  • »14.11.03 - 23:12
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    http://pegasos.innoidea.hu/stuffz/GG/apache-1.3.27.tgz

    1. extract the archive (e.g. with untgz from beta2 ftp)

    2. install it like explained in the readme (copy apache directory to gg: and add entries to miami database)

    3. load httpd.config from the apache directory and comment the user and group settings:

    user www-data
    group www-data

    ->
    #user www-data
    #group www-data

    then the server runs as root, alternatively you could add the user/group to miami database... :)

    4. load up http://127.0.0.1 or http//localhost

    then it runs.It's a 1 minute job after all. :)


    later you can edit the settings by changing the httpd.config, if you want.

    regards,
    tokai
  • »15.11.03 - 00:04
    Profile Visit Website
  • Moderator
    Doraemon
    Posts: 137 from 2003/7/1
    From: Calella Republ...
    Thx tokai, now I have apache running :)
    ............

    Now I need A sql server. Anyone runs fine in mos??

    I want to put phpnuke, xoops aor a similar portal/news site on it.
  • »16.12.03 - 23:05
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    Does it work without the GG? Is there any MOS package what doesn't use it?
    [ GK / LKA Team ]
  • »09.04.04 - 22:53
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    hmm.. even if you're not a developer I can only recommend to install the GeeksGadgets package (available @ mdc.morphos.net). It will make your life more easy, because it comes with some useful tools too (e.g. a lot packer: gzip, bzip2 etc.) and provides the environment for most 'quick' gnu ports.

    regards,
    tokai
  • »10.04.04 - 10:37
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    Is there a httpd version with mod_rewrite other
    than the sixk-port (1.3.20) ?
    Every other amiga and mos-port seems to come without
    this module.

    The sixk-port gives me a lockup (for a few mins) when
    a page is reloaded. So I'm looking for a replacement which is
    supporting rewrite of urls with .htaccess.
  • »23.04.04 - 18:13
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    Forget my question. Seems the problem only
    occurs with Voyager. Tested now with IBrowse
    and from remote with IE and they dont lockup
    the scripts ... so I'll stick to the sixk port :-)
  • »24.04.04 - 08:49
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    :-D And now I've even found a solution to use it with Voyager !
    I've added in 'httpd.conf' (IfModule mod_setenvif.c) section

    BrowserMatch "AmigaVoyager" nokeepalive

    Now the problem is gone :-) No idea what it does but it works ;-)
  • »24.04.04 - 09:14
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    Is there any Apache with working GD (graphics library for reading, creating and saving various image formats) support?
    [ GK / LKA Team ]
  • »24.04.04 - 16:44
    Profile Visit Website