Mantis - Resin
Viewing Issue Advanced Details
5117 minor always 06-12-12 16:22 06-21-12 16:39
rickHigh  
ferg  
normal  
closed  
fixed  
none    
none 4.0.29  
0005117: Apache install on Ubuntu 12 apxs
WRT:

If you know where your apxs executable is, you can use --with-apxs. apxs is a little Perl script that the Apache configuration makes. It lets modules like Resin know how all the Apache directories are configured. It is generally in /usr/local/apache/bin/apxs or /usr/sbin/apxs. It's usually easiest to use --with-apxs so you don't need to worry where all the Apache directories are.

It seems apxs no longer ships with Apache2.
There is an apaxs2, but it also does not ship with the standard apache install.

this was installing apache as follows:


$ sudo apt-get install apache2

If I don't close this by 4.0.30, please close.

Notes
(0005835)
rickHigh   
06-12-12 16:32   
It looks like Debian distro installs Apache in a way that our scripts can't detect by default too.

Debian, Ubunutu

ServerRoot :: /etc/apache2
DocumentRoot :: /var/www
Apache Config Files :: /etc/apache2/apache2.conf
                        :: /etc/apache2/ports.conf
Default VHost Config :: /etc/apache2/sites-available/default, /etc/apache2/sites-enabled/000-default
Module Locations :: /etc/apache2/mods-available, /etc/apache2/mods-enabled
ErrorLog :: /var/log/apache2/error.log
AccessLog :: /var/log/apache2/access.log
cgi-bin :: /usr/lib/cgi-bin
binaries (apachectl) :: /usr/sbin
start/stop :: /etc/init.d/apache2 (start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean)


Other Linux

ServerRoot :: /usr/local/apache2
DocumentRoot :: /usr/local/apache2/htdocs
Apache Config File :: /usr/local/apache2/conf/httpd.conf
SSL Config :: /usr/local/apache2/conf/ssl.conf
ErrorLog :: /usr/local/apache2/logs/error_log
AccessLog :: /usr/local/apache2/logs/access_log
cgi-bin :: /usr/local/apache2/cgi-bin (enabled by default, but the bundled scripts are 644)
binaries (apachectl) :: /usr/local/apache2/bin
start/stop :: /usr/local/apache2/bin/apachectl (start|stop|graceful|configtest)
Debian, Ubuntu (Apache httpd 2.x):

http://wiki.apache.org/httpd/DistrosDefaultLayout [^]
(0005836)
rickHigh   
06-12-12 16:40   
Instructions say

$ /usr/sbin/httpd -l


$ /usr/sbin/apache2 -l

or

$ /usr/sbin/apachectl -l


On Debian anyway...