From 7760ccd0cb09cea3e32f1b2724a3727f1cc28b82 Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Sat, 28 Dec 2024 15:51:46 +0100 Subject: [PATCH] Update FTP configuration and add PHP handler in .htaccess --- .htaccess | 5 +- .vscode/ftp-kr.json | 4 +- .vscode/ftp-kr.sync.cache.json | 118 +++++++++++++++++++++++++++++++++ .vscode/sftp.json | 6 +- 4 files changed, 127 insertions(+), 6 deletions(-) create mode 100644 .vscode/ftp-kr.sync.cache.json diff --git a/.htaccess b/.htaccess index d246595..65d58e8 100644 --- a/.htaccess +++ b/.htaccess @@ -13,4 +13,7 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] -# END WordPress \ No newline at end of file +# END WordPress + +SetHandler application/x-lsphp83 /opt/alt/php83 usr/bin/lsphp + diff --git a/.vscode/ftp-kr.json b/.vscode/ftp-kr.json index af1a5c1..a3e6545 100644 --- a/.vscode/ftp-kr.json +++ b/.vscode/ftp-kr.json @@ -1,7 +1,7 @@ { - "host": "host117523.hostido.net.pl", + "host": "server.hostline.pl", "username": "www@grechuta.pagedev.pl", - "password": "3VPxHu2ZLYALhxbskeNB", + "password": "baNvq3dWPAXZPj2yWvSE", "remotePath": "/public_html/", "protocol": "ftp", "port": 0, diff --git a/.vscode/ftp-kr.sync.cache.json b/.vscode/ftp-kr.sync.cache.json new file mode 100644 index 0000000..e68a8f7 --- /dev/null +++ b/.vscode/ftp-kr.sync.cache.json @@ -0,0 +1,118 @@ +{ + "ftp://host117523.hostido.net.pl@www@grechuta.pagedev.pl": { + "public_html": { + ".htaccess": { + "type": "-", + "size": 517, + "lmtime": 0, + "modified": false + }, + "index.php": { + "type": "-", + "size": 405, + "lmtime": 0, + "modified": false + }, + "license.txt": { + "type": "-", + "size": 19915, + "lmtime": 0, + "modified": false + }, + "readme.html": { + "type": "-", + "size": 7409, + "lmtime": 0, + "modified": false + }, + "wp-activate.php": { + "type": "-", + "size": 7387, + "lmtime": 0, + "modified": false + }, + "wp-admin": {}, + "wp-blog-header.php": { + "type": "-", + "size": 351, + "lmtime": 0, + "modified": false + }, + "wp-comments-post.php": { + "type": "-", + "size": 2323, + "lmtime": 0, + "modified": false + }, + "wp-config.php": { + "type": "-", + "size": 3326, + "lmtime": 0, + "modified": false + }, + "wp-config-sample.php": { + "type": "-", + "size": 3336, + "lmtime": 0, + "modified": false + }, + "wp-content": {}, + "wp-cron.php": { + "type": "-", + "size": 5617, + "lmtime": 0, + "modified": false + }, + "wp-includes": {}, + "wp-links-opml.php": { + "type": "-", + "size": 2502, + "lmtime": 0, + "modified": false + }, + "wp-load.php": { + "type": "-", + "size": 3937, + "lmtime": 0, + "modified": false + }, + "wp-login.php": { + "type": "-", + "size": 51367, + "lmtime": 0, + "modified": false + }, + "wp-mail.php": { + "type": "-", + "size": 8543, + "lmtime": 0, + "modified": false + }, + "wp-settings.php": { + "type": "-", + "size": 29032, + "lmtime": 0, + "modified": false + }, + "wp-signup.php": { + "type": "-", + "size": 34385, + "lmtime": 0, + "modified": false + }, + "wp-trackback.php": { + "type": "-", + "size": 5102, + "lmtime": 0, + "modified": false + }, + "xmlrpc.php": { + "type": "-", + "size": 3246, + "lmtime": 0, + "modified": false + } + } + }, + "$version": 1 +} \ No newline at end of file diff --git a/.vscode/sftp.json b/.vscode/sftp.json index 28c00ae..0975e53 100644 --- a/.vscode/sftp.json +++ b/.vscode/sftp.json @@ -1,10 +1,10 @@ { - "name": "host117523.hostido.net.pl", - "host": "host117523.hostido.net.pl", + "name": "server.hostline.pl", + "host": "server.hostline.pl", "protocol": "ftp", "port": 21, "username": "www@grechuta.pagedev.pl", - "password": "3VPxHu2ZLYALhxbskeNB", + "password": "baNvq3dWPAXZPj2yWvSE", "remotePath": "/public_html/", "uploadOnSave": false, "useTempFile": false,