community server and wordpress
Posted: Wed Jul 01, 2015 2:14 pm
I was interested to see what the server would look like in a more modern setting, (been a few years since I set this up) after initial setup, it appears that a wordpress installation, (is interfering with the operation of the lc script in the cgi-bin) with forbidden, (
In the cgi-bin permissions set to 755
returns 404
Returns 404
I also attempted to modify the .htaccess for the wordpress installation to allow cgi execution.
Everything returns a 500 error
===========
I may try this on a blank account without wordpress, running a VPS (known host)
Any thoughts suggestions ideas, snarky comments, ) thanks in advance,
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,