From: Neal, R. <rn...@ri...> - 2012-04-20 20:23:23
|
Good afternoon, I am in the process of installing vufind and having issues with the httpd-vufind.conf file. I made no modifications to it by hand after the install but when I try to start apache I get this error: [root@vufind conf]# service httpd start Starting httpd: Syntax error on line 26 of /usr/local/vufind/httpd-vufind.conf: RewriteRule: unknown flag 'B' The lines it references are below. 18 <IfModule mod_rewrite.c> 19 RewriteEngine On 20 RewriteBase /vufind 21 # Note: The following RewriteRule directives include the [B] flag to escape 22 # backreferences. This prevents encoding problems caused by special characters 23 # like & if they show up in ids. Note that the flag doesn't work in some 24 # versions of Apache prior to 2.2.12; if you run into trouble, try upgrading. 25 RewriteRule ^(MyResearch)/([^/]+)/(.+)$ index.php?module=$1&action=$2&id=$3 [B,L,QSA] 26 RewriteRule ^(Record)/([^/]+)/(.+)$ index.php?module=$1&id=$2&action=$3 [B,L,QSA] 27 RewriteRule ^(Record)/(.+)$ index.php?module=$1&id=$2 [B,L,QSA] 28 RewriteRule ^([^/]+)/(.+)$ index.php?module=$1&action=$2 [B,L,QSA] 29 </IfModule> I appreciate any thoughts you have on this. Thanks, Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rick Neal Library Systems Manager Boatwright Memorial Library University of Richmond, VA 23173 rn...@ri... |