Posts

Showing posts from December, 2021

open_basedir restriction in effect

Image
 Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/sehaaonline/web/sehaaonline.com/public_html:/home/sehaaonline/tmp) in /home/sehaaonline/web/sehaaonline.com/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 101 added /tmp at last to resolve php_admin_value open_basedir /home/sehaaonline/web/sehaaonline.com/public_html:/home/sehaaonline/tmp:/tmp php_admin_value open_basedir some_value_here Replace it with the following line, php_admin_value open_basedir none You need to make this change only under the virtual host for the domain user account on which you want to disable the open_basedir protection. To allow the php scripts in any user account on your web server to access some specific directories outside their home directory, without disabling the open_basedir restriction completely, add code like below to the httpd.conf file. php_admin_value open_basedir  "/home/user_account/:/usr/local/lib/php:/

nokia router

view fram source var wlan_config = { 5:{"Flag":"0", X_CT_COM_SSIDHide:0, SSIDAdvertisementEnabled:1, X_CT_COM_RFBAND:1, X_CT_COM_ChannelWidth:2, X_CT_COM_RetryTimeout:20, X_ASB_COM_Powerlevel:100, X_CT_COM_PowerValue:1585, X_ASB_COM_BannedNumbers:'', TransmitPower:100, X_CT_COM_GuardInterval:1, RadioEnabled:1, X_CT_COM_WPSKeyWord:128, Enable:1, X_ASB_COM_MuMimoEnable:1, X_ASB_COM_TxBfEnable:1, X_ASB_COM_DFSReentryEnable:0, SSID:'Bum_Airtel_5G', BSSID:'54:37:bb:d0:8b:6d', SSIDIsolate:0, WPSEnable:0, WPSMode:'pbc', MACAddressControlEnabled:0, radiusServerIp:'122.160.130.202', radiusPort:'1812', radiusPassword:'nTZiRPSiQelcJkuq165kMQ==', X_ASB_COM_radiusServerIp2:'122.160.130.203', X_ASB_COM_radiusPort2:'1812', X_ASB_COM_radiusPassword2:'nTZiRPSiQelcJkuq165kMQ==', AutoChannelEnable:1, Channel:52, ChannelsInUse:'52',   The  router / GPON  has a telnet interface. Unfortuna

ftp user create through ssh

 useraddd puneproperties passwd puneproperties usermod -m -d /home/puneprocom/domains/puneproperties.com/public_html/ puneproperties

curl error

curl: (60) SSL certificate problem: certificate has expired More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not   The Solution Let’s install the ca-certificates package by using this command: yum install ca-certificates Copy We have to enable dynamic CA configuration feature. Let’s do this by this command: update-ca-trust force-enable Copy Restart your webserver to check if the error was solved or not. // Apache sudo systemctl restart httpd // Nginx sudo systemctl restart nginx Copy If the error not solved yet, then follow these steps: Add your  cert.pem  file to  /etc/pki/ca-trust/source/anchors/ . If you don’t have cert.pem file, you can convert cert.crt to cert.pem using OpenSSL:  openssl x509 -in cert.crt -inform der -outform pem -out cert.pem . Last update ca-trust using this command:  update-ca-trust extract . Now restart your webserver and check. Note : You can also upload  cert.pem  file to any

htaccess generating automatically

 mv .htaccess ht ls -ltr check last file access [root@server public_html]# ls -ltr total 41600 -rwxr-xr-x  1 vishwabhushan vishwabhushan    18554 Jan 29  2005 logo.jpg -rw-r--r--  1 vishwabhushan vishwabhushan      642 Aug 30  2018 index.html_old drwxr-xr-x  2 vishwabhushan vishwabhushan     4096 Aug 30  2018 cgi-bin -rw-------  1 vishwabhushan vishwabhushan 42242373 Jul 30  2019 vishwabhushan_db -rw-r--r--  1 vishwabhushan vishwabhushan     3092 Jul 31  2019 wp-config.php -rw-r--r--  1 vishwabhushan vishwabhushan      351 May 22  2020 wp-blog-header.php -rw-r--r--  1 vishwabhushan vishwabhushan     8509 May 22  2020 wp-mail.php -rw-r--r--  1 vishwabhushan vishwabhushan     2496 May 22  2020 wp-links-opml.php -rw-r--r--  1 vishwabhushan vishwabhushan     3236 Aug 12  2020 xmlrpc.php -rw-r--r--  1 vishwabhushan vishwabhushan       20 Oct 14 08:10 info.php -rw-r--r--  1 vishwabhushan vishwabhushan     4747 Oct 27 08:35 wp-trackback.php -rw-r--r--  1 vishwabhushan vishwabhushan    45463 O

aria engine is not enabled or did not start

 aria engine is not enabled or did not start or mysql mariadb not starting  mv aria_log* ib_logfile* /mnt  systemctl start mariadb

mail not going to gmail or yahoo

 (delivery temporarily suspended: Host or domain name not found. Name service error for name=4274.smtp.antispamcloud.com type=MX: Host not found, try again)                                          arjunoad1617@gmail.com                                          swardaent@gmail.com vi /etc/resolv.conf [zimbra@zimbra mnt]$ cat /etc/resolv.conf # Generated by NetworkManager search inc5shoes.com nameserver 8.8.8.8

centos 7 time

[root@mail ~]# ls -l /etc/localtime lrwxrwxrwx. 1 root root 38 Feb 23  2021 /etc/localtime -> ../usr/share/zoneinfo/America/Winnipeg [root@mail ~]# date Tue Dec 14 03:49:39 CST 2021 sudo timedatectl set-timezone America/Winnipeg

plesk

 disable nginx for load website & domains > hosting and DNS > uncheck nginx settings Proxy mode  Nginx proxies requests to Apache. Turn off to stop using Apache.

centos 6 time

 [root@intl ~]# date 121411592021 Tue Dec 14 11:59:00 GMT 2021 [root@intl ~]# date Tue Dec 14 11:59:03 GMT 2021 date MMDDhhmmYYYY

wordpress blog page

 create a page with blog then set homepage to be blog page

strict MIME type issue

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.  check file with names like bum.js.download this should be only js not download if saved complete offline then change all file names

how to save a tricky website html

 If you do view source this will load from internet  but if you save the page offline as HTML complete and then open it and do view source you will get the trick codes there

mid chat issue

 /conf/extra/modsecurity.d/owasp-modsecurity-crs/rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf <LocationMatch  /support/index.php/chat/ > SecRuleRemoveById 933210 </LocationMatch>

vetsacp redirecting to wrong website

 IP was wrong 

mod security

install mod security then Add in httpd.conf  Include /etc/httpd/conf/extra/modsecurity.d/owasp-modsecurity-crs/crs-setup.conf Include /etc/httpd/conf/extra/modsecurity.d/owasp-modsecurity-crs/rules/*.conf LoadModule security2_module /usr/local/modsecurity/lib/mod_security2.so <IfModule mod_security2.c> Include /etc/httpd/conf/extra/modsecurity.conf </IfModule> https://www.netnea.com/cms/apache-tutorial-7_including-modsecurity-core-rules/ Step 1: Downloading OWASP ModSecurity Core Rule Set The ModSecurity Core Rule Set are being developed under the umbrella of  OWASP , the Open Web Application Security Project. The rules themselves are available on  GitHub  and can be downloaded via  git  or with the following  wget  command: $> cd /apache/conf $> wget https://github.com/coreruleset/coreruleset/archive/v3.3.0.tar.gz Installing on Apache --------------------     1. Install ModSecurity for Apache     2. Ensure that ModSecurity is loading correctly by checking error.log  

your current security does not allow download

  Your current security settings do not allow this file to be downloaded Your current security settings do not allow this file to be downloaded #Open Internet Explorer browser Go to Tools menu Select Internet Options Go to Security tab Select Internet zone Click on "Custom level Under Downloads category, enable the option "File download"

Google discover

Image
 <meta name="robots" content="index, follow, max-image-preview:large" /> To increase the likelihood of your content appearing in Discover, we recommend the following: Use page titles that capture the essence of the content, but in a non-clickbait fashion. Include compelling, high-quality images in your content, especially large images that are more likely to generate visits from Discover. Large images need to be at least 1200 px wide and enabled by the  max-image-preview:large  setting , or by using  AMP . Avoid using a site logo as your image. keep image size is  1280 pixels wide by 720 pixels tall use image as webp only as 1.57MB in webp is only 93.2 KB

DirectAdmin appears to be using SSL. Change your script to connect to ssl://

  I had the same issue, its because the force ssl option in directadmin.conf is enabled. Just change " $config['password_directadmin_host'] = 'tcp://localhost'; " to " $config['password_directadmin_host'] = 'ssl://localhost'; " in  /var/www/html/roundcube/plugins/password/config.inc.php

GTA 5 controls

 native trainer press F4 multiple times to open properly then use num pad to control  L for ped selector motu two player mod F11 Use RB+Left to open using the gamepad for menyoo menyo F8 close GTA5 alt F4 mouse unlcok ctl alt tab 100% game save C:\Users\bumka\AppData\Roaming\Goldberg SocialClub Emu Saves\GTA V if game crahing after two gamepad start x360 before game starts installing custom map Drag and drop map folder to  /mods/update/x64/dlcpacks xml here D:\Game\Grand.Theft.Auto.V.v1.0.2189.0\Grand Theft Auto V\menyooStuff\Spooner <Item>dlcpacks:/clock_tower/</Item> /mods/update/updaterpf/common/data menyo f8 object spponer > managed saved files > clock tower .xml > teleport to refernce > install mod ped copy peds here /mods/update/x64/dlcpacks/addonpads/dlc.rpf/peds.rpf for vehicles(tuk tuk) gta5/mods/x64e.rpf/levels/gta5/vehicles.rpf if x64e.rpf is not found copy from gta5 main folder using open IV if asked to copy to mods folder do it use menyoo f8 to brin

roundcube red issue

 /usr/local/directadmin/data/users/drushtiin replace httpd.conf # Auto generated apache config file by DirectAdmin version 1.61.5 # Modifying this file is not recommended as any changes you make will be # overwritten when the user makes any changes to their website # For global config changes that affect all Users, see this guide: # http://help.directadmin.com/item.php?id=2 # For local config changes that only affect one User, see this guide: # http://help.directadmin.com/item.php?id=3 <Directory "/home/drushtiin/public_html"> <IfModule mod_ruid2.c> RMode config RUidGid drushtiin drushtiin #RGroups apache access RGroups @none </IfModule> <IfModule mod_fcgid.c> SuexecUserGroup drushtiin drushtiin </IfModule> php_admin_flag engine ON php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f drushtiin@drushti.in' php_admin_value mail.log /home/drushtiin/.php/php-mail.log php_admin_value open_basedir /home/

shift key not working properly

Image
 press shift key 5 times then press no then disable all