Errors with HTML 5 build on GreenGeeks server

Entropikz
Thu, 27 Apr 2017 01:39:31 +0000
Platform & Builds

Hey everyone,

I’ve been working on packaging a project and pushing it to a websever I’ve spun up using the GreenGeeks service. I’ve gotten the build working locally, but when I make edits to the .htaccess file, I get an internal 500 error. I don’t know a whole lot about editing .htaccess files so forgive me if this is a stupid answer.

Here’s my .htaccess.

I’ve tried with just using

AddEncoding gzip gz

as well.

#GreenGeeks .htaccess additions

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

#ProgenCPP HTML5 build

#AddType application/x-javascript .jsgz
#AddType application/octet-stream .datagz

#RewriteEngine on
# If client accepts compressed files
#RewriteCond %{HTTP:Accept-Encoding} gzip
# and if compressed file exists
#RewriteCond %{REQUEST_FILENAME}gz -f
# send .ext.gz instead of .ext
#RewriteRule ^(.+)\.(mem|js|data|symbols)$ $1.$2gz

#AddEncoding gzip .jsgz
#AddEncoding gzip .datagz
#AddEncoding gzip .memgz
#AddEncoding gzip .symbolsgz
#<Directory "/home/minzostu/public_html/wp-content/projectfiles/progen/Content">
# AddEncoding gzip gz
#</Directory>

2 posts - 1 participant