I seem to be having some issues making ViewVC work. I have setup a vhost using Apache 2.4, but I can't access it. I'm not sure what I'm missing. I'm still new to FreeBSD 10.1.
Here is my current config of /usr/local/etc/apache24/extra/httpd-vhosts.conf
Log output
This is somewhat out of order.
Here is my current config of /usr/local/etc/apache24/extra/httpd-vhosts.conf
Code:
<VirtualHost *:80>
DocumentRoot "/usr/local/viewvc/bin"
ScriptAlias /cgi-bin/ "/usr/local/viewvc/bin/cgi-bin/"
ScriptAlias /viewvc /usr/local/viewvc/bin/cgi-bin/viewvc.cgi
ScriptAlias /query /usr/local/viewvc/bin/cgi-bin/query.cgi
Alias /viewvc "/usr/local/viewvc/bin/cgi/"
<Directory "/usr/local/viewvc/bin/cgi">
AddHandler cgi-script .cgi
Options NONE +ExecCGI
DirectoryIndex /viewvc/viewvc.cgi
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Log output
Code:
[Fri Mar 27 12:02:12.979488 2015] [mpm_prefork:notice] [pid 26034] AH00169: caught SIGTERM, shutting down
[Fri Mar 27 12:02:13.161549 2015] [mpm_prefork:notice] [pid 26165] AH00163: Apache/2.4.12 (FreeBSD) configured -- resuming normal operations
[Fri Mar 27 12:02:13.161974 2015] [core:notice] [pid 26165] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Mar 27 12:02:16.420596 2015] [authz_core:error] [pid 26167] [client 10.150.1.99:56408] AH01630: client denied by server configuration: /usr/local/viewvc/bin/cgi-bin
root@tsg-monitoring01:/usr/local/etc/apache24/extra #
This is somewhat out of order.
Code:
<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig etc/apache24/mime.types
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):
#AddHandler type-map var
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
# Fancy directory listings
Include etc/apache24/extra/httpd-autoindex.conf
# Real-time info on requests and configuration
Include etc/apache24/extra/httpd-info.conf
# Virtual hosts
Include etc/apache24/extra/httpd-vhosts.conf
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
</IfModule>