Author Topic: Apache  (Read 3278 times)

patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Apache
« on: February 22, 2008, 12:32:58 pm »
I have another machine which is a web server with suse 10.3 + lampp + moodle + phpnuke + wordpress + mediawiki.

Is it possible to use the ebox machine to work with all this??
All these sites are accessible from the outside and from the LAN. (we are a school)
For this I would need apache, php, mysql, right?

Nicarlo

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #1 on: February 22, 2008, 03:31:46 pm »
i am pretty sure ebox does not use mySQL they use postgreSQL


so my guesses are that any website using mySQL will not run unless they are prostgreSQL enabled.

patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #2 on: February 23, 2008, 11:52:42 am »
What if I install lampp?
Lampp comes with the following and is installed in opt directory:
- Apache 2.2.8
- MySQL 5.0.51a
- PHP 5.2.5 & 4.4.8 & PEAR + SQLite 2.8.17/3.3.17 + multibyte (mbstring) support, Perl 5.10.0
- ProFTPD 1.3.1
- phpMyAdmin 2.11.4
- OpenSSL 0.9.8e, GD 2.0.1
- Freetype2 2.1.7
- libjpeg 6b, libpng 1.2.12
- gdbm 1.8.0
- zlib 1.2.3
- expat 1.2
- Sablotron 1.0
- libxml 2.6.31
- Ming 0.3
- Webalizer 2.01
- pdf class 009e
- ncurses 5.8
- mod_perl 2.0.2
- FreeTDS 0.63
- gettext 0.11.5
- IMAP C-Client 2004e
- OpenLDAP (client) 2.3.11
- mcrypt 2.5.7
- mhash 0.8.18
- eAccelerator 0.9.5.2
- cURL 7.17.1
- libxslt 1.1.8
- phpSQLiteAdmin 0.2
- libapreq 2.08
- FPDF 1.53
- XAMPP Control Panel 0.6


patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #3 on: February 23, 2008, 12:41:19 pm »
I tried to install lampp!
Installation went fine!
when i try to start lampp i get this error:


What can be wrong?

Well, I did some exploring:

« Last Edit: February 23, 2008, 12:48:41 pm by patcunha »

luch0

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #4 on: February 23, 2008, 02:31:57 pm »
Hi patcunha.

At first glance, it appears that XAMPP Apache does not start by trying to become owner of the port 443, maybe because this port is being used by the web environment Ebox (remember to log in the web environment uses the https). Anyway, try to disable XAMPP Apache on port 443 or change the listening port of web environment ebox to another port.
For the second option, in web environment ebox, you need go to left menu SYSTEM / GENERAL and change "Administration interface TCP port", for example you can use port 8443, apply the changes, and now, you may log in web environment ebox through https://EboxIP:8443/ebox

Regards.
« Last Edit: February 23, 2008, 02:37:04 pm by luch0 »

patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #5 on: February 23, 2008, 04:34:48 pm »
I changed the listening port of ebox to 8443 and I can start Apache.
But...
I can see ebox with: https://192.168.1.251:8443/ebox --> works fine!

I can see lampp with: https://192.168.1.251 --> that's not what I want!  I want: http://192.168.1.251

What can I do?
« Last Edit: February 23, 2008, 04:41:13 pm by patcunha »

luch0

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #6 on: February 23, 2008, 05:01:47 pm »
Hi again.
Maybe XAMPP Apache is configured to work with SSL by default, for this reason uses https. Tries to look at /opt/lampp/etc/httpd.conf and look that we can do with it. If you get make it work on port 80, could return to eBox on port 443.
Unfortunately I don' t know LAMPP and I can not give more than a opinion.
Read this link http://www.apachefriends.org/en/xampp-linux.html

Regards.
« Last Edit: February 23, 2008, 05:16:56 pm by luch0 »

patcunha

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Apache
« Reply #7 on: February 25, 2008, 08:01:22 pm »
I found out what was preventing my sites from being seen!
I had to open the firewall in ebox from the outside to ebox.