It is a web application to configure the apache2 server.
Screenshot
The configuration of apache2 is based on plane text files. You
need to know and remember the directives that tell apache2 what
you want it does. When you write manually on the configuration
files, you could do mistakes as typographical errors, syntax
errors, etc.
Visual apache2 provides a graphical user interface (web based)
to configure apache2 easily.
Visual apache2 is cross-platform as it is made as a web
application. It works in any operative system that can run the
apache2 server and php. The client (it could be server itself or
other computer in the network) needs to support html5.
Visual apache2 is a web application that runs on php5 +
JavaScript + html5.
Before installing Visual apache2
To use Visual apache2, you need to have installed apache2, php5
and libapache2-mod-php5. You also need a web browser that
supports JavaScript and html5.
Example of installation using apt-get:
apt-getinstall
apache2 php5 libapache2-mod-php5
(Remember to execute this command with root privileges)
Execute the installer:
The installer should be executed with root privileges. bash
install_visual-apache2-1.0_apt-get.sh
(Remember to add the path if you are not in its directory)
Uninstall Visual apache2
The uninstaller is inside the visual apache2 directory and
should be executed with root privileges.
bashuninstall_visual-apache2-1.0.sh
(Remember to add the path if you are not in its directory)
Install Visual apache2 1.0 manually
(Remember that you need to execute this command with root
privileges)
Make a backup of ports.conf:
cp/etc/apache2/ports.conf
/etc/apache2/ports.conf.backup
Change the owner to www-data of the files used by Visual
apache2:
chownwww-data/etc/apache2/ports.conf
/etc/apache2/ports.conf.backup
/etc/apache2/sites-available/
/etc/apache2/sites-enabled/ /etc/apache2/mods-enabled/
Change the access to the files used by Visual apache2:
chmodu+rw
/etc/apache2/ports.conf /etc/apache2/ports.conf.backup
/etc/apache2/sites-available/
/etc/apache2/sites-enabled/ /etc/apache2/mods-enabled/
Create virtualhost for Visual apache2:
Content of
/etc/apache2/sites-available/visual-apache2-1.0
<VirtualHost *:8000>
ServerName visual-apache2.net
DirectoryIndex index.php
DocumentRoot /var/www/visual-apache2-1.0
<Directory />
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/www/visual-apache2-1.0/logs/error.log
CustomLog /var/www/visual-apache2-1.0/logs/access.log combined
</VirtualHost>
Create DocumentRoot of Visual apache2:
mkdir-p
/var/www/visual-apache2-1.0/logs
Add port 8000 to /etc/apache2/ports.conf:
Example of /etc/apache2/ports.conf:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost *:80
Listen 8000 # visual-apache2.net:8000
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>