This seems like a great time to subscribe my RSS !

Not without a certain pleasure I announce that I got Rapache fixed and working again.

Rapache is a graphical user tool to help you configure Apache2. It allows easy creation of virtual name hosts and modules activation without prior knowledge of configuration files.

I still have to mess with the packaging thing, and there are certain trade-offs, but anybody interested can finally download a working version.

To install it run the following commands

sudo apt-get install python-crypto python-openssl python-lxml
sudo apt-get install python-glade2 python-gnome2-extras python-gksu2 
sudo apt-get install python-gtk2 python-gtksourceview2 gksu bzr

bzr branch lp:rapache

Once you’re done, you can run it with the following commands:

cd rapache
sudo ./rapache

Note that Rapache now requires sudo, but it will nevertheless ask for your password the first time you try to do anything. It’s glitchy and patchy but at least it works.

Also there is no more tray icon (not a problem for Unity users I guess) and the status bar displays an ‘apache not reacheable’ message unregarding the real apache status.

Still you get the same easy virtualhost creation, syntax highlighted source editor, module activation/removal we all used to love.

A word of warning, as my computer is still running Ubuntu 10.10 Rapache is untested on 11.04 and 11.10. But it’s worth a try. Let me know how it runs :)

You can find more about Rapache in my previous posts.

16 Responses

  1. naciu

    ciao ho letto il tuo articolo su apache retun.
    ho provato ad installarlo su ubunut 10.04 lts
    seguito la guida ma non funziona………………

    aiuto………..

  2. Stefano Forenza

    descrivi l’errore, e vedo di aiutarlo o effettuare le opportune correzioni :)

  3. naciu

    dopo che ho scritto:
    sudo apt-get install python-crypto python-openssl python-lxml
    sudo apt-get install python-glade2 python-gnome2-extras
    sudo apt-get install python-gtk2 python-gtksourceview2 gksu bzr
    bzr branch lp:rapache
    sudo ./rapache
    …………………………………..
    ottengo il seguente messaggio:

    Traceback (most recent call last):
    File “./rapache”, line 35, in
    from RapacheGtk.RapacheGui import MainWindow
    File “/home/user/rapache/RapacheGtk/RapacheGui.py”, line 40, in
    from RapacheGtk.VirtualHostGui import VirtualHostWindow
    File “/home/user/rapache/RapacheGtk/VirtualHostGui.py”, line 51, in
    from RapacheCore.VirtualHost import *
    File “/home/user/rapache/RapacheCore/VirtualHost.py”, line 32, in
    from RapacheCore import Shell
    File “/home/user/rapache/RapacheCore/Shell.py”, line 35, in
    import gksu2
    ImportError: No module named gksu2

  4. naciu

    lanciando ill secondo comando :
    sudo apt-get install python-glade2 python-gnome2-extras

    ottengo il seguente messaggio:
    Lettura elenco dei pacchetti… Fatto
    Generazione albero delle dipendenze
    Lettura informazioni sullo stato… Fatto
    python-glade2 è già alla versione più recente.
    Il pacchetto python-gnome2-extras non ha versioni disponibili, ma è nominato da un altro
    pacchetto. Questo può significare che il pacchetto è mancante, è obsoleto
    oppure è disponibile solo all’interno di un’altra sorgente
    Tuttavia questi pacchetti lo sostituiscono:
    python-gtkhtml2 python-gtkspell python-gtkmozembed python-gksu2 python-gdl
    python-gda python-eggtrayicon
    E: Il pacchetto python-gnome2-extras non ha candidati da installare

    puo essere questa la causa che rapache non funziona?????

  5. Stefano Forenza

    ciao Naciu !

    Prova con

    sudo apt-get install python-gksu2 

    se funziona fammi sapere ! :) se non funziona fammelo sapere che faccio qualche prova io. grazie dell’aiuto !

  6. Hi, great tool, thanks for making it work.

    I’m running it on Ubuntu 11.04 Natty and it’s wonderful. I reported a but on launchpad causing a crash while selecting virtualhost folder. More details after the jump:
    https://bugs.launchpad.net/rapache/+bug/887117

    Kind regards,
    Tailor Vijay

  7. Stefano Forenza

    Thank you. I’ll take a look to that.

  8. Anto

    hi , i managed to install , but it gives the below error :(

    Traceback (most recent call last):
    File “/usr/bin/rapache”, line 35, in
    from RapacheGtk.RapacheGui import MainWindow
    File “/usr/lib/python2.7/site-packages/RapacheGtk/RapacheGui.py”, line 40, in
    from RapacheGtk.VirtualHostGui import VirtualHostWindow
    File “/usr/lib/python2.7/site-packages/RapacheGtk/VirtualHostGui.py”, line 50, in
    import RapacheGtk.GuiUtils
    File “/usr/lib/python2.7/site-packages/RapacheGtk/GuiUtils.py”, line 18, in
    import gtksourceview2
    ImportError: No module named gtksourceview2

    ( I am on fedora 15 . ii tried installin gtksourceview2 thru ‘ yum install gtksourcevuew2 ‘ …still de saame error ::(

  9. Hi, just a quick note for 11.10 users.

    You should install the python-gnome2 package instead of the python-gnome2-extras. With that, here are the lines again:

    sudo apt-get install python-crypto python-openssl python-lxml
    sudo apt-get install python-glade2 python-gnome2 python-gksu2
    sudo apt-get install python-gtk2 python-gtksourceview2 gksu bzr
    bzr branch lp:rapache

    Cheers!
    Mat

  10. Rakesh

    Firstly, absolutely great news that rapache is back. I have been looking for such a GUI for a while.

    On another note, when you do -
    sudo apt-get install python-glade2 python-gnome2-extras python-gksu2 , you’d get the following -
    Package python-gnome2-extras is not available, but is referred to by another package…..the following packages replace it:
    python-gtkspell python-gksu2 python-gda python-eggtrayicon

    you’ll have to do -
    sudo apt-get install python-gtkspell python-gksu2 python-gda python-eggtrayicon

    Thanks for this great software

    Rakesh

  11. Franz-Georg

    Hello,

    when trying to install rapache I got the following error:

    “You have not informed bzr of your Launchpad ID, and you must do this to
    write to Launchpad or access private data. See “bzr help launchpad-login”.”

    This error occurs when I want to run the command: bzr branch lp:rapache

    does anyone know what to do? I’m really a newbie using linux.

  12. Noah

    Port this to Mac, let it be used remotely to control an Ubuntu server/VPS, charge $10, I’ll buy it.

  13. appears to work for me un 12.04 following Mathieu D of Jan 04 2012.
    Thanks for the app.
    -dpg

  14. I am a teacher at a local college and using my Linux box (Ubuntu 12.04) to teach Opeating System and aspects of Command Line interface. I started using APache and mySQl to teach server side concepts as well. I am struggling to manage the Apache. I think this tool is excellent for me. Unfortunately, I am unabel to install it using the above mentioned commands. Please email me some scripts to run and install this wonderful gadget. Regards

  15. Stefano Forenza

    Tariq, take a look at the instruction given by Mathieu.
    http://www.stefanoforenza.com/rapache-returns/comment-page-1/#comment-109721

  16. IggyZen

    Ciao Stefano

    Funziona anche per me dopo aver provato le istruzioni de Mat. Grazie.

    Thanks Mat and others. It seems to work for me as well, on 12.04 LTS.
    Let’s try it further …

    Cheers.

    Igor

Leave a comment