Author

Topic: Setting up FastCGI for ABE? (Read 550 times)

hero member
Activity: 994
Merit: 500
May 12, 2014, 04:04:18 PM
#1
I have ABE installed and its working through the GET protocol. I have taken a look at the FastCGI and dont really understand how to set up the part listed below. If anyone could offer some advice. Is there something I need to do on my webhost?

Code:
Replace YOUR.ABE.DOMAIN below with a domain that resolves to thishost.  The site will be http://YOUR.ABE.DOMAIN/.  
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   
Jump to: