C
cjharman
Guest
Howdy all!
Trying to install the pennywize code that normally would go in the httpd.conf file... but as i understand it, any modifications should be installed in the vhost.conf file... here is the code i have, do i need to surround it with mark up tags
# -- [ Pennywize v3.0 (c) Zarvon P/L - http://www.pennywize.com ] --
CustomLog "| /var/www/vhosts/*****strippers.com/cgi-bin/pennywize.cgi" "%a|%u|%s|%{PENNYWIZE_HASH}e|%b|%{PENNYWIZE_WORK}e|%{PENNYWIZE_BLOCKED}e"
AddHandler send-as-is pennywize
RewriteEngine on
RewriteRule (.*) - [E=PENNYWIZE_WORK:/var/www/vhosts/*****strippers.com/cgi-bin/pennywize,E=PENNYWIZE_HASH:4c109426911ae8639359ef7f75eb7c89]
RewriteCond %{IS_SUBREQ} ^false$ [NC]
RewriteCond %{HTTP:Authorization} ^basic [NC]
RewriteCond %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/%{REMOTE_ADDR} -f [OR]
RewriteCond %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/%{LA-U:REMOTE_USER} -f
RewriteRule (.*) %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/redirect.pennywize [E=PENNYWIZE_BLOCKED:1,T=send-as-is,L]
# -- [ End of pennywize code ] --
This is the error i get when i use this code
Syntax error on line 1 of /var/www/vhosts/*****strippers.com/conf/vhost.conf:
error in condition clause
Thanks for your help in advance
Joe
Trying to install the pennywize code that normally would go in the httpd.conf file... but as i understand it, any modifications should be installed in the vhost.conf file... here is the code i have, do i need to surround it with mark up tags
# -- [ Pennywize v3.0 (c) Zarvon P/L - http://www.pennywize.com ] --
CustomLog "| /var/www/vhosts/*****strippers.com/cgi-bin/pennywize.cgi" "%a|%u|%s|%{PENNYWIZE_HASH}e|%b|%{PENNYWIZE_WORK}e|%{PENNYWIZE_BLOCKED}e"
AddHandler send-as-is pennywize
RewriteEngine on
RewriteRule (.*) - [E=PENNYWIZE_WORK:/var/www/vhosts/*****strippers.com/cgi-bin/pennywize,E=PENNYWIZE_HASH:4c109426911ae8639359ef7f75eb7c89]
RewriteCond %{IS_SUBREQ} ^false$ [NC]
RewriteCond %{HTTP:Authorization} ^basic [NC]
RewriteCond %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/%{REMOTE_ADDR} -f [OR]
RewriteCond %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/%{LA-U:REMOTE_USER} -f
RewriteRule (.*) %{ENVENNYWIZE_WORK}/%{ENVENNYWIZE_HASH}/redirect.pennywize [E=PENNYWIZE_BLOCKED:1,T=send-as-is,L]
# -- [ End of pennywize code ] --
This is the error i get when i use this code
Syntax error on line 1 of /var/www/vhosts/*****strippers.com/conf/vhost.conf:
error in condition clause
Thanks for your help in advance
Joe