XAMPP installation on Win 8.1 with UAC Warning

There are two things you need to check: Ensure that your user account has administrator privilege. Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server. To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and … Read more

lbmethod_heartbeat:notice – No slotmem from mod_heartmonitor –error after installing apache2.4.2 [closed]

On starting the webserver the error_log shows apache configuration: I am getting Forbidden You don’t have permission to access / on this server error This is the error generated in error_log is this error because of lbmethod_heartbeat:notice ?? or there is a permissions misconfiguration on DocumentRoot directory?? but the directive’s configuration is taken from a … Read more

Apache is downloading php files instead of displaying them

The correct AddType for php is application/x-httpd-php Also make sure your php module is loaded When you’re configuring apache then try to view the page from another browser – I’ve had days when chrome stubbornly caches the result and it keeps downloading the source code while in another browser it’s just fine.

Apache and Node.js on the Same Server

Great question! There are many websites and free web apps implemented in PHP that run on Apache, lots of people use it so you can mash up something pretty easy and besides, its a no-brainer way of serving static content. Node is fast, powerful, elegant, and a sexy tool with the raw power of V8 … Read more

How do I disable directory browsing?

Create an .htaccess file containing the following line: That is one option. Another option is editing your apache configuration file. In order to do so, you first need to open it with the command: Then find the line: Options Indexes FollowSymLinks Change that line to: Options FollowSymLinks Lastly save and exit the file, and restart … Read more

purpose of Funnel in NiFi

Well, imagine having 20 of those GenerateFlowFile processors. Imagine having to replace the LogAttribute processor with a different processor. It would be a hard job doing this since they are connected directly to the LogAttribute processor. However, if you had a Funnel between them, you would only need to replace the destination of the Funnel and not all of the processors. … Read more

Adding a user on .htpasswd

Exact same thing, just omit the -c option. Apache’s docs on it here. htpasswd /etc/apache2/.htpasswd newuser Also, htpasswd typically isn’t run as root. It’s typically owned by either the web server, or the owner of the files being served. If you’re using root to edit it instead of logging in as one of those users, … Read more