In the cgi-bin permissions set to 755
Code: Select all
.htaccess in cgi-bin
Options ExecCGI
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-server
Code: Select all
.htaccess wordpress installation
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_USER_AGENT} ^-?$
RewriteRule .* - [F]
</IfModule>
# END WordPress
I also attempted to modify the .htaccess for the wordpress installation to allow cgi execution.
Code: Select all
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/cgi-bin(/.*)?$ [OR]
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [PT,L]
RewriteRule ^([a-zA-Z0-9-]+)/?$ /index.php [L]
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ /index.php [L]
</IfModule>
# END WordPress
===========
I may try this on a blank account without wordpress, running a VPS (known host)
Any thoughts suggestions ideas, snarky comments, ) thanks in advance,