Bitcoin Forum
May 13, 2024, 04:22:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Setting up FastCGI for ABE?  (Read 527 times)
sorryforthat (OP)
Hero Member
*****
Offline Offline

Activity: 994
Merit: 500



View Profile
May 12, 2014, 09: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:   
 
<VirtualHost *:80>       
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   
</VirtualHost>
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!