To embed Abe in anexisting site (e.g., http://YOUR.DOMAIN/abe/) prepend a path (e.g.,"/abe") in the Alias directives,
place them in your existingsites-available file instead of a new VirtualHost, and merge or createyour site's /robots.txt with adjusted
paths from Abe/htdocs/robots.txt.Replace HTDOCS/DIRECTORY below with the directory containing abe.css;the Apache process must have permission to read it.
The followingcommand displays the correct value:
python -m Abe.abe --print-htdocs-directory
Optionally, replace "/usr/lib/cgi-bin" below with another directory;Apache must have the directory configured with Options
+ExecCGI.Create file /etc/apache2/sites-available/abe with these contents:
ServerName YOUR.ABE.DOMAIN
Alias /static/ HTDOCS/DIRECTORY/
Alias /robots.txt HTDOCS/DIRECTORY/robots.txt
Alias /favicon.ico HTDOCS/DIRECTORY/favicon.ico
Alias / /usr/lib/cgi-bin/abe.fcgi/
# Raise this if you get server errors mentioning "mod_fcgid:
# read data timeout in 40 seconds"
#FcgidIOTimeout 40
# Uncomment to log Abe requests.
#ErrorLog /var/log/abe_error.log
#LogLevel info
#CustomLog /var/log/abe_access.log combined