Error uploading file via php
Requested content-length of Y is larger than the configured limit of Z I needed to add this to my httpd.conf <Files *.php> LimitRequestBody X </Files> Where X is >= Y
Continue reading →Requested content-length of Y is larger than the configured limit of Z I needed to add this to my httpd.conf <Files *.php> LimitRequestBody X </Files> Where X is >= Y
Continue reading →You need to edit the file at /etc/gdm/custom.conf su – vi /etc/gdm/custom.conf You need to edit the daemon section of the file and add or change these: [daemon] AutomaticLoginEnable=true AutomaticLogin=username Where username is the name of the user you want … Continue reading →
If you need email delivered to a specific server for selected domains you do the following: As root, edit the /etc/postfix/main.cf. Find (or add) the line that starts with transport_maps= If it does not exist, add the line “transport_maps=hash:/etc/postfix/transport. If … Continue reading →
Add the following to the end of /etc/postfix/main.cf smtpd_sasl_auth_enable=yes smtpd_recipient_restrictions = permit_sasl_authenticated, check_relay_domains broken_sasl_auth_clients = yes smtpd_sasl_local_domain = $myhostname sender_canonical_maps = hash:/etc/postfix/canonical Set inet_interfaces to all in /etc/postfix/main.cf inet_interfaces = all edit the /etc/postfix/canonical file to rewrite the “from” address … Continue reading →
ifcfg-enp4s0f2 DEVICE=”enp4s0f2″ ONBOOT=yes NETBOOT=no UUID=”5597ebd7-892b-4ca1-8731-81b66c432c72″ BOOTPROTO=none IPADDR=255.255.255.255 NETMASK=255.255.255.255 HWADDR=”00:1e:67:66:a0:81″ TYPE=Ethernet NAME=”enp4s0f2″ ifcfg-enp4s0f2.900 DEVICE=”enp4s0f2.900″ ONBOOT=yes NETBOOT=no BOOTPROTO=none IPADDR=192.168.0.11 NETMASK=255.255.255.0 NAME=”enp4s0f2.900″ VLAN=yes ifcfg-enp4s0f2.902 DEVICE=”enp4s0f2.902″ ONBOOT=yes NETBOOT=no BOOTPROTO=none IPADDR=172.18.0.74 NETMASK=255.255.252.0 NAME=”enp4s0f2.902″ VLAN=yes
Continue reading →All In One WP Security CF Expiring Content Shortcode Enable Media Replace Error Log Monitor Force https Force Regenerate Thumbnails Formidable Include HTML and PHP Last Updated Shortcode Post Expirator RPS Blog Info RPS Include Content Weaver II Theme Extras
Continue reading →HANDY ONE-LINERS FOR SED (Unix stream editor) Apr. 26, 2004 compiled by Eric Pement – pemente[at]northpark[dot]edu version 5.4 Latest version of this file is usually at: http://sed.sourceforge.net/sed1line.txt http://www.student.northpark.edu/pemente/sed/sed1line.txt This file is also available in Portuguese at: http://www.lrv.ufsc.br/wmaker/sed_ptBR.html FILE SPACING: # … Continue reading →
#!/bin/bash # Samba 4 # # chkconfig: 35 99 2 # description: Provides Active Directory Services ### BEGIN INIT INFO # Provides: samba # Required-Start: $network # Default-Stop: 0 1 2 6 # Default-Start: 3 5 # Short-Description: Provides … Continue reading →
I need a user (or users) to be able to sftp files to/from the server, but I want to chroot them to their own directory (so they cannot see any other part of the server) In this example, the user … Continue reading →
I had a windows 7 machine providing the above message for new users added to the domain. I found the following fix at: https://answers.microsoft.com/en-us/windows/forum/windows_7-security/unable-to-log-on-the-user-profile-service-service/2c51ee80-8ff2-4aa6-b532-175b83b9c09a?page=3 Somewhere in the process of modifying the Default User Hive I’ve managed to inadvertendly (and on … Continue reading →