Cannot install pagekit because of error 500
So I am trying to install pagekit on my website, however I keep on running into a 500 internal server error. My console shows two errors:
/favicon.ico:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
www.xxxx.com.xx/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I have searched for similar problems and they all point to the .htaccess file, however I have tried all the proposed solutions and none have worked. For reference, my current .htaccess is:
# Restricted access to files
<FilesMatch "((.(lock|cache|db))|installed.json|composer.json|package.json|bower.json|CHANGELOG.md|README.md|gulpfile.js|webpack.config.js|pagekit)$">
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache ≥ 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
# Don't show directory listings
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# URL rewrites
<IfModule mod_rewrite.c>
#Options -MultiViews
RewriteEngine On
# RewriteBase /
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule .* pagekit.php [L]
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Normalize javascript mime type
<IfModule mod_mime.c>
AddType application/javascript js
</IfModule>
# Compression
<IfModule mod_deflate.c>
# Force compression for mangled `Accept-Encoding` request headers
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X15|~15|-15)$ ^((gzip|deflate)s*,?s*)+|[X~-]4,13$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/javascript"
"application/json"
"application/rss+xml"
"image/bmp"
"image/svg+xml"
"image/x-icon"
"text/css"
"text/html"
"text/plain"
</IfModule>
</IfModule>
# Expire headers
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 week"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType text/plain "access plus 0 seconds"
# Use expires far in the future for css and javascript because Pagekit uses filenames to break the cache
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
# Avoid PHP 5.6 deprecated $HTTP_RAW_POST_DATA warnings
<IfModule mod_php5.c>
php_value always_populate_raw_post_data -1
</IfModule>
php .htaccess internal-server-error pagekit
add a comment |
So I am trying to install pagekit on my website, however I keep on running into a 500 internal server error. My console shows two errors:
/favicon.ico:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
www.xxxx.com.xx/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I have searched for similar problems and they all point to the .htaccess file, however I have tried all the proposed solutions and none have worked. For reference, my current .htaccess is:
# Restricted access to files
<FilesMatch "((.(lock|cache|db))|installed.json|composer.json|package.json|bower.json|CHANGELOG.md|README.md|gulpfile.js|webpack.config.js|pagekit)$">
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache ≥ 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
# Don't show directory listings
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# URL rewrites
<IfModule mod_rewrite.c>
#Options -MultiViews
RewriteEngine On
# RewriteBase /
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule .* pagekit.php [L]
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Normalize javascript mime type
<IfModule mod_mime.c>
AddType application/javascript js
</IfModule>
# Compression
<IfModule mod_deflate.c>
# Force compression for mangled `Accept-Encoding` request headers
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X15|~15|-15)$ ^((gzip|deflate)s*,?s*)+|[X~-]4,13$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/javascript"
"application/json"
"application/rss+xml"
"image/bmp"
"image/svg+xml"
"image/x-icon"
"text/css"
"text/html"
"text/plain"
</IfModule>
</IfModule>
# Expire headers
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 week"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType text/plain "access plus 0 seconds"
# Use expires far in the future for css and javascript because Pagekit uses filenames to break the cache
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
# Avoid PHP 5.6 deprecated $HTTP_RAW_POST_DATA warnings
<IfModule mod_php5.c>
php_value always_populate_raw_post_data -1
</IfModule>
php .htaccess internal-server-error pagekit
add a comment |
So I am trying to install pagekit on my website, however I keep on running into a 500 internal server error. My console shows two errors:
/favicon.ico:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
www.xxxx.com.xx/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I have searched for similar problems and they all point to the .htaccess file, however I have tried all the proposed solutions and none have worked. For reference, my current .htaccess is:
# Restricted access to files
<FilesMatch "((.(lock|cache|db))|installed.json|composer.json|package.json|bower.json|CHANGELOG.md|README.md|gulpfile.js|webpack.config.js|pagekit)$">
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache ≥ 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
# Don't show directory listings
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# URL rewrites
<IfModule mod_rewrite.c>
#Options -MultiViews
RewriteEngine On
# RewriteBase /
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule .* pagekit.php [L]
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Normalize javascript mime type
<IfModule mod_mime.c>
AddType application/javascript js
</IfModule>
# Compression
<IfModule mod_deflate.c>
# Force compression for mangled `Accept-Encoding` request headers
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X15|~15|-15)$ ^((gzip|deflate)s*,?s*)+|[X~-]4,13$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/javascript"
"application/json"
"application/rss+xml"
"image/bmp"
"image/svg+xml"
"image/x-icon"
"text/css"
"text/html"
"text/plain"
</IfModule>
</IfModule>
# Expire headers
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 week"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType text/plain "access plus 0 seconds"
# Use expires far in the future for css and javascript because Pagekit uses filenames to break the cache
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
# Avoid PHP 5.6 deprecated $HTTP_RAW_POST_DATA warnings
<IfModule mod_php5.c>
php_value always_populate_raw_post_data -1
</IfModule>
php .htaccess internal-server-error pagekit
So I am trying to install pagekit on my website, however I keep on running into a 500 internal server error. My console shows two errors:
/favicon.ico:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
www.xxxx.com.xx/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I have searched for similar problems and they all point to the .htaccess file, however I have tried all the proposed solutions and none have worked. For reference, my current .htaccess is:
# Restricted access to files
<FilesMatch "((.(lock|cache|db))|installed.json|composer.json|package.json|bower.json|CHANGELOG.md|README.md|gulpfile.js|webpack.config.js|pagekit)$">
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache ≥ 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
# Don't show directory listings
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# URL rewrites
<IfModule mod_rewrite.c>
#Options -MultiViews
RewriteEngine On
# RewriteBase /
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule .* pagekit.php [L]
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
# Normalize javascript mime type
<IfModule mod_mime.c>
AddType application/javascript js
</IfModule>
# Compression
<IfModule mod_deflate.c>
# Force compression for mangled `Accept-Encoding` request headers
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X15|~15|-15)$ ^((gzip|deflate)s*,?s*)+|[X~-]4,13$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/javascript"
"application/json"
"application/rss+xml"
"image/bmp"
"image/svg+xml"
"image/x-icon"
"text/css"
"text/html"
"text/plain"
</IfModule>
</IfModule>
# Expire headers
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 week"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType text/plain "access plus 0 seconds"
# Use expires far in the future for css and javascript because Pagekit uses filenames to break the cache
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
# Avoid PHP 5.6 deprecated $HTTP_RAW_POST_DATA warnings
<IfModule mod_php5.c>
php_value always_populate_raw_post_data -1
</IfModule>
php .htaccess internal-server-error pagekit
php .htaccess internal-server-error pagekit
asked Nov 11 at 17:28
Demian Licht
126
126
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251328%2fcannot-install-pagekit-because-of-error-500%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251328%2fcannot-install-pagekit-because-of-error-500%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown