• Home
  • About
  • Contact

SysAdmin Tips

Lots of useful sysadmin information

  • Cheatsheets
  • FreeBSD
    • Configuration and Setup
    • Troubleshooting
  • Hardware
  • Linux
    • All distributions
    • Debian/Ubuntu
  • Services
    • Databases
    • DLNA
    • DNS
    • LDAP
    • Mail
    • Samba
    • SSH
    • Version Control
    • Web Server
  • Solaris
    • System
You are here: Home » Services » Web Server

apache: PHP not working in UserDir

toshiro December 4, 2016 apache: PHP not working in UserDir2016-12-04T14:21:22+00:00 Web Server No Comment
Some versions of Debian based distros (like Ubuntu) disable by default the usage of PHP in userdir websites (http://server/~user). To enable, remove the following lines from /etc/apache2/mods-: <IfModule > <Directory…
Continue Reading »

Permission denied: exec of … failed in apache

toshiro December 3, 2016 Permission denied: exec of … failed in apache2016-12-03T18:31:02+00:00 Web Server No Comment
If apache returns 'Permission denied: exec of <filename> failed' then you are in two possible situations: 1. 'filename' IS A CGI SCRIPT There could be several reasons for this, for…
Continue Reading »

apache: enable .htaccess support

toshiro September 6, 2016 apache: enable .htaccess support2017-03-25T21:00:09+00:00 Web Server No Comment
Do the following in order to enable .htaccess support: 1. Check if the module rewrite_module is loaded: # httpd -M | grep rewrite_module (in FreeBSD) # apachectl -M | grep…
Continue Reading »

apache: fixing ‘config variable XX is not defined’ error

toshiro November 2, 2015 apache: fixing ‘config variable XX is not defined’ error2015-11-02T03:15:29+00:00 Web Server No Comment
PROBLEM: You try to execute from a shell some apache command like this: # apache2 -t -D DUMP_MODULES and you get the following error messages: AH00111: Config variable ${APACHE_LOCK_DIR} is…
Continue Reading »

apache: show loaded modules

toshiro November 25, 2013 apache: show loaded modules2016-09-06T13:19:04+00:00 Web Server No Comment
There are many ways to list the modules currently loaded in an Apache server, here are 2 of them: Method 1: use apachectl Execute from the command line: apachectl -t…
Continue Reading »

Categories

Tags

64bits active directory admin tools apache bind cassandra cheatsheet cpu database debian dlna dns e173 freebsd git grub huawei iso label linux lsof mail mirror modem modules mtools multimedia mysql openldap password pkg ports postfix postgresql raid replication salt samba samba4 solaris ssh troubleshooting ubuntu usb www

Login

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2016 Toshiro Viera Stalker - All rights reserved